Re: [Tsvwg] A coment on "draft-briscoe-tsvwg-relax-fairness-00" re file-sharing

Bob Briscoe <rbriscoe@jungle.bt.co.uk> Mon, 14 April 2008 12:05 UTC

Return-Path: <tsvwg-bounces@ietf.org>
X-Original-To: tsvwg-archive@optimus.ietf.org
Delivered-To: ietfarch-tsvwg-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8CD123A6903; Mon, 14 Apr 2008 05:05:23 -0700 (PDT)
X-Original-To: tsvwg@core3.amsl.com
Delivered-To: tsvwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C739828C306 for <tsvwg@core3.amsl.com>; Mon, 14 Apr 2008 05:05:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.762
X-Spam-Level:
X-Spam-Status: No, score=-1.762 tagged_above=-999 required=5 tests=[AWL=1.237, BAYES_00=-2.599, J_CHICKENPOX_57=0.6, RCVD_IN_DNSWL_LOW=-1]
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 KwxY+mMipLgC for <tsvwg@core3.amsl.com>; Mon, 14 Apr 2008 05:04:53 -0700 (PDT)
Received: from smtp3.smtp.bt.com (smtp3.smtp.bt.com [217.32.164.138]) by core3.amsl.com (Postfix) with ESMTP id 2703D3A6CE1 for <tsvwg@ietf.org>; Mon, 14 Apr 2008 05:04:53 -0700 (PDT)
Received: from i2kc06-ukbr.domain1.systemhost.net ([193.113.197.70]) by smtp3.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 Apr 2008 13:05:22 +0100
Received: from cbibipnt05.iuser.iroot.adidom.com ([147.149.196.177]) by i2kc06-ukbr.domain1.systemhost.net with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 Apr 2008 13:05:22 +0100
Received: From bagheera.jungle.bt.co.uk ([132.146.168.158]) by cbibipnt05.iuser.iroot.adidom.com (WebShield SMTP v4.5 MR1a P0803.399); id 1208174724513; Mon, 14 Apr 2008 13:05:24 +0100
Received: from mut.jungle.bt.co.uk ([10.73.21.174]) by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id m3EC5Hqm018669; Mon, 14 Apr 2008 13:05:20 +0100
Message-Id: <200804141205.m3EC5Hqm018669@bagheera.jungle.bt.co.uk>
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 14 Apr 2008 13:05:41 +0100
To: Robb Topolski <robb@funchords.com>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
In-Reply-To: <000001c89c55$f14540e0$d1b1a8c0@mshome.net>
References: <000001c89c55$f14540e0$d1b1a8c0@mshome.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
X-OriginalArrivalTime: 14 Apr 2008 12:05:22.0349 (UTC) FILETIME=[D0C42DD0:01C89E27]
Cc: 'IETF Transport Area working group mailing list' <tsvwg@ietf.org>
Subject: Re: [Tsvwg] A coment on "draft-briscoe-tsvwg-relax-fairness-00" re file-sharing
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
Sender: tsvwg-bounces@ietf.org
Errors-To: tsvwg-bounces@ietf.org

Robb,

There's three types of responses to this (expanded below):
a) Could my scenario become common, even if it's not currently prevalent?
b) The discussion is over what the correct fairness /goal/ should be
c) Who is actually correct for the Internet today? (split out into 
next posting)

Anyway, TCP doesn't actually determine capacity sharing for 
residential backhaul links - operators generally use per-user fair 
queuing. This draft merely shows how bad things would be if rate 
equality was the dominant sharing regime (e.g. if, as access speeds 
increased, most congestion moved further into the network where FQ is 
too unscalable, e.g. border links).

a) Could my scenario become common, even if it's not currently prevalent?
---------------------------
The discussion below shows that (as you say) the main reason 
swarmcasting like BitTorrent doesn't open many connections is 
asymmetric access. If you look at the situation in countries like 
Japan (the [Res_p2p] reference), where symmetric 100M FTTH has become 
very prevalent over the last few years, this constraint disappears. 
Campus & enterprise networks are already symmetric.

We're designing protocols today so they will be available in a couple 
of years. We have to look ahead.

b) The discussion is over what the correct fairness /goal/ should be
---------------------------
The draft is about the /combination/ of multiple connections and high 
activity factors. It's designed to show that the /goal/ of equal flow 
rates is not the one we should be pursuing. Even if my figure of 
500-5000 times more traffic intensity is an order of magnitude wrong 
for most of today's Internet, 50-500 times more intensity (or even 
5-50) still shows the original goal of equal flow rates is inappropriate.

I don't mind altering the figures in the draft accordingly, or 
qualifying their applicability.



Bob

