[BitTorrent] Really random?

Olaf van der Spek OvdSpek at LIACS.NL
Wed Jul 14 18:00:35 EDT 2004

----- Original Message ----- 
From: "Arvid Norberg" <c99ang at cs.umu.se>
To: <BitTorrent at yahoogroups.com>
Sent: Wednesday, July 14, 2004 11:47 PM
Subject: Re: [BitTorrent] Really random?

> John Prevost wrote:
> >>This is, roughly, the algorithm I employ in libtorrent, I'm pretty sure
> >>it's the same for all clients supporting this kind of storage.
> >
> >
> > *blink*
> >
> > Well, I can tell you for a fact that neither the standard Python
> > client nor Azureus do it that way.  They just make use of sparse
> > files--they seek to the position of the received data and write it
> > out.  The OS decides whether or not the file is fully allocated to
> > that size or if only the blocks needed for the data actually written
> > are used.  (Both Unices and Windows 2k do support sparse files, not
> > sure about other OSs.)
> Wouldn't it take a long time to scan a file (when resuming) if you just
> got the last piece of, say, a 4 gig file? Or do those clients also ask
> for which parts of the file that are actually writen?

Not longer than if the file was complete.
But smart clients just remember which pieces are valid and don't scan at

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

More information about the BitTorrent mailing list