Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Rarest First and Choke Algorithms Are Enough

Arnaud Legout 1 Guillaume Urvoy-Keller 2 Pietro Michiardi 2 
1 PLANETE - Protocols and applications for the Internet
Inria Grenoble - Rhône-Alpes, CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : 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 use results from real experiments to 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. 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 close to ideal diversity of the pieces among peers. In particular, on our experiments, replacing the rarest first algorithm with source or network coding solutions 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 peer-to-peer file replication protocols.
Document type :
Reports (Research report)
Complete list of metadata

Cited literature [20 references]  Display  Hide  Download
Contributor : Arnaud Legout Connect in order to contact the contributor
Submitted on : Wednesday, September 6, 2006 - 3:08:07 PM
Last modification on : Wednesday, October 26, 2022 - 8:16:41 AM
Long-term archiving on: : Friday, November 25, 2016 - 11:27:10 AM


  • HAL Id : inria-00001111, version 3



Arnaud Legout, Guillaume Urvoy-Keller, Pietro Michiardi. Rarest First and Choke Algorithms Are Enough. [Research Report] 2006, pp.16. ⟨inria-00001111v3⟩



Record views


Files downloads