Re: [aqm] PIE vs. RED

"Rong Pan (ropan)" <ropan@cisco.com> Fri, 14 August 2015 18:33 UTC

Return-Path: <ropan@cisco.com>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 684E41A06FD for <aqm@ietfa.amsl.com>; Fri, 14 Aug 2015 11:33:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 jFkAlk8DlAkx for <aqm@ietfa.amsl.com>; Fri, 14 Aug 2015 11:32:59 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 574DD1A0451 for <aqm@ietf.org>; Fri, 14 Aug 2015 11:32:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8310; q=dns/txt; s=iport; t=1439577179; x=1440786779; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=KYA6seXgbkWZYlM6dlsTayEG/BFP38rCyPVEqPs5+OM=; b=RCc8zg5b2vg0+3NiklBcuLaFh7Ahu9LjGNKZa+5MP1B0sZWQA+lmqlil EW3X1X+xzEO2SBzRMrl35OoJrCEVXPJQQYVw/tLBF9BGO3qc18Td4tClo 24CHHP8zSSLiY0z2o5ycbjovKd70GpdOjo7HF3vaHApm8yMqrJ1UCzfxw k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DSBQBGM85V/4UNJK1dDoMNVFsOBoMeum6BawqFeQIcgS46EgEBAQEBAQGBCoQjAQEBBAEBATE6CwwEAgEIEQQBAQEEIwUCAiULFAkIAgQBDQWILg2cOJ0VBpY0AQEBAQEBAQEBAQEBAQEBAQEBAQEBEwSBHIo3hQkHBoJdgUkBBJUbAYUDgmyEfJokJoIOHIEVPnEBgUeBBAEBAQ
X-IronPort-AV: E=Sophos;i="5.15,679,1432598400"; d="scan'208";a="18709377"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-8.cisco.com with ESMTP; 14 Aug 2015 18:32:58 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id t7EIWwXl017026 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 14 Aug 2015 18:32:58 GMT
Received: from xch-aln-002.cisco.com (173.36.7.12) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 14 Aug 2015 13:32:57 -0500
Received: from xhc-rcd-x05.cisco.com (173.37.183.79) by xch-aln-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5 via Frontend Transport; Fri, 14 Aug 2015 13:32:57 -0500
Received: from xmb-aln-x15.cisco.com ([169.254.9.148]) by xhc-rcd-x05.cisco.com ([173.37.183.79]) with mapi id 14.03.0248.002; Fri, 14 Aug 2015 13:32:57 -0500
From: "Rong Pan (ropan)" <ropan@cisco.com>
To: "Rong Pan (ropan)" <ropan@cisco.com>, "Francini, Andrea (Andrea)" <andrea.francini@alcatel-lucent.com>, Roland Bless <roland.bless@kit.edu>, Jonathan Morton <chromatix99@gmail.com>
Thread-Topic: [aqm] PIE vs. RED
Thread-Index: AQHQ1cOW6XwN55X4f0i0l/eZceHInZ4KhVKAgABUxACAAAfBgP//jQMAgACI54D//6QDgIABTAEA///InwAAADnKgA==
Date: Fri, 14 Aug 2015 18:32:56 +0000
Message-ID: <D1F381A1.659F%ropan@cisco.com>
References: <55CC8D6B.7030007@kit.edu> <CAJq5cE2sNFvLPvrB82dRrN+nbZLNRuo+TmCVgSYCp4TumN70Sw@mail.gmail.com> <55CD1C9A.9040406@kit.edu> <1BFAC0A1D7955144A2444E902CB628F865B08093@US70TWXCHMBA12.zam.alcatel-lucent.com> <D1F2716B.654D%ropan@cisco.com> <1BFAC0A1D7955144A2444E902CB628F865B080C1@US70TWXCHMBA12.zam.alcatel-lucent.com> <D1F297FC.6569%ropan@cisco.com> <1BFAC0A1D7955144A2444E902CB628F865B081EF@US70TWXCHMBA12.zam.alcatel-lucent.com> <D1F37F18.658D%ropan@cisco.com>
In-Reply-To: <D1F37F18.658D%ropan@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.2.150604
x-originating-ip: [173.37.102.11]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <9C62C28DF9E2134A871D9D90C4CCF665@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/HDOlWxMVlWTu5O99uq3R0K8ltsc>
Cc: "aqm@ietf.org" <aqm@ietf.org>
Subject: Re: [aqm] PIE vs. RED
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 14 Aug 2015 18:33:01 -0000

>
>
>This is an omission in the paper, which we should specify. This simulation
>is done with 10Mbps link with 200KB of buffer. We did size our buffers
>according to the BDP. As Jonathan rightly pointed out, "the queue size is
>tuned for the maximum capability of the device and a pessimistic value for
>RTTĀ². Figure 7 is intended to show that in reality link speed may not get
>to the max capacity, and hence well-intended BDP buffer sizing may cause
>extreme delays, the time between 50-100s in the plot.
>

Just to make it clear, Figure 8 is run using 10Mbps link with 200KB
buffer. 
We should clearly specify in the paper, sorry for that.

Figure 7 is run using 100Mbps with 2MB of buffer and in the middle of the
simulation,
the link speed is reduced to 20Mbps to illustrate the case where
well-intended 
buffer sizing might cause delay bloat.






