[Libtorrent-devel] performance

Alexey Polyakov polyakov at slyserver.com
Sun May 11 15:01:37 UTC 2008

Josef Drexler wrote:
> On May 11, 2008, at 10:28 AM, Jerker Nyberg wrote:
>> On Sun, 11 May 2008, Goran wrote:
>>> This might be true assuming clients request chunks from you in a 
>>> sequential
>>> order, which they highly likely don't.
>> As far as I understand, each downloader requests a chunk from the 
>> uploader, and then in general download that chunk is sent 
>> sequentially. The next chunk is randomly accessed. That's why the 
>> throughput differ with the chunk sizes. With sequential order the 
>> chunk size shouldn't matter.
> No. Each request is a given 16-KByte piece of a random chunk. While 
> some peers MAY often request consecutive pieces in a chunk, almost all 
> clients will request pieces within the same chunk from multiple peers 
> so as to complete each chunk as fast as possible. That means any peer 
> sends more or less random pieces from the same chunk.
If you have high enough transfer rate with a peer, they will request 
pieces consecutively (often whole chunks and even more than one 
consequent chunk).

More information about the Libtorrent-devel mailing list