From 29a523401e25bfa3c811571cdf4c441fad6868f2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 24 Mar 2011 00:50:45 +0000 Subject: [PATCH] bump read_job_every for high performance seeds --- src/session.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/session.cpp b/src/session.cpp index ecb4f8584..9fbe484f7 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -212,6 +212,13 @@ namespace libtorrent // candidates before trying to connect set.dht_upload_rate_limit = 100000; + // we're more interested in downloading than seeding + // only service a read job every 1000 write job (when + // disk is congested). Presumably on a big box, writes + // are extremely cheap and reads are relatively expensive + // so that's the main reason this ratio should be adjusted + set.read_job_every = 1000; + // use 1 GB of cache set.cache_size = 32768 * 2; set.use_read_cache = true;