Re: [Spud] One bit for latency bandwidth tradeoff

Michael Welzl <michawe@ifi.uio.no> Tue, 26 January 2016 17:12 UTC

Return-Path: <michawe@ifi.uio.no>
X-Original-To: spud@ietfa.amsl.com
Delivered-To: spud@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 998C91A1A04 for <spud@ietfa.amsl.com>; Tue, 26 Jan 2016 09:12:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 CrptCRgwuhIZ for <spud@ietfa.amsl.com>; Tue, 26 Jan 2016 09:12:25 -0800 (PST)
Received: from mail-out5.uio.no (mail-out5.uio.no [IPv6:2001:700:100:10::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F21CF1A905E for <spud@ietf.org>; Tue, 26 Jan 2016 09:12:20 -0800 (PST)
Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from <michawe@ifi.uio.no>) id 1aO7AA-0003fu-Tl; Tue, 26 Jan 2016 18:12:18 +0100
Received: from boomerang.ifi.uio.no ([129.240.68.135]) by mail-mx2.uio.no with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) user michawe (Exim 4.80) (envelope-from <michawe@ifi.uio.no>) id 1aO7AA-0005v9-BD; Tue, 26 Jan 2016 18:12:18 +0100
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Michael Welzl <michawe@ifi.uio.no>
In-Reply-To: <56A7A0A7.4060603@kit.edu>
Date: Tue, 26 Jan 2016 18:12:17 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <3D73E98C-8CB2-4030-8EE9-4872E5BFBE53@ifi.uio.no>
References: <F6C28B32DA084644BB6C8D0BD65B669DBBED91@NKGEML515-MBS.china.huawei.com> <56A73348.70504@kit.edu> <361E6EA9-0886-452D-96B4-A4FC4277A4B9@ifi.uio.no> <56A7A0A7.4060603@kit.edu>
To: "Bless, Roland (TM)" <roland.bless@kit.edu>
X-Mailer: Apple Mail (2.2104)
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 3 msgs/h 2 sum rcpts/h 7 sum msgs/h 4 total rcpts 37553 max rcpts/h 54 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-6.0, required=5.0, autolearn=disabled, RP_MATCHES_RCVD=-1.048, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: 4D3FAB3E373B280139361C8951D32091F5DDA267
X-UiO-SPAM-Test: remote_host: 129.240.68.135 spam_score: -59 maxlevel 80 minaction 2 bait 0 mail/h: 2 total 9005 max/h 17 blacklist 0 greylist 0 ratelimit 0
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/1HyVUgHwNGhthz_tD1rJOWlTJEI>
Cc: spud@ietf.org
Subject: Re: [Spud] One bit for latency bandwidth tradeoff
X-BeenThere: spud@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Session Protocol Underneath Datagrams <spud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spud>, <mailto:spud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spud/>
List-Post: <mailto:spud@ietf.org>
List-Help: <mailto:spud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spud>, <mailto:spud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jan 2016 17:12:27 -0000

Thanks a lot Roland!

More below -

> On 26 Jan 2016, at 17:36, Bless, Roland (TM) <roland.bless@kit.edu> wrote:
> 
> Hi Michael,
> 
> [see comments inline...]
> 
> Am 26.01.2016 um 10:11 schrieb Michael Welzl:
>>> On 26 Jan 2016, at 09:50, Bless, Roland (TM) <roland.bless@kit.edu> wrote:
>>> 
>>> Hi,
>>> 
>>> Am 26.01.2016 um 08:30 schrieb Youjianjie:
>>>> Existing work shows that having a latency-bandwidth trade-off decision
>>>> would be useful.
>>>> 
>>>> For example:
>>>> http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=923942
>>>> 
>>>> http://people.networks.imdea.org/~sergey_gorinsky/pdf/RD_Services_SIGCOMM_2008.pdf
>>>> 
>>>> SPUD describes this as one of its use cases.
>>>> 
>>>> https://tools.ietf.org/html/draft-kuehlewind-spud-use-cases-00#section-4
>>>> 
>>>> We wonder: how should this be specified? Could we, for example, use the
>>>> DSCP? If so, how - can we use an existing value, or should we define a
>>>> new one?
>>> 
>>> I think one should distinguish between different cases, e.g.,
>>> - Application wants low latency transport
>>> - Application needs bulk transfer and insensitive to latency
>>> - Application uses a congestion control algorithm for achieving low latency
>>> - etc.
>>> 
>>> Moreover, there may exist high-bandwidth applications that also require
>>> low latency, so that you don't have a tradeoff situation.
>>> One bit isn't enough to distinguish that properly.
>>> 
>>> In the DiffServ architecture you better should exactly describe what
>>> kind of per-hop behaviour (PHB) you want for packet treatment. Then
>>> you could use a DSCP that points to that PHB. The EF PHB is also
>>> offering a low delay service, but usually requires admission control,
>>> policing and non-bursty flows.
> 
>> The idea is to provide something simple that avoids having to use
>> admission control etc. - no QoS in the sense: "you pay more, you get
>> more", but a trade-off where there's no incentive to lie, and the more
>> routers support it, the better, generally.
> 
> I was just pointing to the fact that there are many ways of achieving a
> low latency service and that a DSCP normally points to a PHB definition.
> 
>>> An indication of the transport protocol
>>> that it's going to use a low-delay congestion control mechanism
>>> is a completely different thing.
>>> 
>>> I think it would be useful to have a possibility to separate
>>> flows with incompatible congestion control mechanisms, i.e.,
>>> to put them into separate queues. We did some experiments
>>> and were able to achieve bandwidth fairness while keeping the
>>> delay for the low-delay congestion controlled flows much lower
>>> compared to the loss-based congestion controlled flows.
> 
>> This sounds as if you're thinking about something slightly different
>> than us. The question isn't about "how can I protect my delay-based
>> congestion control mechanism from loss-based mechanisms" but about "how
>> could I say: drop me if you must, but don't delay me, I prefer that".
> 
> Thanks for clarification. I just gave an example that the latency vs.
> throughput could mean various things and it's better to exactly define
> the intended behavior. We already had a very fuzzy indication with the
> ToS bits and that didn't work out very well in practice. So the "drop
> me if you must, but don't delay me, I prefer that." policy can be
> realized in various ways and one should be more precise what that means.
> 
>> That seems pretty binary to me, and as the papers that Jianjie pointed
>> at show, this simple binary logic can be good enough for a beneficial
>> outcome.
>> 
>> So... any DSCP value that could reasonably be used for that? I mean,
>> in a way, what this is asking for is to simply give some packets a high
>> drop precedence, but without associating them with a specific (usually
>> admission controlled) DiffServ PHB, I guess...
> 
> Usually, admission control is only required for achieving strict
> guarantees, so a PHB definition doesn't require that. However,
> specifying queues, their behavior/management and scheduling mechanisms
> for such a forwarding strategy is exactly what a PHB definition
> describes (at least).

Ah ok! If I interpret this correctly, this means that if we need something probabilistically, we should just go ahead and DSCP-mark as desired, maybe using table 1 in https://tools.ietf.org/html/draft-ietf-tsvwg-rtcweb-qos-10  right?
(not at all unreasonable, I think)

Cheers,
Michael