Re: [ledbat] list of reasons for needing multiple TCP connections

Richard Bennett <richard@bennett.com> Mon, 01 December 2008 23:00 UTC

Return-Path: <ledbat-bounces@ietf.org>
X-Original-To: tana-archive@ietf.org
Delivered-To: ietfarch-tana-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2D1073A6BB5; Mon, 1 Dec 2008 15:00:18 -0800 (PST)
X-Original-To: ledbat@core3.amsl.com
Delivered-To: ledbat@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EB69D28C136 for <ledbat@core3.amsl.com>; Mon, 1 Dec 2008 15:00:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level:
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334]
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 cavNmp0x+zox for <ledbat@core3.amsl.com>; Mon, 1 Dec 2008 15:00:15 -0800 (PST)
Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by core3.amsl.com (Postfix) with SMTP id 7A4253A67AD for <ledbat@ietf.org>; Mon, 1 Dec 2008 15:00:15 -0800 (PST)
Received: (qmail 27508 invoked by uid 0); 1 Dec 2008 23:00:09 -0000
Received: from unknown (HELO host46.hostmonster.com) (74.220.202.46) by outboundproxy1.bluehost.com with SMTP; 1 Dec 2008 23:00:09 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bennett.com; h=Received:Message-ID:Date:From:Organization:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:X-Identified-User; b=dVt7M3IvzsEhb6kZ5Rw7lTO8cMIH9Fgo3R2OW39oX5+w3jsbh05dt/to5djeJv1QvRoXZP0qNRZf3RLFvWQ2qG2SpzyM5VmLFJSl2c47NF9fop2S+OjWVq1ppfT/KOV7;
Received: from adsl-69-107-1-212.dsl.pltn13.pacbell.net ([69.107.1.212] helo=[192.168.1.4]) by host46.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <richard@bennett.com>) id 1L7HkO-0006xa-7M; Mon, 01 Dec 2008 16:00:08 -0700
Message-ID: <49346C79.8090308@bennett.com>
Date: Mon, 01 Dec 2008 15:00:09 -0800
From: Richard Bennett <richard@bennett.com>
Organization: Network Strategies
User-Agent: Thunderbird 2.0.0.18 (X11/20081119)
MIME-Version: 1.0
To: Robb Topolski <robb@funchords.com>
References: <4925BDEE.6090101@isi.edu> <8c99930d0811201206yb0ef259v28c361438cb14773@mail.gmail.com> <DC2CEB0C-4C70-42CD-8ADE-AFF4E45B1915@shlang.com> <C3E8A5B2-16BE-47FD-9DD9-5AFCBA6BEBED@nokia.com> <492F27F3.3020309@bennett.com> <3efc39a60812011438s71066079s4b467eab43d7a998@mail.gmail.com>
In-Reply-To: <3efc39a60812011438s71066079s4b467eab43d7a998@mail.gmail.com>
X-Identified-User: {842:host46.hostmonster.com:bennett1:bennett.com} {sentby:smtp auth 69.107.1.212 authed with richard@bennett.com}
Cc: "ledbat@ietf.org" <ledbat@ietf.org>
Subject: Re: [ledbat] list of reasons for needing multiple TCP connections
X-BeenThere: ledbat@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Mailing list of the LEDBAT WG <ledbat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ledbat>, <mailto:ledbat-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/ledbat>
List-Post: <mailto:ledbat@ietf.org>
List-Help: <mailto:ledbat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ledbat>, <mailto:ledbat-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1311532245=="
Sender: ledbat-bounces@ietf.org
Errors-To: ledbat-bounces@ietf.org

Au contraire, Robb, in the course of a 24 hour period you will typically 
see a total of well over 4000 NAT table entries for BitTorrent when it's 
in use. The fact that BitTorrent doesn't use all the thousands at the 
same time isn't the issue, it's the fact that a mapping entry has to be 
made in the table each time a packet is sent from an end system behind 
the NAT to one in front of the NAT. TCP is actually more friendly to 
this problem than UDP, because it give the NAT a clue about when it's 
safe to free an entry. Stateless  UDP is much more of a problem.

RB

Robb Topolski wrote:
>
>
>     Most home "routers" have all been modified by now not to crash
>     when BitTorrent has opened thousands of TCP connections. These
>     connections consume mapping table resources and were a problem
>     until it they were garbage-collected.
>
>
> I claim to have no handle on what "most" home routers do, but I doubt 
> this assertion.
>
> NAT table size continues to be a problem with NAT limit, and not 
> because BitTorrent typically opens thousands of TCP connections (it 
> doesn't, nor do trackers generally provide the thousands of peer 
> addresses necessary to go with those connections), but because the 
> combination of the UDP-based DHT in addition to 100 TCP connections 
> and a decent amount of WAN-LAN traffic is enough to overcome NAT 
> tables in popular routers being sold today. 
>
> http://www.smallnetbuilder.com/component/option,com_chart/Itemid,189/chart,124/
> (note 200 is the upper limit of their test method, but of use to this 
> message is the number and market position of routers that support less 
> than 200)
>
> Belkin's F5D8232-4 is 41st in Amazon's sales rank for "routers" and 
> maxed out at 180 connections.
> Netgear FVS124G is 14th in "gigabit routers" and maxes out at 196.
> Apple's BL053LL/A is 1st in "gigabit routers" and maxes out at 128.
>
> Do they crash?  Beats me.  But NAT table size limit is definitely a 
> consideration.  The behaviors when those limits are reached are varied 
> and, even on some recently sold equipment, sometimes less than 
> graceful. One of the most common failure modes I've run across is that 
> DNS Relay stops working or the configuration pages stop responding 
> while pre-existing connections continue uninterrupted!  (I'm guessing 
> that the daemons supporting these functions either get killed or lack 
> enough memory to do anything, they themselves are shut out of the NAT 
> table, or maybe they won't launch when CPU load is greater than some 
> amount.) 
>
> I think it continues to deserve inclusion.  If someone has data to the 
> contrary, please bring it.
>
>
> -- 
> Robb Topolski (robb@funchords.com <mailto:robb@funchords.com>)
> Hillsboro, Oregon USA
> http://www.funchords.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> ledbat mailing list
> ledbat@ietf.org
> https://www.ietf.org/mailman/listinfo/ledbat
>   

-- 
Richard Bennett

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