improved LSD performance and made the interval configurable

This commit is contained in:
Arvid Norberg
2010-02-05 08:23:17 +00:00
parent 7b0555ae45
commit 088f4bf700
8 changed files with 135 additions and 77 deletions

View File

@@ -3721,6 +3721,7 @@ session_settings
bool drop_skipped_requests;
bool low_prio_disk;
int local_service_announce_interval;
bool volatile_read_cache;
bool guided_read_cache;
bool default_min_cache_age;
@@ -4194,6 +4195,11 @@ overall responsiveness of the system while downloading in the
background. For high-performance server setups, this might not
be desirable.
``local_service_announce_interval`` is the time between local
network announces for a torrent. By default, when local service
discovery is enabled a torrent announces itself every 5 minutes.
This interval is specified in seconds.
``volatile_read_cache``, if this is set to true, read cache blocks
that are hit by peer read requests are removed from the disk cache
to free up more space. This is useful if you don't expect the disk