[bittorrent] Piece download strategy
raysonlogin at gmail.com
Mon Apr 27 21:25:30 EDT 2009
There are many useful links and documents.
Thanks for all the replies!!
On Thu, Apr 23, 2009 at 6:50 PM, <arvid at cs.umu.se> wrote:
> Quoting chris erway <cce at cs.brown.edu>:
>> Libtorrent has "sequential download support"; one of our seminar
>> groups once worked on tweaking its strategy to mix rarest-first with
> In libtorrent svn (trunk) there's a new function called set_piece_deadline(),
> which is expected to be used for mixing in-order download with rarest first.
> What it does is that it makes pieces that are given a deadline be picked from
> the peer that will complete it first. i.e. each peer's request queue and rate
> is taken into account. The average completion time as well as average deviation
> is collected, and pieces with a deadline too far in the future will not be
> pre-empted until the deadline is closer than a timeout based on those
> Arvid Norberg
More information about the BitTorrent