From a75052c19304ed361e18791a8bb5a7ca39d11e4b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 17 Aug 2009 17:33:57 +0000 Subject: [PATCH] increase send buffer watermark in high_performance_seed preset --- src/session.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/session.cpp b/src/session.cpp index c6e9018c0..847e5f6f8 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -218,6 +218,13 @@ namespace libtorrent set.auto_upload_slots = false; + // in order to be able to deliver very high + // upload rates, this should be able to cover + // the bandwidth delay product. Assuming an RTT + // of 500 ms, and a send rate of 10 MB/s, the upper + // limit should be 5 MB + set.send_buffer_watermark = 5 * 1024 * 1024; + // don't retry peers if they fail once. Let them // connect to us if they want to set.max_failcount = 1;