Re: [hybi] Framing Take VI (a compromise proposal)

Willy Tarreau <w@1wt.eu> Sat, 14 August 2010 06:12 UTC

Return-Path: <w@1wt.eu>
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 56F723A6894 for <hybi@core3.amsl.com>; Fri, 13 Aug 2010 23:12:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.001
X-Spam-Level:
X-Spam-Status: No, score=-3.001 tagged_above=-999 required=5 tests=[AWL=-0.958, BAYES_00=-2.599, HELO_IS_SMALL6=0.556]
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 0PFAhhZI8tNV for <hybi@core3.amsl.com>; Fri, 13 Aug 2010 23:12:24 -0700 (PDT)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by core3.amsl.com (Postfix) with ESMTP id 8F1053A6AD0 for <hybi@ietf.org>; Fri, 13 Aug 2010 23:12:09 -0700 (PDT)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id o7E6Ce3m022307; Sat, 14 Aug 2010 08:12:40 +0200
Date: Sat, 14 Aug 2010 08:12:40 +0200
From: Willy Tarreau <w@1wt.eu>
To: Takeshi Yoshino <tyoshino@google.com>
Message-ID: <20100814061240.GE21003@1wt.eu>
References: <AANLkTi=TBXO_Cbb+P+e2BVfx69shkf8E1-9ywDh_Y+Kz@mail.gmail.com> <AANLkTimJOGWgV6rx5JJYSJMC26OzQzskzVtkYz0L_EAg@mail.gmail.com> <AANLkTim5e0T3wLOnpFXpKtKtg1zAaHtzRUxgYhfCQNOe@mail.gmail.com> <AANLkTim57GC5X0+wHHYZPzgwHo1PbD-8ELC2NMNx9v_T@mail.gmail.com> <AANLkTi=3EE_LnJe8CrJArBZsF9v5JK3j+=L=uxHb2YOT@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <AANLkTi=3EE_LnJe8CrJArBZsF9v5JK3j+=L=uxHb2YOT@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Cc: hybi@ietf.org
Subject: Re: [hybi] Framing Take VI (a compromise proposal)
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: Sat, 14 Aug 2010 06:12:25 -0000

[ a bit off-topic ]

On Sat, Aug 14, 2010 at 02:58:48PM +0900, Takeshi Yoshino wrote:
> > But let me provide some metric about this. As you said, people who mind
> > latency much would turn off NAGLE, so short packets containing, e.g. key
> > stroke of 1 octet would ultimately forms minimum_gap(8) + ethernet(18) +
> > ipv4(20) + tcp(20) + type(1) + len(1) + payload(1) = 69 octet on wire.
> > difference of 7 octets is just 10% increase on wire and
> >
> 
> Pardon me. minimum_gap 8 -> 12 (most modern NICs work with 8, i think, but
> takes number on the 802.3). And, I missed preamble, so s/69 octet/81 octet/.
> 7/81=8.64% increase on occupation on ethernet baseband signal.

The network overhead should be considered at IP level because that's what
most network providers will count. So your 7 more bytes are 50 vs 43, which
means 16%. That said, it's hard to believe that some networks will be loaded
with 1-byte frames to the point of being significant enough. The packet
processing is much more of a concern there.

Regards,
Willy