merge max allowed outstanding piece requests from peers from RC_0_16
This commit is contained in:
parent
89b6c51725
commit
b754e5391a
|
@ -24,6 +24,7 @@
|
||||||
* fix uTP edge case where udp socket buffer fills up
|
* fix uTP edge case where udp socket buffer fills up
|
||||||
* fix nagle implementation in uTP
|
* fix nagle implementation in uTP
|
||||||
|
|
||||||
|
* increase max allowed outstanding piece requests from peers
|
||||||
* uTP performance improvement. only fast retransmit one packet at a time
|
* uTP performance improvement. only fast retransmit one packet at a time
|
||||||
* improve error message for 'file too short'
|
* improve error message for 'file too short'
|
||||||
* fix piece-picker stat bug when only selecting some files for download
|
* fix piece-picker stat bug when only selecting some files for download
|
||||||
|
|
|
@ -98,6 +98,8 @@ namespace libtorrent
|
||||||
|
|
||||||
set.alert_queue_size = 100;
|
set.alert_queue_size = 100;
|
||||||
|
|
||||||
|
set.max_allowed_in_request_queue = 100;
|
||||||
|
|
||||||
// setting this to a low limit, means more
|
// setting this to a low limit, means more
|
||||||
// peers are more likely to request from the
|
// peers are more likely to request from the
|
||||||
// same piece. Which means fewer partial
|
// same piece. Which means fewer partial
|
||||||
|
@ -186,6 +188,9 @@ namespace libtorrent
|
||||||
// plenty of bandwidth
|
// plenty of bandwidth
|
||||||
set.mixed_mode_algorithm = session_settings::prefer_tcp;
|
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
|
// we will probably see a high rate of alerts, make it less
|
||||||
// likely to loose alerts
|
// likely to loose alerts
|
||||||
set.alert_queue_size = 50000;
|
set.alert_queue_size = 50000;
|
||||||
|
@ -1179,8 +1184,8 @@ namespace libtorrent
|
||||||
, piece_timeout(20)
|
, piece_timeout(20)
|
||||||
, request_timeout(50)
|
, request_timeout(50)
|
||||||
, request_queue_time(3)
|
, request_queue_time(3)
|
||||||
, max_allowed_in_request_queue(250)
|
, max_allowed_in_request_queue(500)
|
||||||
, max_out_request_queue(200)
|
, max_out_request_queue(500)
|
||||||
, whole_pieces_threshold(20)
|
, whole_pieces_threshold(20)
|
||||||
, peer_timeout(120)
|
, peer_timeout(120)
|
||||||
, urlseed_timeout(20)
|
, urlseed_timeout(20)
|
||||||
|
|
Loading…
Reference in New Issue