[bittorrent] Introductory/endgame algorithms

Andreas Aardal Hanssen bittorrent at andreas.hanssen.name
Fri Sep 23 08:58:18 EDT 2005

On Fri, 23 Sep 2005, Olaf van der Spek wrote:
>> That does sound like a good approach. I have seen serious trashing when
>> I've got something like 100+ connections downloading the same piece, but
>> solved that problem by randomizing the blocks I download in warmup/endgame
>> mode. Tests show that one peer usually gives me everything fairly quickly,
>> but when several are giving me the same pieces concurrently, randomness
>> ensures that I get one full piece with only about 3-4x overhead. This
>> works very well for warming up also.
>In end-mode, how much requests do you have pending for a single peer?

I always fill up the pipeline whenever I can. If one peer can give me all 
pending blocks fast, it'll save everyone else the bandwidth when the 
pieces are canceled.


Andreas Aardal Hanssen

More information about the BitTorrent mailing list