Re: [tsvwg] [aqm] Questioning each PIE heuristic

Bob Briscoe <ietf@bobbriscoe.net> Wed, 29 March 2017 18:47 UTC

Return-Path: <ietf@bobbriscoe.net>
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 890EA12894A; Wed, 29 Mar 2017 11:47:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bobbriscoe.net
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 Ua11Inr4Z5k7; Wed, 29 Mar 2017 11:47:45 -0700 (PDT)
Received: from server.dnsblock1.com (server.dnsblock1.com [85.13.236.178]) (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 C1BB612946E; Wed, 29 Mar 2017 11:47:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:Cc:References:To:Subject:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gv/mTJRH6ZuS8HHIh/djMe2ZHYxdnhvCbJZ4VJCxz0k=; b=DrTxUTdTZt6tggNrPpfm+1kpH FpDVAa3LlAFBVE9MlJzqI2XK5FOqT2slXGguhDHCh6qObnAaybMUWzkjhtFTY/es1j1av85eYVZP/ OmYMFGfjK/cndk2TlJtTT/0E38tuVn2nxL/LpRFpcym2pVHUcvlpENDgHe8h2vPLZcNe8QHoaNhky aE3cy2CLqZzhtodBO4tk9BgTiQbIfN3ODL+mioncxtybxJF88JxnWp9QDT7WRJasMvu/uNDTS1gEW VJx5SSSdIZgrjOJ5cA71UJK9tyArzPE37CCxMkWKwU8Ou+YI0asWHdYUIQ3V9u2abj5jDlTeB/4Kp tYLDbku0w==;
Received: from [77.88.71.158] (port=48066 helo=[172.16.5.179]) by server.dnsblock1.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from <ietf@bobbriscoe.net>) id 1ctIdB-0000BL-9N; Wed, 29 Mar 2017 19:47:41 +0100
To: "Lautenschlaeger, Wolfram (Nokia - DE/Stuttgart)" <wolfram.lautenschlaeger@nokia-bell-labs.com>
References: <9ddba389-e368-9050-3b14-aa235c99fcb8@bobbriscoe.net> <D4FDD717.2636D%ropan@cisco.com> <77D4FC66-C99F-49D0-BB73-27A0CEF70F31@gmail.com> <D05425F7-4AA8-42E1-A7AC-E5757F21C29B@gmail.com> <48f5f485-5d34-a768-4180-c5df761de005@kit.edu> <CAHx=1M5gMmAgp=9sPP8xhM-6gNTLxfANV1B_2rHWb8=hFCqEUA@mail.gmail.com> <D4FFE7E3.2655B%ropan@cisco.com> <DB6PR0701MB294976A5C354DE281816E052E9350@DB6PR0701MB2949.eurprd07.prod.outlook.com> <D5016D98.265A4%ropan@cisco.com>
Cc: "Rong Pan (ropan)" <ropan@cisco.com>, Luca Muscariello <luca.muscariello@gmail.com>, "Bless, Roland (TM)" <roland.bless@kit.edu>, tsvwg IETF list <tsvwg@ietf.org>, Fred Baker <fredbaker.ietf@gmail.com>, "De Schepper, Koen (Nokia - BE/Antwerp)" <koen.de_schepper@nokia-bell-labs.com>, Greg White <g.white@cablelabs.com>, Jonathan Morton <chromatix99@gmail.com>, AQM IETF list <aqm@ietf.org>, Preethi Natarajan <prenatar@cisco.com>
From: Bob Briscoe <ietf@bobbriscoe.net>
Message-ID: <205cf09e-0657-f028-2485-3a415895e627@bobbriscoe.net>
Date: Wed, 29 Mar 2017 19:47:39 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <D5016D98.265A4%ropan@cisco.com>
Content-Type: multipart/alternative; boundary="------------6BDEE67AE25C42B9B277A4A3"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.dnsblock1.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: server.dnsblock1.com: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: server.dnsblock1.com: in@bobbriscoe.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/q5A4zN0Anxd93hTlLtWYE3U0htk>
Subject: Re: [tsvwg] [aqm] Questioning each PIE heuristic
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: Wed, 29 Mar 2017 18:47:51 -0000

Wolfram,

Just to explain some context. The PIE algorithm determines a dropping 
probability at sample times (default 16ms), then continues to drop with 
that probability until the next sample. If the queue had been large then 
traffic ends, while the queue is draining towards zero it is still 
dropping at the last calculated probability. So the PIE code includes a 
heuristic that suppresses any drop if the queue is less than half the 
target. Nonetheless, the PIE algo continues to calculate what the drop 
probability /would/ be if a queue of more than half the target appeared 
again.

This is so that the drop probability reflects a longer running measure 
of the load as well as the instantaneous queue.


Bob

