Re: [hybi] Requirement: extensions and sub protocols
KOMATSU Kensaku <kensaku.komatsu@gmail.com> Fri, 05 March 2010 06:21 UTC
Return-Path: <kensaku.komatsu@gmail.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E60428C1CF for <hybi@core3.amsl.com>; Thu, 4 Mar 2010 22:21:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 97LmIxYOVT5v for <hybi@core3.amsl.com>; Thu, 4 Mar 2010 22:20:28 -0800 (PST)
Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by core3.amsl.com (Postfix) with ESMTP id 03ED128C0D0 for <hybi@ietf.org>; Thu, 4 Mar 2010 22:19:31 -0800 (PST)
Received: by pxi30 with SMTP id 30so2750429pxi.17 for <hybi@ietf.org>; Thu, 04 Mar 2010 22:18:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VOJ2bmK9nZQAHJzZfNJ4IuSIxuKET0+Sa9qa6oVytpU=; b=gBGR+1Y6qkKNnK+xVixvXwSlr+vrgelTbdnCJVgJz7oKS1TL1jMraJaxDvOpobO+FO Otv6PtjxLL2ogEZ1O+OEDdXRrgfbAEvLI2KbD2enQqJRNSPYVZv/MyGtFCUzHSrjDRIS Ae8t0YpfnAbr3MkAB0eDdfqgO+4Jxyi6Batt8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MSd19XlXRTFdAxuerwcWnn7fizbKfPPBS9kIuQfJVjIZUjHXhdxMnWZHGC0D27yn5E 5m+ix9cJR3CzI7zoAJP5YQ/hxNqD3rAV9vc44i7jIQPKe4MO6N4KDKhxJIpJejkxWOwM 9gNBtFtz8JS0ipWJBjuTH5jyAvCjQWtshI7o0=
MIME-Version: 1.0
Received: by 10.141.12.10 with SMTP id p10mr315161rvi.284.1267769918507; Thu, 04 Mar 2010 22:18:38 -0800 (PST)
In-Reply-To: <20100305005716.GB9244@shareable.org>
References: <4B8ECA2D.4050303@ericsson.com> <8e7c686d1003031732wa39f448k1d9286585517c0d8@mail.gmail.com> <20100305005716.GB9244@shareable.org>
Date: Fri, 05 Mar 2010 15:18:38 +0900
Message-ID: <8e7c686d1003042218q63b34131j946080d1dc53ce95@mail.gmail.com>
From: KOMATSU Kensaku <kensaku.komatsu@gmail.com>
To: Jamie Lokier <jamie@shareable.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] Requirement: extensions and sub protocols
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2010 06:23:05 -0000
2010/3/5 Jamie Lokier <jamie@shareable.org>: >> RTT measurements between client and server will be required for some >> extensions or sub-protocol. For example, TCP flow-control is so >> sensitive both content-size and RTT, so these two-parameters will be >> useful for some application's negotiation-phase which is better to use >> multiplexing frames in one channel or to use independent channels for >> each frames. > > When you say "use independent channels", do you mean independent TCP > connections? > > Because "channel" is often used to mean the individual flows that are > carried inside a multiplexed connection. > > Assuming you do mean independent TCP connections: Sorry, your assumption is right. I meant "independent TCP connections". I'll take care about this from now on. > Can you say a bit more about the circumstances when an endpoint would > choose to use them instead of multiplexing? What kind of parameter values > are needed for multiple TCPs to be better? > > I have not heard of this before, although I appreciate that multiple > TCPs can be faster than a single shared TCP in some scenarios. (I'm > thinking of bonded-ADSL where each TCP is confined to exactly one of > the links). > > Sometimes 4 TCPs is better than 1, but worse than 100, when you have > 100 individual flows to transport. But I'm not sure how to decide > what to use automatically. > > Note that full end-to-end RTT, including processing latency, can be > measured by applications sending each other messages. > > -- Jamie > Per TCP connection transmission rate is calculated by the formula below. <rate> [Mbps] = 65535 / (125 * RTT[msec] ) (I also assumed that TCP receive buffer size = 64KB (winXP's default value)) This formula is reasonable, in my experience, because either the theory value or the actual measurement value are not so different. For example. RTT : 10msec ... 52Mbps RTT : 15msec ... 35Mbps RTT : 50msec ... 10Mbps RTT : 100msec ... 5Mbps So, if someone wants to provide their service with transmission rate = 10Mbps, 1 tcp connection is enough for RTT < 50msec users. Though, 2 or 3 connection is required for RTT=100msec users. I also agree with multiple connections are confortable for web application developer, because it offeres an appropriate speed in most cases without bothersome control. But this manner requires more connection resources than necessary. Number of TCP connection affects to connection-sensitive equipment, global-NAT, proxy, firewall,load-balancer, servers, .... If we use appropriate number of connection and multiplexing frames for web applications, the system cost can be made low-priced. And I hope that this senario will also pleased network providers. To achieve this senario, preparing some libraries, defining sub-protocol or extentions and making it easier to use will be important. That's why I mentioned this-topic before. For other case, It'll be useful for video service. Because it'll be useful for the decision of the bandwidth of contents automatically. Sincerly --- Kensaku KOMATSU
- [hybi] Requirement: extensions and sub protocols Salvatore Loreto
- Re: [hybi] Requirement: extensions and sub protoc… KOMATSU Kensaku
- Re: [hybi] Requirement: extensions and sub protoc… Jamie Lokier
- Re: [hybi] Requirement: extensions and sub protoc… Jamie Lokier
- Re: [hybi] Requirement: extensions and sub protoc… KOMATSU Kensaku
- Re: [hybi] Requirement: extensions and sub protoc… Greg Wilkins
- Re: [hybi] Requirement: extensions and sub protoc… Salvatore Loreto
- Re: [hybi] Requirement: extensions and sub protoc… Greg Wilkins
- Re: [hybi] Requirement: extensions and sub protoc… Salvatore Loreto
- Re: [hybi] Requirement: extensions and sub protoc… Jamie Lokier
- Re: [hybi] Requirement: extensions and sub protoc… Jamie Lokier
- Re: [hybi] Requirement: extensions and sub protoc… Jamie Lokier
- Re: [hybi] Requirement: extensions and sub protoc… KOMATSU Kensaku