Maximum Peer-Peer Transfer Rate
Maximum Peer-Peer Transfer Rate
Hi, I m looking to increase the maximum peer-peer transfer rates. Currently the maximum that I can reach is 8182KB/s or roughly 8MB/s on a peer-peer .. If I were to change this , where should I be looking at in the source ?? These rates are without any rates set and I have verified this over multiple runs.
-
- Posts: 552
- Joined: Sun Dec 13, 2009 10:44 pm
Re: Maximum Peer-Peer Transfer Rate
Are you talking only between you and another or you and the swarm as a whole? In either case there are many thing that limit the transfer rates that are outside your control, and those are every step between you and the peers, including your ISPs "distribution"-net and the settings of the other peers. Remember this, you can't get a higher transfer rate than the slowest link in the whole chain.
Re: Maximum Peer-Peer Transfer Rate
On a one-one torrent swarm, with one seeder and one leecher, I am maxing out right nw around 8MB/s .. There were a couple of overflow issues in the bandwidth allocation with limits set to huge numbers .. I had taken care of that and now I am able to go upto more than 50MB/s between me and the whole swarm .. but right now the bottleneck seems to be the peer-peer max transfer rate. You can assume that there are no network restrictions in my situations and all the peers have limits set around hundreds of MB/s .. I was wondering if the peerIoFlush functions were the bottleneck ..
Re: Maximum Peer-Peer Transfer Rate
Found that changing the bandwidth pulse in peer-mgr.c let me go past the previous choke point of 8MB/s .. now i can roughly go till 20MB/s per peer .. but not sure if this would affect stuff when there are more peers .. Does having a small bandwidth pulse and frequently allocating bandwidth affect things when there are more peers ??
Re: Maximum Peer-Peer Transfer Rate
any one here ?? i think its some buffer somewhere that is limiting it .. when i have short bw pulse, i flush out this buffer more per sec and when the bw pulse is long , i flush it out lesser .. and i guess thats what is limiting .. any pointers on where this buffer could be found ??
Re: Maximum Peer-Peer Transfer Rate
You might get a developer response if you open a ticket in trac and post a patch of exactly what your changes where
Re: Maximum Peer-Peer Transfer Rate
Thanks ! I ll do that. I have a patch .. can i open a ticket and attach the patch with it ?? Sorry . new here and i tried going through places to see how I can submit a patch.
Re: Maximum Peer-Peer Transfer Rate
Yes, attach the patch to the ticket.