[bittorrent] Introductory/endgame algorithms

Arvid Norberg c99ang at cs.umu.se
Wed Sep 28 18:03:27 EDT 2005

On Sep 28, 2005, at 23:17, Justin Cormack wrote:
> On 28 Sep 2005, at 22:09, Arvid Norberg wrote:
>> Assuming you support files larger than the address space of the
>> machine (2 GB for an ordinary 32-bit machine), how do you do your  
>> mmap?
>> Do you move it around to parts of the files that gets the most read
>> and write requests and use ordinary io for the rest? or do you create
>> and free the mmap() for each read/write operation? (do you have any
>> idea if that would incur big performance hits?).
> Buy a 64 bit machine.

Already got that, but I don't write software solely for my own machine.

> However the overhead of mmap is rarely worth it even then.

I see.

Arvid Norberg

More information about the BitTorrent mailing list