Return-Path: william@bourbon.usc.edu
Delivery-Date: Sat Apr 28 08:13:43 2007
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on merlot.usc.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	NO_REAL_NAME autolearn=ham version=3.1.3
Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75])
	by merlot.usc.edu (8.13.5/8.13.5) with ESMTP id l3SFDhe2011288
	for <cs551@merlot.usc.edu>; Sat, 28 Apr 2007 08:13:43 -0700
Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1])
	by bourbon.usc.edu (8.13.5/8.13.5) with ESMTP id l3SFD7UV002908
	for <cs551@merlot>; Sat, 28 Apr 2007 08:13:07 -0700
Message-Id: <200704281513.l3SFD7UV002908@bourbon.usc.edu>
To: cs551@merlot.usc.edu
Subject: Re: End-game mode for BitTorrent 
Date: Sat, 28 Apr 2007 08:13:07 -0700
From: william@bourbon.usc.edu

Someone wrote:

  > Does "based on the uploading rate" here imply that
  > the leeches with lower downstream traffic will
  > be favored by seeder?

Normally, whom to unchoke depends on the "download rate"
of peers.  When a node becomes a seeder, no peer will be
downloading to it.  So, looking at downloadingn rate is
useless.

At this point, looking at "uploading rate" makes sense
because for a seeder, it is good to get its data out as fast
as possible.  So, the higher the peer's upload rate the
better.  Therefore, the policy is to unchoke peers with the
highest upload rates.  (I guess an alternative is to contact
the tracker and see which piece is the rarest in the torrent
and use that as a priority to decide which peer to upload to.
But this requires contactingn the tracker and that's not
desirable.)
--
Bill Cheng // bill.cheng@usc.edu <URL:http://merlot.usc.edu/william/usc/>





  On 4/27/07, william@bourbon.usc.edu <william@bourbon.usc.edu> wrote:
  > Someone wrote:
  >
  >   > On p. 29 of lecture 20, it reads that seeders will
  >   > unchoke peers "based on the uploading rate", then
  >   > "preferring peers which no one else happens to be
  >   > uploading to them at the moment".
  >   >
  >   > Are the two statements counter to each other?
  >
  > I don't think so...  I think the way to interpret the
  > last bullet is:
  >
  >     as a result, this would prefer peers which no one else
  >     happens to be uploading to them at that moment
  >
  > Does this make more sense now?
