Re: [aqm] AQM schemes: Queue length vs. delay based

Michael Welzl <michawe@ifi.uio.no> Fri, 15 November 2013 19:36 UTC

Return-Path: <michawe@ifi.uio.no>
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 0107E21F9B4B for <aqm@ietfa.amsl.com>; Fri, 15 Nov 2013 11:36:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.371
X-Spam-Level:
X-Spam-Status: No, score=-102.371 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_SUB_OBFU_Q1=0.227, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xws7H4lccQg3 for <aqm@ietfa.amsl.com>; Fri, 15 Nov 2013 11:36:07 -0800 (PST)
Received: from mail-out4.uio.no (mail-out4.uio.no [IPv6:2001:700:100:10::15]) by ietfa.amsl.com (Postfix) with ESMTP id 0267711E821B for <aqm@ietf.org>; Fri, 15 Nov 2013 11:35:58 -0800 (PST)
Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out4.uio.no with esmtp (Exim 4.80.1) (envelope-from <michawe@ifi.uio.no>) id 1VhPBH-0007iv-Cf; Fri, 15 Nov 2013 20:35:51 +0100
Received: from 59.115.34.95.customer.cdi.no ([95.34.115.59] helo=[192.168.0.114]) by mail-mx2.uio.no with esmtpsa (TLSv1:AES128-SHA:128) user michawe (Exim 4.80) (envelope-from <michawe@ifi.uio.no>) id 1VhPBG-0004SH-LA; Fri, 15 Nov 2013 20:35:51 +0100
Content-Type: multipart/alternative; boundary="Apple-Mail=_830F8EC7-9A39-43D1-B3A6-1CC17291F9A5"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Michael Welzl <michawe@ifi.uio.no>
In-Reply-To: <CEABA46C.55B4B%ropan@cisco.com>
Date: Fri, 15 Nov 2013 20:35:49 +0100
Message-Id: <19813CF2-4C78-43B8-9B75-5A4E605BE54A@ifi.uio.no>
References: <CEABA46C.55B4B%ropan@cisco.com>
To: "Rong Pan (ropan)" <ropan@cisco.com>
X-Mailer: Apple Mail (2.1510)
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 4 msgs/h 1 sum rcpts/h 9 sum msgs/h 3 total rcpts 9863 max rcpts/h 44 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, HTML_MESSAGE=0.001, TVD_RCVD_IP=0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: A2BDF4D3525B69F999DE11E7AF2C7CCC1B1AEF6D
X-UiO-SPAM-Test: remote_host: 95.34.115.59 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 485 max/h 13 blacklist 0 greylist 0 ratelimit 0
Cc: Naeem Khademi <naeem.khademi@gmail.com>, Preethi Natarajan <preethi.cis@gmail.com>, "aqm@ietf.org" <aqm@ietf.org>
Subject: Re: [aqm] AQM schemes: Queue length vs. delay based
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 15 Nov 2013 19:36:44 -0000

Hi,

In line, but snipping some things away:


> [About evaluating against other-than-RED AQMs]
> ------------------------------------------
> >>>>>>>>RP:  RED is the only one out there that got wide adoptions. Compared with the state of the art in products (not in papers) is the idea. But that does not mean we don't know/learn from other AQM schemes. As matter of fact, PI controller and AVQ came out about the same time. PIE also adopts the PI controller design. From my years of experience, I think PI controller is a better controller in this space as queue and rate lend themselves to be the proportional and integral pair.

Ok, fair point about RED, and I agree that a PI controller can do well. The "SoA in products" bit makes me wonder - I never really knew, but since it's in principle easy to deploy an AQM scheme (you design it, you like it, you put it in your product?), I always assumed that RED wouldn't be the only one out there.

Now from this and other recent discussions I get the impression that RED *is* the only one that was ever turned on, and maybe the only one shipped? Do you know, is that the case? Just curious...  I guess that some products would sell with a strange secret AQM scheme that works very well, or not? That was just my imagination.


> >>>>>>>>RP: I disagree with the notion that ARED often performs better. If tight delay control comes from narrow-band bang-bang control, the tail drop with shallow buffer would behave similarly. For example, if target_delay = 1ms, min_th = 0.5ms and max_th = 1.5ms, the queue really allows one packet in the queue. I don't see how this will be different from tail drop.  Your throughput plot showed 25% throughput loss. This is a case considered good?

By "often" I mean pretty much all cases except the very lightly loaded or extremely low target delay cases that you keep referring to.


> ------------------------------------------
> >>>>>>>>RP:  Again, the tight delay control comes from narrow-band bang-bang control with hard drops. The scenarios that throughputs are good are in higher congestion scenarios where there are enough packets showing up to fill the pipe. That is not the effectiveness of AQM. Tail drop with shallow buffer will have high throughput in those cases too. Try a scenario when link is congested and a burst comes, see how many packets of that burst can go through.
> ------------------------------------------

Maybe we disagree about the goals... why would you want to allow a burst on an already congested link?


> Naeem and Preethi have agreed that some significant design changes would be necessary to make use of ARED as a new delay-based AQM. I agree, but mainly I'd expect these significant changes to deal with ECN (where we made the point that ALL AQMs should be changed in fact (*), but that's another story) and with WLAN scenarios, where ARED performed quite badly. We'll see - mainly we conclude that it's probably worth playing around with it.
> 
> 
> ---------------------------------------------
> >>>>>>>>RP:  Sure. The significant design changes to ARED won't be just for ECN, but to address the core issue of how effective ARED is as an AQM scheme. Don't get us wrong -- we would be happy to see these improvements on ARED.  Just a side note and you seemed to know what happened in the early 2000 time frame.  Sally's ARED paper did not eventually publish because there was a consensus in the community that control analysis is essential in AQM (other papers like AVQ and PI do have control analysis). It would be great if your group can add in this space too, especially auto-tuning needs deeper understanding of the knobs involved. 

Well, sounds like your opinion about that consensus; no doubt that analysis makes a paper stronger, but also no point in speculating about the reasons why she never got it published.

Getting back to the matter at hand, call me naive, but it seems to me that ARED was doing just the right thing in mildly loaded to overloaded scenarios, i.e. "bang bang" control may be just the right thing to do then? On that basis, isn't it a matter of just detecting the lightly loaded scenarios and becoming less aggressive under these circumstances? I suppose that the control could be tuned to do that. But this is just speculative...

Cheers,
Michael