Re: [tsvwg] inband signaling

Toerless Eckert <tte@cs.fau.de> Mon, 19 March 2018 11:19 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED36B127599 for <tsvwg@ietfa.amsl.com>; Mon, 19 Mar 2018 04:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.96
X-Spam-Level:
X-Spam-Status: No, score=-3.96 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fiUiW67E0zMd for <tsvwg@ietfa.amsl.com>; Mon, 19 Mar 2018 04:19:57 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87895126FDC for <tsvwg@ietf.org>; Mon, 19 Mar 2018 04:19:51 -0700 (PDT)
Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id F22AF58C51A; Mon, 19 Mar 2018 12:19:46 +0100 (CET)
Received: by faui40p.informatik.uni-erlangen.de (Postfix, from userid 10463) id D4E12B0DD88; Mon, 19 Mar 2018 12:19:46 +0100 (CET)
Date: Mon, 19 Mar 2018 12:19:46 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Lin Han <Lin.Han@huawei.com>
Cc: Emmanuel Lochin <emmanuel.lochin@isae-supaero.fr>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Message-ID: <20180319111946.GB23024@faui40p.informatik.uni-erlangen.de>
References: <CABY-gOO8sH3+5qfFj7DV6wh6+uX8CyBfwo4FBLi=9x1RngQDHg@mail.gmail.com> <AM5PR0701MB25474AC4A52E38B43E543FA193DA0@AM5PR0701MB2547.eurprd07.prod.outlook.com> <CABY-gOMJf-4GKkbmYMJScrafO44NEfy0hoq5KXJ0uVA+QUXGiA@mail.gmail.com> <050065D2-5F2E-4E79-9BD1-E1DC03F13900@acm.org> <5AA79C2E.1040808@erg.abdn.ac.uk> <20180313164928.GA17042@faui40p.informatik.uni-erlangen.de> <AM5PR0701MB2547C46DDFBD295F34989C0D93D70@AM5PR0701MB2547.eurprd07.prod.outlook.com> <1D30AF33624CDD4A99E8C395069A2A162CDBBA47@sjceml521-mbs.china.huawei.com> <ea438eb4-314f-4436-9e74-6e954cbcb2e5@isae-supaero.fr> <1D30AF33624CDD4A99E8C395069A2A162CDBDE8F@sjceml521-mbs.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <1D30AF33624CDD4A99E8C395069A2A162CDBDE8F@sjceml521-mbs.china.huawei.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Q_eho8s5xldxax2MT4JZeOTfN9c>
Subject: Re: [tsvwg] inband signaling
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
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>
X-List-Received-Date: Mon, 19 Mar 2018 11:20:00 -0000

Lin, Emmanuel:

This is all great deal, but shouldn't we try to up level this ?

In one instance we should just claim that the inband signaling
can easily support a variety of existing PHB/DSCP options we have
standardized. Such as the AF options with its resulting differences
in marking. It looks to me as if the discus you have is about the
AF model, but if i am wrong, maybe just circle back to which
existing marking model we're referring.

And of course, it would be worthwhile to document which parameters
of the inband signaling would be needed to support which currently
defined PHB/DSCP option.

If we are talking about some additional, new & better PHB/marking
strategy we see as useful, it would look more logical to me to
introduce describe this independent of an inband signaling option,
but of course, then also describe which parameters of the
inband signaling are required to support it.

[ Just wanting to avoid the impression as if the inband signaling
  is kinda trying to reinvent the IETF QoS universe, when in effekt
  its really about a more lightweight,faster,scalable and simplified
  alternative to RSVP signaling possible through the evolution
  of NPU technologies. ]

Cheers
    Toerless

