Changeset 9414


Ignore:
Timestamp:
Oct 27, 2009, 4:08:38 PM (13 years ago)
Author:
charles
Message:

(trunk libT) There seems to be a lot of talk about T hosing routers, preventing other network traffic, etc. As an experiment let's try reducing the number of new connections we allow per second and see if/how that affects performance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r9387 r9414  
    6464
    6565    /* max # of peers to ask fer per torrent per reconnect pulse */
    66     MAX_RECONNECTIONS_PER_PULSE = 16,
     66    MAX_RECONNECTIONS_PER_PULSE = 8,
    6767
    6868    /* max number of peers to ask for per second overall.
    6969    * this throttle is to avoid overloading the router */
    70     MAX_CONNECTIONS_PER_SECOND = 32,
     70    MAX_CONNECTIONS_PER_SECOND = 16,
    7171
    7272    /* number of bad pieces a peer is allowed to send before we ban them */
Note: See TracChangeset for help on using the changeset viewer.