Re: [p2pi] Refining the ALTO problem statement

John Leslie <john@jlc.net> Mon, 16 June 2008 17:39 UTC

Return-Path: <p2pi-bounces@ietf.org>
X-Original-To: p2pi-archive@ietf.org
Delivered-To: ietfarch-p2pi-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 398413A6AE4; Mon, 16 Jun 2008 10:39:13 -0700 (PDT)
X-Original-To: p2pi@core3.amsl.com
Delivered-To: p2pi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5D0403A6AE4 for <p2pi@core3.amsl.com>; Mon, 16 Jun 2008 10:39:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.328
X-Spam-Level:
X-Spam-Status: No, score=-2.328 tagged_above=-999 required=5 tests=[AWL=0.271, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FmbhE1OZ29EX for <p2pi@core3.amsl.com>; Mon, 16 Jun 2008 10:39:11 -0700 (PDT)
Received: from mailhost.jlc.net (mailhost.jlc.net [199.201.159.9]) by core3.amsl.com (Postfix) with ESMTP id 447853A6977 for <p2pi@ietf.org>; Mon, 16 Jun 2008 10:39:11 -0700 (PDT)
Received: by mailhost.jlc.net (Postfix, from userid 104) id 5940833C4C; Mon, 16 Jun 2008 13:39:53 -0400 (EDT)
Date: Mon, 16 Jun 2008 13:39:53 -0400
From: John Leslie <john@jlc.net>
To: Spencer Dawkins <spencer@wonderhamster.org>
Message-ID: <20080616173953.GF3759@verdi>
References: <7335188A-BA0A-48E6-9D6B-9E4F6F09A4C6@nokia.com> <00b601c8cfb5$3aa68180$6401a8c0@china.huawei.com>
Mime-Version: 1.0
Content-Disposition: inline
In-Reply-To: <00b601c8cfb5$3aa68180$6401a8c0@china.huawei.com>
User-Agent: Mutt/1.4.1i
Cc: p2pi@ietf.org
Subject: Re: [p2pi] Refining the ALTO problem statement
X-BeenThere: p2pi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: P2P Infrastructure Discussion <p2pi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/p2pi>, <mailto:p2pi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/p2pi>
List-Post: <mailto:p2pi@ietf.org>
List-Help: <mailto:p2pi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/p2pi>, <mailto:p2pi-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: p2pi-bounces@ietf.org
Errors-To: p2pi-bounces@ietf.org

Spencer Dawkins <spencer@wonderhamster.org> wrote:
> 
> My understanding of what Lars is concerned about, is the idea of using
> an oracle to provide guidance about path characteristics on a timescale
> of less than many, many RTTs. He's concerned that a transmitter can
> respond to "good news" about a path from an oracle more quickly than
> the oracle can recognize that a transmitter has rapidly ramped up its
> transmit rate and start telling senders what it's seeing.

   For a number of reasons, oracles _could_ be in a better position to
know path characteristics. Congestion along a path tends to be concentrated
at relatively few points along the path. Peers know what they're seeing
(instantaneously) over the whole path, but generally lack any understanding
about subpaths.

> My understanding of the discussion between John and Lars in this thread
> is that one key question is whether guidance about path selection has any 
> relationship with congestion avoidance, detection, and recovery, or not.
> 
> If I tell Lars "this path is usually uncongested on Saturday night", and
> he starts a large transfer on Saturday night, what does he do when he 
> encounters congestion?
> 
> - ignore it and keep transmitting as if the path was really uncongested 
>   (wrong answer!),

   Agreed.

> - look for another path (but the guidance was that this is the best path 
>   most of the time), or

   Abandoning the path based on instantaneous congestion may be wrong.
Trying an alternate as an additional option may be wise.

> - stay on this path and do TCPish loss-based bandwidth probing (even if
>   the problem is that Magnus ALSO saw "this path is usually uncongested
>   on Saturday night" and also selected this path for a large transfer

   It is reasonable to expect P2P applications to learn how to use more
than one remote peer at a time. Statistical information is never a
guarantee that you'll see exactly the predicted situation.

   (An ISPs oracle could, in principle, downgrade a recommendation after
it has been issued to some number of customers. However, that is an
implementation detail, and I don't mean to recommend it.)

>   - and this is even funnier if Magnus was congesting all the other
>   paths LAST Saturday night, and decided to switch to this path
>   "because it was uncongested")

   The world is, indeed, stranger than we _can_ imagine...

> It seems helpful to discuss what the strategy is before we get very far
> into how the strategy might work...

   P2P applications need not all use the same strategy for identifying
congestion, nor even for responding to it. However, it is arguably
"TCP-friendly" to switch half your bandwidth to an alternate path when
congestion is experienced...

--
John Leslie <john@jlc.net>
_______________________________________________
p2pi mailing list
p2pi@ietf.org
https://www.ietf.org/mailman/listinfo/p2pi