merge max allowed outstanding piece requests from peers from RC_0_16

This commit is contained in:
Arvid Norberg 2013-09-18 06:50:49 +00:00
parent 89b6c51725
commit b754e5391a
2 changed files with 8 additions and 2 deletions

View File

@ -24,6 +24,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* increase max allowed outstanding piece requests from peers
* uTP performance improvement. only fast retransmit one packet at a time
* improve error message for 'file too short'
* fix piece-picker stat bug when only selecting some files for download

View File

@ -98,6 +98,8 @@ namespace libtorrent
set.alert_queue_size = 100;
set.max_allowed_in_request_queue = 100;
// setting this to a low limit, means more
// peers are more likely to request from the
// same piece. Which means fewer partial
@ -186,6 +188,9 @@ namespace libtorrent
// plenty of bandwidth
set.mixed_mode_algorithm = session_settings::prefer_tcp;
set.max_allowed_in_request_queue = 2000;
set.max_out_request_queue = 1000;
// we will probably see a high rate of alerts, make it less
// likely to loose alerts
set.alert_queue_size = 50000;
@ -1179,8 +1184,8 @@ namespace libtorrent
, piece_timeout(20)
, request_timeout(50)
, request_queue_time(3)
, max_allowed_in_request_queue(250)
, max_out_request_queue(200)
, max_allowed_in_request_queue(500)
, max_out_request_queue(500)
, whole_pieces_threshold(20)
, peer_timeout(120)
, urlseed_timeout(20)