On Mon, Mar 19, 2018 at 11:03:06AM +0000, Lin Han wrote:
> Hi, Emmanuel
> 
> Thanks for your comments.
> 
> I guess everyone agrees the color of the packets for different range of rate of traffic : GREEN (rate<CIR); YELLOW (CIR<rate<PIR); and RED (rate>PIR).
> 
> Right now, our argument is the policy for traffic management at the hardware.
> Our current TM policy is that
> 
> 1.      Transmit GREEN, all time even when the egress buffer exceeds the pre-configured threshold
> 
> 2.      Transmit YELLOW if the egress buffer is less than the threshold, discard YELLOW if buffer depth exceeds the threshold
> 
> 3.      Discard the RED at the ingress, we drop it as early as possible to reduce the system burden in switch fabric.
> 
> Since CURRENTLY the RED packet will be dropped at the ingress, to prevent the re-transmit of RED packet and reduce the associated latency, we will do rate limit to the host to below the PIR in our CC algorithm. This can reduce the buffer bloat at egress, and reduce possible congestion and thus reduce all NEW TCP flow's worst case latency.
> 
> If we allow RED at the ingress, what should be behavior at egress, and how to differentiate it with YELLOW? Unless we introduce two thresholds, one for YELLOW and one for RED. This may have more complexity at hardware. In the implementation, buffer depth exceeding the threshold is also an indication of possible congestion, we have to report this as warning to host by OAM. BTW, in our implementation, all NEW TCP  share same egress buffer.
> 
> Literally PIR already means the maximum rate allowed, do we want to give more freedom (may still pass) to user? Actually, If user think the exceeding PIR cause drop may impact its throughput, he can easily increase PIR to get higher throughput.
> 
> I totally understand to allow RED will have higher link utilization for the flow, but the utilization is not the only target the design has to consider. Actually, we think the link utilization is the target of traditional TCP, the buffer bloat and latency should have higher priority in our design for NEW TCP.
> 
> I want to make it clear, our current CC algorithm is to adapt the current TM policy. We can easily change the TM design and CC algorithm. I want to hear what community thinks in this regard.
> 
> 
> 
> Regards
> 
> Lin
> 
> 
> 
> From: Emmanuel Lochin [mailto:emmanuel.lochin@isae-supaero.fr]
> Sent: Monday, March 19, 2018 2:20 AM
> To: tsvwg@ietf.org; Lin Han <Lin.Han@huawei.com>
> Subject: Re: [tsvwg] inband signaling
> 
> Dear Lin,
> 
> Looking at your scheme below, I reckon the choice to limit the cwnd progression at PIR must be optional as this could be inadequate following the policy used. For instance : if you used a two-rate three-color marker to policy your traffic (basically a dual-rate dual token bucket algorithm to assess my traffic against two rate limits) : when conforms to the CIR, the TRTCM marks green, then between CIR and PIR yellow and above the PIR red : authorizing excess traffic if there is room in the network. So you should have the possibility to both optionally discard packets or mark it : and in the second case, you should not limit the cwnd, otherwise this CC won't take benefit of the full capacity.
> 
> EL
> 
> Le 16/03/2018 à 01:59, Lin Han a écrit :
> 
> Hi, Scarf
> 
> 
> 
> For draft-han-tsvwg-cc, we have some assumptions
> 
> 1. User application setup TCP session with a given PIR/CIR,
> 
> 2. Network devices on the path will satisfy such expectation. In details, the traffic with the rate below CIR is always guaranteed to pass, and above PIR will be dropped; If the rate is between PIR and CIR, the traffic may be competing with others to get the resource.
> 
> This draft try to propose what we should change for the current CC for above scenarios, the picture below may explain more clearly for what is the difference of new algorithm with reno:
> 
> [cid:image001.png@01D3BF2F.7F30A960]
> 
> 
> 
> 
> 
> -----Original Message-----
> From: tsvwg [mailto:tsvwg-bounces@ietf.org] On Behalf Of Scharf, Michael (Nokia - DE/Stuttgart)
> Sent: Thursday, March 15, 2018 5:34 PM
> To: Toerless Eckert <tte@cs.fau.de><mailto:tte@cs.fau.de>; Gorry Fairhurst <gorry@erg.abdn.ac.uk><mailto:gorry@erg.abdn.ac.uk>
> Cc: Thomas Nadeau <tnadeau@lucidvision.com><mailto:tnadeau@lucidvision.com>; tcpm@ietf.org<mailto:tcpm@ietf.org>; tsvwg@ietf.org<mailto:tsvwg@ietf.org>; tsvwg-chairs@ietf.org<mailto:tsvwg-chairs@ietf.org>; Katsushi Kobayashi <ikob@acm.org><mailto:ikob@acm.org>; Yingzhen Qu <yingzhen.qu@huawei.com><mailto:yingzhen.qu@huawei.com>
> Subject: Re: [tsvwg] inband signaling (was: Re: Agenda requests for TSVWG@IETF101)
> 
> 
> 
> > TCP quickstart really relates IMHO primarily to
> 
> > draft-han-6man-in-band- signaling-for-transport-qos, but not to
> 
> > draft-han-tsvwg-cc. The latter one is
> 
> 
> 
> This is wrong. Section 4.4 in RFC 4782 is very related to draft-han-tsvwg-cc. Of specific interest is e.g. the handling of ssthresh. RFC 4782 also considers packet headers.
> 
> 
> 
> > really meant to modify TCP assuming a known guaranteed CIR - whatever
> 
> > mechanism is used to provide that guarantee.
> 
> >
> 
> > TCP quickstart is an interesting example for inband signaling, which
> 
> > is what Lin's in-band-signaling draft does too. The main difference is
> 
> > that our draft focusses on high-value traffic where per-flow state is
> 
> > feasible and beneficial, if not necessary. And TCP quickstart seems more targeted to ANY TCP flow.
> 
> 
> 
> No. Quick-Start only has benefits if it is enabled by the applications that can indeed leverage it, which is a subset of all TCP flows. If a host naively applies it to any TCP connection, there will be no benefit as most Quick-Start requests will be rejected. So the endpoint has a strong incentive to enable it only on these connections that actually leverage it. Actually doing this is a problem of its own. I have discussed this issue with AR/VR developers 10 years ago and it was non-trivial by then. It would be interesting to learn what has changed since then in the application developer community.
> 
> 
> 
> > Which raises a complete different scalability challenge to TCP quickstart...
> 
> 
> 
> Yep. Quick-Start can be implemented in a router without per-flow state and thus scales e.g. on network processors. 10 years ago we found that the key performance bottleneck in the fast path would be the state-synchronization between the different cores of a network processor. But as Quick-Start does not perform hard guarantees, this can be worked around.
> 
> 
> 
> I am not a hardware expert, any maybe state synchronization between many cores is cheaper these days. But I'd really like to understand how hard QoS guarantees for single TCP connections would be achieved e.g. on modern multi-core network processor (i.e., multiple TBit/s).
> 
> 
> 
> > This type of comparison discussion will go into draft updates on our side...
> 
> >
> 
> > Would be interested in any more data points about the history of TCP
> 
> > quickstart, eg: where it was observed in the wild in deployments.
> 
> 
> 
> In my experiments 10 years ago, there was little performance benefit of Quick-Start as compared to IW10, which was published in RFC 6928. My experiments are published in http://www.ikr.uni-stuttgart.de/Content/Publications/Archive/Sf_Diss_40112.pdf.
> 
> 
> 
> I strongly suggest to compare new congestion control schemes tot CUBIC+IW10 as baseline, and to show how much performance benefit one indeed gets, and at what risk and costs.
> 
> 
> 
> Michael
> 
> 
> 
> 
> 
> --
> 
> Emmanuel LOCHIN
> 
> Professeur ISAE
> 
> ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
> 
> 10 avenue Edouard Belin - BP 54032 - 31055 TOULOUSE CEDEX 4 FRANCE -
> 
> http://www.isae-supaero.fr
> 
> Tel +33 5 61 33 84 85 - Fax (+33) 5 61 33 83 45
> 
> Web : http://personnel.isae.fr/emmanuel-lochin/



-- 
---
tte@cs.fau.de