Rarest first and choke algorithms are enough

Legout, Arnaud; Urvoy-Keller, Guillaume; Michiardi, Pietro
INRIA Research report (inria-00001111, version 1-13, February 2006)

The performance of peer-to-peer file replication comes from its piece and peer selection strategies. Two such strategies have been introduced by the BitTorrent protocol: the rarest first and choke algorithms. Whereas it is commonly admitted that BitTorrent performs well, recent studies have proposed the replacement of the rarest first and choke algorithms in order to improve efficiency and fairness. In this paper, we advocate that the replacement of the rarest first and choke algorithms cannot be justified in the context of peer-to-peer file replication in the Internet based on real experiments. We instrumented a BitTorrent client and ran experiments on real torrents with different characteristics. Our experimental evaluation is peer oriented, instead of tracker oriented, which allows us to get detailed information on all exchanged messages and protocol events. We go beyond the mere observation of the good efficiency of both algorithms. We show that the rarest first algorithm guarantees a diversity of the pieces among peers close to the ideal one. In particular, on our experiments, a replacement of the rarest first algorithm with a source or network coding solution cannot be justified. We also show that the choke algorithm in its latest version fosters reciprocation and is robust to free riders. In particular, the choke algorithm is fair and its replacement with a bit level tit-for-tat solution is not appropriate. Finally, we identify new areas of improvements for efficient peerto- peer file replication protocols.

Sécurité numérique
Eurecom Ref:
© INRIA. Personal use of this material is permitted. The definitive version of this paper was published in INRIA Research report (inria-00001111, version 1-13, February 2006) and is available at :

PERMALINK : https://www.eurecom.fr/publication/1932