[BitTorrent] Really random?

Olaf van der Spek OvdSpek at LIACS.NL
Wed Jul 14 18:00:40 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
all.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

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

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the BitTorrent mailing list