At 05:30 12/04/2008, Robb Topolski wrote:
>Comment on
>
>Problem Statement: We Don't Have To Do Fairness Ourselves
>draft-briscoe-tsvwg-relax-fairness-00
>
>
>Dear Working Group members,
>
>Thank you for your time working on this committee and issues such as these.
>
>The above quoted paragraph requires a number of corrections.  This paragraph
>is a basis for the problem statement that follows it -- so getting the basis
>down right is key to analysing the issue and sizing up the problem.  The
>corrections that I hope to effectively communicate seem to me to reduce the
>stated size of the problem.
>
>--Quote--
>Even though file-sharing generally uses TCP, it uses the
>well-known trick of opening multiple connections--currently around
>100 actively transferring over different paths is not uncommon. A
>competing Web application might open a couple of flows at a time, but
>perhaps only actively transfer data 1-10% of the time (its activity
>factor). Combining 50x less flows and 10-100x lower activity factor
>means the traffic intensity from the Web app can be 500-5,000x less.
>However, despite being so much lighter on the network, it gets 50x
>less bit rate through the bottleneck.
>--EndQuote--
>
>I am relatively certain that the draft is talking about BitTorrent above,
>and it unforunately misinterprets what it does.  BitTorrent is the #1 P2P
>File Sharing protocol in use today.  Furthermore, neither #2 P2P file
>sharing protocol ED2K (aka eDonkey, eDonkey2000, eMule, or MFTP) nor #3
>Gnutella (aka G1, G2, or Gnutella2) work like BitTorrent, nor as Briscoe's
>draft described above.
>
>In the case of BitTorrent, between 35-70 TCP connections are generated.
>However, only three or four of these connections are actively transferring
>data.  Therefore, any benefit to the "trick" is erased.  The reason the
>remainder sit idle is described in the specification
>(http://wiki.theory.org/BitTorrentSpecification#Choking_and_Optimistic_Uncho
>king), chief of which is the desire that BitTorrent NOT interfere with TCP
>congestion control.
>
>It is important to remember that P2P users are largely residential users,
>most using connections that are configured with asymmetric connections where
>the maximum download bandwidth allowance is several times that of their
>upload allowance.  In all of the discussions about "fairness" that I've been
>involved in, it has to do with sharing the tiny upload pipe.  Filling the
>generously-configured download pipe is seldom a user fairness concern (it is
>also very difficult to control at the receiving end).  A trend is barely
>beginning toward more symmetrical residential accounts, but it is probably
>too small to accurately determine changes in usage patterns created by it.
>
>That BitTorrent uses "hundreds of connections" that are simultaneously
>active is a common misperception.  While the draft likely did not mean to
>inject emotionalism, the label of "trick" is both inaccurate and
>inflammatory.  The reason that BitTorrent makes these idle connections is to
>allow for one connection to "hunt" for the best reciprocating peer, which
>allows two efficiently located peers to detect and reciprocate with each
>other.  If not interfered with by network operators, this pretty much
>ensures that the lowest-latency peers will eventually find one another and
>engage in a long-term exchange of data.  This is not only fast for the user,
>choosing the most efficient (lowest latency) pairings is friendliest to the
>local ISP network and the Internet as a whole.
>
>All three of the top P2P protocols do open multiple upload connections.
>ED2K seems happiest with 3-4 KB/s upload flows, Gnutella with 10 KB/s upload
>flows, and BitTorrent with anywhere from 3 KB/s to 7 KB/s flows.  Therefore,
>the number of upload flows that a single peer might generate (think
>different archives being sent by the same client simultaneously) is a
>function of dividing the configured upload bandwidth by the amounts
>decribed.
>
>An example:
>
>BitTorrent:  Upload limit set to 20 KB/s, 3-6 upload TCP connections
>(remainder are idle or downloading only)
>ED2K:  Upload limit set to 20 KB/s, 5-6 uploading TCP connections (remainder
>of connections are downloading only or performing light-bandwidth
>housekeeping, such as queue placement requests or updates)
>Gnutella:  Upload limit set to 20 KB/s, 1-2 uploading TCP connections
>(remainder, same as for ED2K).
>
>All three of the above have a UDP component, which is used for searching or
>other light network housekeeping.  There is an emerging use of UDP for "NAT
>hole punching" but these "connections" are still quite rare.
>
>I am happy to answer any questions or further clarify anything that I can.
>
>Sincerely,
>
>Robert M. "Robb" Topolski
>robb@funchords.com

____________________________________________________________________________
Notice: This contribution is the personal view of the author and does 
not necessarily reflect the technical nor commercial direction of BT plc.
____________________________________________________________________________
Bob Briscoe,                           Networks Research Centre, BT Research
B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 1473 645196