Re: [conex] byte vs packet counting

John Leslie <john@jlc.net> Thu, 15 December 2011 20:07 UTC

Return-Path: <john@jlc.net>
X-Original-To: conex@ietfa.amsl.com
Delivered-To: conex@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D68021F8A96 for <conex@ietfa.amsl.com>; Thu, 15 Dec 2011 12:07:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.485
X-Spam-Level:
X-Spam-Status: No, score=-106.485 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JR2mjN+-y2WF for <conex@ietfa.amsl.com>; Thu, 15 Dec 2011 12:07:01 -0800 (PST)
Received: from mailhost.jlc.net (mailhost.jlc.net [199.201.159.4]) by ietfa.amsl.com (Postfix) with ESMTP id 63EE821F8A35 for <conex@ietf.org>; Thu, 15 Dec 2011 12:07:01 -0800 (PST)
Received: by mailhost.jlc.net (Postfix, from userid 104) id 5637A33C20; Thu, 15 Dec 2011 15:07:01 -0500 (EST)
Date: Thu, 15 Dec 2011 15:07:01 -0500
From: John Leslie <john@jlc.net>
To: Toby Moncaster <toby.moncaster@cl.cam.ac.uk>
Message-ID: <20111215200701.GA26608@verdi>
References: <20111121203356.GG22465@verdi> <201111212314.pALNEhvZ013554@bagheera.jungle.bt.co.uk> <20111122001928.GH22465@verdi> <82AB329A76E2484D934BBCA77E9F524924B97E81@Polydeuces.office.hd> <20111202232051.GH31463@verdi> <Prayer.1.3.4.1112031010520.17047@hermes-2.csi.cam.ac.uk> <20111205230153.GC39149@verdi> <9BD81879-81A2-4EF0-A60B-F541D0BA418B@cl.cam.ac.uk> <201112132012.pBDKCokX014681@bagheera.jungle.bt.co.uk> <6342D66E-6525-49D4-9DD9-3713230F2303@cl.cam.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <6342D66E-6525-49D4-9DD9-3713230F2303@cl.cam.ac.uk>
User-Agent: Mutt/1.4.1i
Cc: ConEx IETF list <conex@ietf.org>
Subject: Re: [conex] byte vs packet counting
X-BeenThere: conex@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Congestion Exposure working group discussion list <conex.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/conex>, <mailto:conex-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/conex>
List-Post: <mailto:conex@ietf.org>
List-Help: <mailto:conex-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/conex>, <mailto:conex-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Dec 2011 20:07:02 -0000

Toby and Bob raise a number of points I will follow-up in separate threads,
but one point deserves to be in this thread.

Toby Moncaster <toby.moncaster@cl.cam.ac.uk> wrote:
> On 13 Dec 2011, at 20:12, Bob Briscoe wrote:
>> At 09:50 06/12/2011, Toby Moncaster wrote:
>> 
>>> The whole core of this argument (should you account for bytes or
>>> packets) has always been a major bone of contention between me and
>>> Bob. Not least because it can be impossible for a sender to comply
>>> (it is very easy to construct pathological sequences of packets
>>> where the sender is forced to either over or under declare if they
>>> are doing per-byte auditing). I think this is a case where the
>>> IETF view has to diverge from the researcher's view. In the IETF
>>> we have to make prosaic engineering decisions. Personally I would
>>> like ConEx to account on a per-packet basis, BUT with an allowance
>>> for it to be more accurate if an operator so wishes
>> 
>> [BB]: that's my position too.
>> Assuming "more accurate" means per-byte.
> 
> That was my implication, yes ;)

   I must dissent on calling per-byte "more accurate" than per-packet
when the number of packets is clearly defined and the number of bytes
is inferred (and in at least some cases, inaccurate).

   Bob seems immovable in his belief that per-byte accounting is
"more correct", despite a number of posts showing cases where the
per-packet overhead dominates.

   I feel just as immovable in claiming that neither will _always_
dominate. I prefer counting packets because it's simpler; I'm willing
to count bytes if a clear benefit is demonstrated during Experimental
phase.

   Thus it's time for a specific proposal in compromise.

   I propose that the ConEx Destination Option carry a 16-bit field
for byte-count, and this field be optional -- both for the sender to
fill or not, and for any node along the path to check or not.

   Thus, during the Experimental phase, any sender could set it and
see what changes (if anything); and any node along the path could
gather data on actual variations in this number and draw conclusions
about potential benefits of its use.

   IMHO, unless senders voluntarily set it and at least some nodes
voluntarily use it, there _can_be_ no benefit. But I'm willing to
leave the field in place against a possible future use. (I hope to
live long enough to see 4k packets become common in the wild; this
could expose a greater benefit from considering bytes per packet.)

   I'm not willing to "go along" with Bob on _inferring_ a byte count
and calling that more accurate; but I'm willing to accept an explicit
byte count with exact details of how the auditing function may use
it left for future work.

--
John Leslie <john@jlc.net>