Maximum Peer-Peer Transfer Rate

Discussion of Transmission that doesn't fit in the other categories
Post Reply
saw23
Posts: 5
Joined: Sat Jul 16, 2011 10:09 pm

Maximum Peer-Peer Transfer Rate

Post by saw23 »

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.
blacke4dawn
Posts: 552
Joined: Sun Dec 13, 2009 10:44 pm

Re: Maximum Peer-Peer Transfer Rate

Post by blacke4dawn »

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.
saw23
Posts: 5
Joined: Sat Jul 16, 2011 10:09 pm

Re: Maximum Peer-Peer Transfer Rate

Post by saw23 »

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 ..
saw23
Posts: 5
Joined: Sat Jul 16, 2011 10:09 pm

Re: Maximum Peer-Peer Transfer Rate

Post by saw23 »

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 ??
saw23
Posts: 5
Joined: Sat Jul 16, 2011 10:09 pm

Re: Maximum Peer-Peer Transfer Rate

Post by saw23 »

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 ??
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Maximum Peer-Peer Transfer Rate

Post by lazybones »

You might get a developer response if you open a ticket in trac and post a patch of exactly what your changes where
saw23
Posts: 5
Joined: Sat Jul 16, 2011 10:09 pm

Re: Maximum Peer-Peer Transfer Rate

Post by saw23 »

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.
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Maximum Peer-Peer Transfer Rate

Post by lazybones »

Yes, attach the patch to the ticket.
Post Reply