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

Preethi Natarajan <preethi.cis@gmail.com> Wed, 13 November 2013 18:25 UTC

Return-Path: <preethi.cis@gmail.com>
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 7284D21F9E44 for <aqm@ietfa.amsl.com>; Wed, 13 Nov 2013 10:25:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.975
X-Spam-Level:
X-Spam-Status: No, score=-0.975 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, SARE_SUB_OBFU_Q1=0.227]
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 PHgeZRixiCv4 for <aqm@ietfa.amsl.com>; Wed, 13 Nov 2013 10:25:25 -0800 (PST)
Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id F35C821E8177 for <aqm@ietf.org>; Wed, 13 Nov 2013 10:25:24 -0800 (PST)
Received: by mail-pb0-f53.google.com with SMTP id ma3so803692pbc.12 for <aqm@ietf.org>; Wed, 13 Nov 2013 10:25:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :in-reply-to:mime-version:content-type; bh=JSvRhcg/CCn/G4uGrzplxROuKIFlsL8QwQqkt6LGH50=; b=0ppniHVJnu1ejC32j8nBfmYavIxE8aDhZeDBDb8w0hk+eu2OCmYketN2TNlA/FIhAO kODEhckbgltE8+6pPipI/iQDDXm0IsmMhoQ1SFsRJGXVOBVG8vp9rVOeGLxQWdymuhdy BjsWNlwe+68Q4hd8zJ0aG2y2D3yY8PB94YAMP3UKvbROKhp6zHJk5G3S7LwYXYzp+RXQ i5LCrCu5Bgqw1OXzdoEtnZKhL8nKD3b8CrXOYtOo2JBZNwy0EJeVYKqwzeHPZKXf7AZN 6NwWNEaEUS7VQAifbhtMn+KkqVze6sX18vhjbu5NTeCb87QZk0D6a1LB7MjFvBs3bd50 ZFDQ==
X-Received: by 10.68.229.167 with SMTP id sr7mr15388249pbc.159.1384367124444; Wed, 13 Nov 2013 10:25:24 -0800 (PST)
Received: from [10.21.76.42] (128-107-239-233.cisco.com. [128.107.239.233]) by mx.google.com with ESMTPSA id tu6sm45954948pbc.41.2013.11.13.10.25.21 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 13 Nov 2013 10:25:23 -0800 (PST)
User-Agent: Microsoft-MacOutlook/14.2.1.120420
Date: Wed, 13 Nov 2013 10:25:19 -0800
From: Preethi Natarajan <preethi.cis@gmail.com>
To: Naeem Khademi <naeem.khademi@gmail.com>
Message-ID: <CEA9034B.4B37C%prenatar@cisco.com>
Thread-Topic: [aqm] AQM schemes: Queue length vs. delay based
In-Reply-To: <CAEjQQ5Vif73gWe-35nzbhmPH+Eh+gSZK+7xNm33+T-FVNsmPZw@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3467183123_5208675"
Cc: "aqm@ietf.org" <aqm@ietf.org>, Michael Welzl <michawe@ifi.uio.no>
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: Wed, 13 Nov 2013 18:25:29 -0000

Please see inlineŠ

From:  Naeem Khademi <naeem.khademi@gmail.com>
Date:  Wednesday, November 13, 2013 5:01 AM
To:  Preethi Natarajan <preethi.cis@gmail.com>
Cc:  Michael Welzl <michawe@ifi.uio.no>, "aqm@ietf.org" <aqm@ietf.org>
Subject:  Re: [aqm] AQM schemes: Queue length vs. delay based

>  
>> Michael, Naeem:
>> 
>> This is just a follow-up to better understand the ARED results presented at
>> AQM WG (http://www.ietf.org/proceedings/88/slides/slides-88-iccrg-4.pdf).
>> 
>> Could you please clarify whether the ARED parameters for the tests were set
>> as specified in the 2001 paper? I.e., when average queueing delay target =
>> 1ms, the min and max thresholds would translate to 0.5ms and 1.5ms, and for 5
>> ms target the min and max thresh will be 2.5ms and 7.5ms, respectively,
>> right? Can you confirm?
> 
> Copy/pasting from Section 3.1.3 of http://urn.nb.no/URN:NBN:no-38868
> <http://urn.nb.no/URN:NBN:no-38868>
> 
> "In case of ARED, the parameters are calculated based on the recommendations
> in [19]
> except when target delay=1 ms where th_min and th_max are set to 1 MTU
> and 2 MTUs accordingly."
> 
> [19] S. Floyd, R. Gummadi, and S. Shenker. Adaptive RED: An Algorithm for
> Increasing the Robustness of RED¹s Active Queue Management. Technical
> report, 2001.
> 
> This means "yes" for all values of target delay except for 1 ms cases where
> the thresholds become smaller than a single MTU transmission time on the 10
> Mbps bottleneck link used in this case.  The recommendations in Sally Flyod' s
> ARED 2001  (th_max=3*th_min; target=(th_max+th_min)/2) are used in all other
> cases. 
>  
>> Assuming ARED logic is intact, ARED drops all packets when average queue size
>> goes above max_thresh  (max_thresh = 1.5ms or 7.5ms etc.); this would be
>> semantically similar to a drop tail queue with shallow buffer (can be
>> confirmed by looking at cumulative packet drops by ARED).
> 
> Similar but not identical as ARED (and any other *RED) does averaging instead
> of using instantaneous queue size (e.g. that being employed in DCTCP AQM)
>  
>> This is probably why the delay values are tight for ARED, and why ARED
>> translates to poor utilization, especially for the lower target delay values,
>> as seen in your slides (#8, #11, #13).
> 
> True! 
>  

Thanks for clarifying. That definitely clears the air about why ARED's delay
values were so tight; trying to maintain the average queue delay between
such a narrow band between min and max thresholds (0.5ms to 1.5ms or 2.5ms
to 7.5ms) would naturally result in tighter delay values at the cost of
utilization. Of course, ARED works on the average queue size, but when it
comes to such a narrow band between min and max thresholds, we suspect there
wouldn't be much difference between ARED and drop tail.


>> Also,  wondering if bursty traffic was considered for evaluations, since
>> semantics of drop tail with shallow buffering doesn't accommodate bursty
>> traffic. 
> 
> No, we did not consider bursty traffic (e.g. multimedia, etc) for this work as
> this was our first (initial) fundamental step to understand in a systematic
> way how AQMs work in real-life with long-lived TCP traffic (which is the most
> common type of traffic that fills up any buffer and consistently contributes
> to excessively long latencies experienced on the Internet (a.k.a
> bufferbloat)). 
> 
> The fact that AQMs *should* absorb sub-RTT bursts (due to rate mistmatch, etc)
> does not diminish the basic requirement for AQMs that they should control the
> latency induced by bulk (long-lived) TCP traffic in a well manner. Any other
> type of traffic on the access links will most likely to coexist with bulk TCP
> traffic when latency is observed to grow high. In other words, if an AQM can't
> control the latency of (not so bursty as others-) TCP traffic, it probably
> won't be able to do so for bursty traffic as well.


I would not limit an AQM design to absorb just sub-RTT bursts. A robust AQM
scheme should be able to handle any kind of bursts irrespective of RTT,
traffic patterns etc., since these bursts are quite common in deployments
today.

Thanks,
Preethi