Re: [p2pi] Thoughts on how IETF standards can help P2P/ISPs

Nicholas Weaver <nweaver@ICSI.Berkeley.EDU> Mon, 02 June 2008 16:38 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 70DC33A6BEB; Mon, 2 Jun 2008 09:38:44 -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 76ED028C180 for <p2pi@core3.amsl.com>; Mon, 2 Jun 2008 09:38:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.786
X-Spam-Level:
X-Spam-Status: No, score=-5.786 tagged_above=-999 required=5 tests=[AWL=0.213, BAYES_00=-2.599, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_MED=-4]
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 3C6nt+8c-rST for <p2pi@core3.amsl.com>; Mon, 2 Jun 2008 09:38:42 -0700 (PDT)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11]) by core3.amsl.com (Postfix) with ESMTP id 13F8228C17B for <p2pi@ietf.org>; Mon, 2 Jun 2008 09:38:42 -0700 (PDT)
Received: from [IPv6:::1] (fruitcake [192.150.186.11]) by fruitcake.ICSI.Berkeley.EDU (8.12.11.20060614/8.12.11) with ESMTP id m52GcQt2003570; Mon, 2 Jun 2008 09:38:27 -0700 (PDT)
Message-Id: <94BE4178-F5C8-43F3-882C-8B1E9CB52190@icsi.berkeley.edu>
From: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>
To: Laird Popkin <laird@pando.com>
In-Reply-To: <1865369468.307061212422766942.JavaMail.root@dkny.pando.com>
Mime-Version: 1.0 (Apple Message framework v924)
Date: Mon, 02 Jun 2008 09:38:26 -0700
References: <1865369468.307061212422766942.JavaMail.root@dkny.pando.com>
X-Mailer: Apple Mail (2.924)
Cc: p2pi@ietf.org, ramit@pando.com, Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>, p4pwg@yahoogroups.com
Subject: Re: [p2pi] Thoughts on how IETF standards can help P2P/ISPs
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

On Jun 2, 2008, at 9:06 AM, Laird Popkin wrote:
>
>
> - Allow applications to tag some traffic as 'not time sensitive' so  
> that ISPs can manage bulk traffic as lower priority than time- 
> sensitive traffic. There would need to be a benefit to the  
> application for doing so, such as excluding such traffic from ISP  
> capacity limits.

I actually think the opposite ("tag as priority") is better, because  
its easy to do "tag & cap" and the incentives match up better.

Here's why...


There is no benefit to saying "I'm worse than best effort", because  
any application who's worse-than-best effort can always use a  
friendlier than TCP congestion control ( http://www.icir.org/floyd/tcp_small.html 
  has a list), have the same effect on the network, and suddenly go  
unnoticed in moments of congestion without requiring network support  
for QoS to be enabled.

Given the problems users are experiencing with BitTorrent just on  
their own network ( http://www.formortals.com/Home/tabid/36/EntryID/57/Default.aspx 
  , http://tech.slashdot.org/article.pl?sid=08/05/24/1859218 ), there  
actually seems to be some incentive in place for the bulk-data P2P  
developers to use one of the existing off-the-shelf solutions for  
friendlier-than-TCP behavior (note, this is something I was WRONG on  
earlier, as I thought there was no incentive), and if they don't have  
incentive to use friendlier-than-TCP, why would they have incentive to  
mark as 'not time sensitive', as they would accomplish the same  
thing.  [1]



However there is a benefit to saying "I'm better than best effort",  
for applications like VoIP or online games, or even the non-image  
portions of your HTTP requests.  ISPs can spend a lot of effort using  
packet analysis to determine these flows, or just rely on the  
endpoints to get it right.


There is no benefit to cheating, IF the network enforces a cap on the  
number of (packets/bytes) sent with priority per (ms/sec/minute/hour),  
as the measurement is relatively easy to enforce (1 memory lookup/ 
update per packet, and because its only high-volume users which have  
an incentive to cheat, you can easily use a small LRU cache for  
addresses).



[1] It might be the role of the OS to implement some of this.  EG,  
coupling AIMD across all flows of an application, combined with some  
more detailed RTT-based congestion control a'la TCP Vegas, again  
correlating across multiple flows)

_______________________________________________
p2pi mailing list
p2pi@ietf.org
https://www.ietf.org/mailman/listinfo/p2pi