On 29/03/17 18:58, Rong Pan (ropan) wrote:
> We are not holding back queued packets when the link is idle. We stop 
> dropping packets when the queue is shallow in order to avoid 
> unnecessary drops that could cause TCP traffic to back off and stop 
> sending traffic that will cause link idle.
>
> Rong
>
> From: "Lautenschlaeger, Wolfram (Nokia - DE/Stuttgart)" 
> <wolfram.lautenschlaeger@nokia-bell-labs.com 
> <mailto:wolfram.lautenschlaeger@nokia-bell-labs.com>>
> Date: Wednesday, March 29, 2017 at 2:30 AM
> To: Rong Pan <ropan@cisco.com <mailto:ropan@cisco.com>>, Luca 
> Muscariello <luca.muscariello@gmail.com 
> <mailto:luca.muscariello@gmail.com>>, "Bless, Roland (TM)" 
> <roland.bless@kit.edu <mailto:roland.bless@kit.edu>>
> Cc: tsvwg IETF list <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>, Fred 
> Baker <fredbaker.ietf@gmail.com <mailto:fredbaker.ietf@gmail.com>>, 
> Bob Briscoe <ietf@bobbriscoe.net <mailto:ietf@bobbriscoe.net>>, "De 
> Schepper, Koen (Nokia - BE/Antwerp)" 
> <koen.de_schepper@nokia-bell-labs.com 
> <mailto:koen.de_schepper@nokia-bell-labs.com>>, Greg White 
> <g.white@cablelabs.com <mailto:g.white@cablelabs.com>>, Jonathan 
> Morton <chromatix99@gmail.com <mailto:chromatix99@gmail.com>>, AQM 
> IETF list <aqm@ietf.org <mailto:aqm@ietf.org>>, Preethi Natarajan 
> <prenatar@cisco.com <mailto:prenatar@cisco.com>>
> Subject: RE: [aqm] Questioning each PIE heuristic
>
> To my understanding a proper operating AQM _/is/_ work-conserving. 
> Packet drops occur, if any, when a reasonable queue is present. And as 
> long as packets are present in the queue, the link runs at 100%. I 
> cannot see any (AQM) mechanism that is holding back queued packets 
> while the link is idle.
>
> Wolfram
>
> *From:*aqm [mailto:aqm-bounces@ietf.org] *On Behalf Of *Rong Pan (ropan)
> *Sent:* Dienstag, 28. März 2017 16:17
> *To:* Luca Muscariello <luca.muscariello@gmail.com 
> <mailto:luca.muscariello@gmail.com>>; Bless, Roland (TM) 
> <roland.bless@kit.edu <mailto:roland.bless@kit.edu>>
> *Cc:* tsvwg IETF list <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>; Fred 
> Baker <fredbaker.ietf@gmail.com <mailto:fredbaker.ietf@gmail.com>>; 
> Bob Briscoe <ietf@bobbriscoe.net <mailto:ietf@bobbriscoe.net>>; De 
> Schepper, Koen (Nokia - BE/Antwerp) 
> <koen.de_schepper@nokia-bell-labs.com 
> <mailto:koen.de_schepper@nokia-bell-labs.com>>; Greg White 
> <g.white@cablelabs.com <mailto:g.white@cablelabs.com>>; Jonathan 
> Morton <chromatix99@gmail.com <mailto:chromatix99@gmail.com>>; AQM 
> IETF list <aqm@ietf.org <mailto:aqm@ietf.org>>; Preethi Natarajan 
> <prenatar@cisco.com <mailto:prenatar@cisco.com>>
> *Subject:* Re: [aqm] Questioning each PIE heuristic
>
> Sorry for causing the confusion in choosing the word 
> “work-conserving". If we apply AQM and can not achieving 100% line 
> rate, i.e. losing throughput, it is a big No No. Since we are dealing 
> with TCP traffic, excess drops can cause TCP to back off too much and 
> under-utilize the link.
>
> Rong
>
> *From: *Luca Muscariello <luca.muscariello@gmail.com 
> <mailto:luca.muscariello@gmail.com>>
> *Date: *Tuesday, March 28, 2017 at 8:48 AM
> *To: *"Bless, Roland (TM)" <roland.bless@kit.edu 
> <mailto:roland.bless@kit.edu>>
> *Cc: *Fred Baker <fredbaker.ietf@gmail.com 
> <mailto:fredbaker.ietf@gmail.com>>, Jonathan Morton 
> <chromatix99@gmail.com <mailto:chromatix99@gmail.com>>, tsvwg IETF 
> list <tsvwg@ietf.org <mailto:tsvwg@ietf.org>>, Bob Briscoe 
> <ietf@bobbriscoe.net <mailto:ietf@bobbriscoe.net>>, "De Schepper, Koen 
> (Koen)" <koen.de_schepper@nokia.com 
> <mailto:koen.de_schepper@nokia.com>>, Rong Pan <ropan@cisco.com 
> <mailto:ropan@cisco.com>>, Greg White <g.white@cablelabs.com 
> <mailto:g.white@cablelabs.com>>, AQM IETF list <aqm@ietf.org 
> <mailto:aqm@ietf.org>>, Preethi Natarajan <prenatar@cisco.com 
> <mailto:prenatar@cisco.com>>
> *Subject: *Re: [aqm] Questioning each PIE heuristic
>
> Work conserving is supposed to be referring to the scheduler.
>
> I'm not familiar with work-conservation when it refers to active queue 
> management.
>
> I'm not sure it is actually defined.
>
> I can understand that an AQM can produce under utilization of the 
> link, but that is
>
> different to work conservation. Or is it maybe more subtle than that?
>
> Luca
>
> On Tue, Mar 28, 2017 at 1:48 PM, Bless, Roland (TM) 
> <roland.bless@kit.edu <mailto:roland.bless@kit.edu>> wrote:
>
>     Hi,
>
>     Am 28.03.2017 um 13:39 schrieb Fred Baker:
>
>     > I'm not convinced I understand the definitions of "work conserving"
>     > and "non work conserving" in this context. A "work conserving"
>     > scheduling algorithm keeps an interface transmitting as long as
>     there
>     > is data in the queue, while a non-work-conserving algorithm reduces
>     > the effective rate of the interface by spacing packets out.
>
>     +1 (that's also the definition I use, so I'm lost here too)
>
>     Regards,
>      Roland
>
>
>     _______________________________________________
>     aqm mailing list
>     aqm@ietf.org <mailto:aqm@ietf.org>
>     https://www.ietf.org/mailman/listinfo/aqm
>

-- 
________________________________________________________________
Bob Briscoe                               http://bobbriscoe.net/