Re: [aqm] PIE vs. RED

Vishal Misra <vishal.misra@columbia.edu> Fri, 14 August 2015 00:24 UTC

Return-Path: <vishal.misra@columbia.edu>
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 10C741ACEA4 for <aqm@ietfa.amsl.com>; Thu, 13 Aug 2015 17:24:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 M-jYc3omYNla for <aqm@ietfa.amsl.com>; Thu, 13 Aug 2015 17:24:22 -0700 (PDT)
Received: from millet.cc.columbia.edu (millet.cc.columbia.edu [128.59.72.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A2481ACE98 for <aqm@ietf.org>; Thu, 13 Aug 2015 17:24:22 -0700 (PDT)
Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by millet.cc.columbia.edu (8.13.8/8.13.8) with ESMTP id t7E0K4AK025285 for <aqm@ietf.org>; Thu, 13 Aug 2015 20:24:21 -0400
Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id 4976B7E for <aqm@ietf.org>; Thu, 13 Aug 2015 20:24:21 -0400 (EDT)
Received: from rambutan.cc.columbia.edu (rambutan.cc.columbia.edu [128.59.29.5]) by hazelnut (Postfix) with ESMTP id EF3DA80 for <aqm@ietf.org>; Thu, 13 Aug 2015 20:24:20 -0400 (EDT)
Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by rambutan.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id t7E0OKYp016820 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <aqm@ietf.org>; Thu, 13 Aug 2015 20:24:20 -0400 (EDT)
Received: by pdrh1 with SMTP id h1so25134120pdr.0 for <aqm@ietf.org>; Thu, 13 Aug 2015 17:24:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=sQWWbDNLV6toVNQkXL3SMgXFZY8/RV4uWIq3nSm3N1g=; b=W2zaZNIAfswMcEZF1se7N7On96GZ+gkbP3dtCfg7s1znrka7qzVf3Yfq3EsFnWtApS xNuc4FEFSJ/YGnTHg/BPCgxNc6VR/pmeF54R1L8dYVP4h74VxQglYdqOtMqr04JYPWsh BXMRZ/BW7ZcMb4MMGvALRzQRTv+cJZwn5CieOof1D4Pztvf6Xf+ou+frniGB8DWIOnzW eQN5FgjYt2FwAeK0A/p1iQ7l3Qsml8D32tZPLd35px4fr4yR2sM000PU6JhlTP/FTI2N l/WlmGsgO9YBgCmvezJAUlPMMqpB/Ic8NLIYkd2phOZjdec9CZvDok04YISw4yW8JfRk T4qQ==
X-Gm-Message-State: ALoCoQnMzjwgtJJ3cBimSk9nd5EB3byaYwWYN7mI9Ike6wFNZ4VGDGSMf4nk4ajTZUxx4t89hxLUdoIikDc6x81KBmbVM2Tp+HN4E+pc0v1eC6NZ3nzbz0eNr8u5zLnqv5R73WpLLHjU
X-Received: by 10.70.88.134 with SMTP id bg6mr83493095pdb.160.1439511859856; Thu, 13 Aug 2015 17:24:19 -0700 (PDT)
X-Received: by 10.70.88.134 with SMTP id bg6mr83493080pdb.160.1439511859757; Thu, 13 Aug 2015 17:24:19 -0700 (PDT)
Received: from [172.20.10.3] ([117.98.99.212]) by smtp.gmail.com with ESMTPSA id ss2sm3926063pbc.45.2015.08.13.17.24.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Aug 2015 17:24:19 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Vishal Misra <vishal.misra@columbia.edu>
X-Mailer: iPhone Mail (13A4325c)
In-Reply-To: <D1F2716B.654D%ropan@cisco.com>
Date: Fri, 14 Aug 2015 05:54:16 +0530
Content-Transfer-Encoding: quoted-printable
Message-Id: <841EFF93-BDFC-4662-9D53-3BF22861FD5C@columbia.edu>
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>
To: "Rong Pan (ropan)" <ropan@cisco.com>
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.68 on 128.59.29.5
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/2UOLP8UPBTwI8KWV0Fh5kMaRLuk>
X-Mailman-Approved-At: Thu, 13 Aug 2015 17:34:56 -0700
Cc: Jonathan Morton <chromatix99@gmail.com>, Roland Bless <roland.bless@kit.edu>, "aqm@ietf.org" <aqm@ietf.org>, "Francini, Andrea (Andrea)" <andrea.francini@alcatel-lucent.com>
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 00:25:20 -0000

If you are interested, here's our 2001 paper showing all the limitations of RED and explaining the rationale behind the PI controller. It explained how delay and drop/ECN-mark can be decoupled for AQMs. 

http://dna-pubs.cs.columbia.edu/citation/paperfile/23/MisraInfocom01-AQM-Controller.pdf

The control action of PIE is identical to the PI controller we proposed. 

-Vishal
--
http://www.cs.columbia.edu/~misra/

> On Aug 14, 2015, at 4:45 AM, Rong Pan (ropan) <ropan@cisco.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
> 
> 
> 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