>
>
>>
>>Thank you,
>>
>>Andrea
>>
>>-----Original Message-----
>>From: Rong Pan (ropan) [mailto:ropan@cisco.com]
>>Sent: Thursday, August 13, 2015 9:56 PM
>>To: Francini, Andrea (Andrea); Roland Bless; Jonathan Morton
>>Cc: aqm@ietf.org
>>Subject: Re: [aqm] PIE vs. RED
>>
>>>>That's my point (and I believe also Roland's): In a direct experimental
>>>>comparison, this good property of PIE would be better emphasized
>>>>against
>>>>a >>configuration of RED where the queue length thresholds are not
>>>>grossly oversized.
>>
>>
>>In our PIE paper (attached), Figure 8 shows the max latency of RED is
>>around 100ms (which is very reasonable). PIE controls latency regardless
>>of traffic intensity. It is the plot that you want.
>>
>>Thanks,
>>
>>Rong
>>
>>On 8/13/15, 5:25 PM, "Francini, Andrea (Andrea)"
>><andrea.francini@alcatel-lucent.com> wrote:
>>
>>>> Delayed-based RED still would associate latency with drop probability:
>>>> drop probability will only go up when queueing latency goes up. A
>>>>higher
>>>> drop probability can only be achieved via higher queueing latency.  As
>>>>we
>>>> proved in PIE, the two can be made independent. We can maintain low
>>>> latency regardless of traffic intensity.
>>>> 
>>>> Rong
>>>
>>>That's my point (and I believe also Roland's): In a direct experimental
>>>comparison, this good property of PIE would be better emphasized against
>>>a configuration of RED where the queue length thresholds are not grossly
>>>oversized.
>>>
>>>By the way, Global Synchronization Protection (GSP) also drops/marks at
>>>a
>>>fixed delay level independently of the drop/mark rate that keeps the
>>>queue stable. The draft that describes it
>>>(https://tools.ietf.org/id/draft-lauten-aqm-gsp-02.txt) is still active.
>>>I have seen only marginal comments about GSP. Any specific reason why?
>>>
>>>Andrea 
>>>
>>>
>>>On 8/13/15, 4:07 PM, "aqm on behalf of Francini, Andrea (Andrea)"
>>><aqm-bounces@ietf.org on behalf of andrea.francini@alcatel-lucent.com>
>>>wrote:
>>>
>>>>To second Roland's point, the advantage of PIE over RED should not be
>>>>entirely in the use of delay-based thresholds instead of queue-length
>>>>ones, otherwise it could be argued that a version of RED with
>>>>delay-based
>>>>thresholds is not too hard to design (Wolfram easily did it for his GSP
>>>>scheme). 
>>>>
>>>>With such a RED version in place, hopefully PIE would still show better
>>>>performance, so the same superiority should also emerge when the
>>>>queue-length thresholds of conventional RED are reasonably tuned around
>>>>the traffic scenario of each experiment.
>>>>
>>>>Andrea
>>>>
>>>>-----Original Message-----
>>>>From: aqm [mailto:aqm-bounces@ietf.org] On Behalf Of Roland Bless
>>>>Sent: Thursday, August 13, 2015 6:39 PM
>>>>To: Jonathan Morton
>>>>Cc: aqm@ietf.org
>>>>Subject: Re: [aqm] PIE vs. RED
>>>>
>>>>Hi Jonathan,
>>>>
>>>>Am 13.08.2015 um 19:35 schrieb Jonathan Morton:
>>>>> In the real world, the hardware buffer size is rarely matched to the
>>>>> real BDP.  There are several reasons for this, but a couple of
>>>>> fundamental ones are:
>>>>> 
>>>>> - BDP varies with RTT, which is in general different for flows
>>>>> simultaneously using the same link/queue to reach different remote
>>>>> hosts, and therefore cannot be accurately predicted by a hardware
>>>>>vendor.
>>>>
>>>>Yep, sure. My point was not to promote setting the buffers according to
>>>>"the BDP", but rather arguing that one should use comparable target
>>>>settings when comparing AQMs, see below...
>>>>
>>>>> - Frequently, the queue size is tuned for the maximum capability of
>>>>>the
>>>>> device and a pessimistic value for RTT, but the same hardware is more
>>>>> often used (at least initially) at lower link speeds and thebqueue
>>>>>size
>>>>> is not adjusted to compensate.  Eg. DOCSIS 2 cable but DOCSIS 3
>>>>>modem,
>>>>> Ethernet NIC or switch capable of 1000Mbps but operating at 100 or
>>>>>even
>>>>> 10, 802.11ac wifi struggling with a marginal 802.11g link...
>>>>> 
>>>>> Thus substantially oversized raw buffers are quite normal.  It is
>>>>>AQM's
>>>>> job to keep the *actual* queue occupancy low; with a properly
>>>>> functioning AQM, the effects of an oversized raw queue are nil.
>>>>
>>>>That's correct. However, IMHO if one compares AQMs one should set/tune
>>>>the individual parameters of the AQMs so that they achieve a similar
>>>>target value (and not more than an order of magnitude apart).
>>>>This is probably relevant for the aqm eval guidelines, but
>>>>I'll come up with a detailed review for the draft within the next
>>>>days...
>>>>
>>>>Regards,
>>>> Roland
>>>>
>>>>_______________________________________________
>>>>aqm mailing list
>>>>aqm@ietf.org
>>>>https://www.ietf.org/mailman/listinfo/aqm
>>>>
>>>>_______________________________________________
>>>>aqm mailing list
>>>>aqm@ietf.org
>>>>https://www.ietf.org/mailman/listinfo/aqm
>>>
>>
>
>_______________________________________________
>aqm mailing list
>aqm@ietf.org
>https://www.ietf.org/mailman/listinfo/aqm