Re: [aqm] Questioning each PIE heuristic

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

Return-Path: <ietf@bobbriscoe.net>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 690AE1297A5; Wed, 29 Mar 2017 12:47:20 -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 I4rq95PLGI_w; Wed, 29 Mar 2017 12:47:17 -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 019311297BE; Wed, 29 Mar 2017 12:47:16 -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:Cc:References:To:Subject:From: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=HyM0Hf9RcW7RnM1R1Pmx2bUJQfjpmoeNIMeDcZ5qLfM=; b=IsYQoWy+e8bEmnUR+/WYqchHP 1iYzaYjCqrNIVPS+mj8K25glatKoi/9v9DLa1hTC+eOjHRYnoCz6XaW1pFWPH7gTFuo+gssxH0tJG +4Qspqx7flEjc81bA/JilnoahCLU7I+8ydRX9QlLYJ46Zg1+DkIR0ngPcOK53SuTrhMQZVL2ybTYt db5BzLoMVqsCv7evLW5zzR7dIzlaqEtB5KTqqNyQDZusAy8+mORyHSM/OAWclr+lKJb8U7mqBnigu XEnbuE4+9E2FPrt5tpHvkSsan7URzTiuTpCa40SAvNzg11Cxy5QnMRDtHuoqEnwBfR312cu49Dm1j SD460BPKg==;
Received: from [77.88.71.158] (port=54348 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 1ctJYn-0007Jh-Jw; Wed, 29 Mar 2017 20:47:14 +0100
From: Bob Briscoe <ietf@bobbriscoe.net>
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>, tsvwg IETF list <tsvwg@ietf.org>, AQM IETF list <aqm@ietf.org>
Message-ID: <d938e064-4d16-e89e-6a83-12a35d539d8f@bobbriscoe.net>
Date: Wed, 29 Mar 2017 20:47:11 +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="------------54382D5FEED02957C3633CD0"
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/aqm/RCHpPdggFcK4VAv5hGITeVMnqVg>
Subject: Re: [aqm] Questioning each PIE heuristic
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Discussion list for active queue management and flow isolation." <aqm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/aqm>, <mailto:aqm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/aqm/>
List-Post: <mailto:aqm@ietf.org>
List-Help: <mailto:aqm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/aqm>, <mailto:aqm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Mar 2017 19:47:20 -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 Briscoehttp://bobbriscoe.net/