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

Naeem Khademi <naeem.khademi@gmail.com> Thu, 14 November 2013 20:58 UTC

Return-Path: <naeem.khademi@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 07C0821E811E for <aqm@ietfa.amsl.com>; Thu, 14 Nov 2013 12:58:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.322
X-Spam-Level:
X-Spam-Status: No, score=-2.322 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 QJvs7GafZsXy for <aqm@ietfa.amsl.com>; Thu, 14 Nov 2013 12:58:45 -0800 (PST)
Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) by ietfa.amsl.com (Postfix) with ESMTP id D297321E8117 for <aqm@ietf.org>; Thu, 14 Nov 2013 12:58:44 -0800 (PST)
Received: by mail-vc0-f176.google.com with SMTP id ia6so450469vcb.21 for <aqm@ietf.org>; Thu, 14 Nov 2013 12:58:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uv+Eb1riWlPFpnMSbM39m9LzL/OCMBsfNxlWG9iaSUM=; b=g4jJAdvY6ukss+QYJTxfz21+B/XrX759IvB6tjGH1pSFEF6d24WPBSezZM9xIfyKt/ 3uaq9zOUoYtP3WLLeJbVyfsMtuje1Yo6irvWzmw6MxPAmZGgaN8+tw2TjydGYMeqbELy SOQvVvAZ+S2BHZvic8TywN3lNJ1N3o4gd2mjr/Y7tMm/iXYvn5DFvbH5WsU4uysTp8eC v+Y8jL8ktfbjp2MUTwNSxnz0STFA6EMrpw0LadvYTrTpC8w433wjfTyb9CU3tH5d6JAz MAhQLkTpKE7M4jBhH2CD+MpPOsAEMkz9qrsV37DycskElRRnwrHsoVUIJdqTG0H2aHun f8qw==
MIME-Version: 1.0
X-Received: by 10.58.144.168 with SMTP id sn8mr1851366veb.33.1384462724213; Thu, 14 Nov 2013 12:58:44 -0800 (PST)
Received: by 10.220.109.5 with HTTP; Thu, 14 Nov 2013 12:58:44 -0800 (PST)
In-Reply-To: <CEAA6932.55A55%ropan@cisco.com>
References: <CAEjQQ5We5HHbePXTu4GfenM+UwcdpundVF30Zg9TCD+H7jXMCg@mail.gmail.com> <CEAA6932.55A55%ropan@cisco.com>
Date: Thu, 14 Nov 2013 21:58:44 +0100
Message-ID: <CAEjQQ5WW_VfXC_PQ=eaZnxg-9n3BrxLk3zKAX3heWedm_shTqw@mail.gmail.com>
From: Naeem Khademi <naeem.khademi@gmail.com>
To: "Rong Pan (ropan)" <ropan@cisco.com>
Content-Type: multipart/alternative; boundary="047d7b5da93be1b68d04eb295809"
Cc: Michael Welzl <michawe@ifi.uio.no>, "aqm@ietf.org" <aqm@ietf.org>, Preethi Natarajan <preethi.cis@gmail.com>
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: Thu, 14 Nov 2013 20:58:46 -0000

Hi Rong

comments follow inline

Thanks
Naeem

On Thu, Nov 14, 2013 at 8:59 PM, Rong Pan (ropan) <ropan@cisco.com> wrote:

>  Please see inline…
>
>  Thanks,
>
>  Rong
>
>
>
>   From: Naeem Khademi <naeem.khademi@gmail.com>
> Date: Thursday, November 14, 2013 8:43 AM
> To: Preethi Natarajan <preethi.cis@gmail.com>
> Cc: "aqm@ietf.org" <aqm@ietf.org>, Michael Welzl <michawe@ifi.uio.no>
>
> Subject: Re: [aqm] AQM schemes: Queue length vs. delay based
>
>
>
>>     Delay-based ARED behaves similar to tail drop at max threshold.
>>>
>>
>  I think I now understand what you mean by this sentence ;-) and
> therefore please ignore the paragraph responding to this specific point in
> the previous email (sorry about that, I got it mixed with max_target).
> Indeed ARED drops every packet when the average queue length grows beyond
> th_max as drop probability jumps to 1 (when it's not in gentle mode). For
> this to happen, the "average queue length" has to grow beyond th_max and
> depending on how the averaging is done, that can correspond to certain
> burst allowance at AQM. Moreover, this is done over 500 ms interval which
> means the average queue length has to stay above th_max for mostly few
> rounds of RTTs (assuming the typical distribution of RTTs on the Internet
> to have a mean/average somewhere below that value e.g. 100~200 ms). This
> allows burst that don't take the average queue size to above th_max over
> 500 ms period to pass and clear themselves up the queue.
>
>   > This is unacceptable of an AQM even for max thresholds around 50ms.
>
>  -----------------------------
>  >>>>>>>>>>>>>RP: Two issues here, first, averaging has a parameter. How
> to tune it to avoid tail drop behavior? What would be its relationship to
> max_th? Do we understand ?  Second, one single tcp's behavior is very
> bursty, if 500ms burst allowance is effective in ARED, how come is it not
> reflected in your throughput chart? The one single tcp throughput is very
> low for low latency numbers, which is a clear indication of not enough
> buffering.
>     ------------------------------------
>


NAEEMK: As stated before, we're not advocating using ARED whatsoever.
Therefore trying to fix/address ARED's inherent issues that have been
stated on this thread repeatedly would not be an option nor it enhances the
argument to support PIE or CoDel for deployment. So, I'm not going to
speculate on how one can possibly fix ARED thresholds and its burst
allowance. On the other hand, based on the presented experimental results,
we would alternatively like to see why CoDel and PIE performed worse that
ARED (designed in 2001) while they were expected to achieve latencies far
better than *RED.


>
>
>     Whether this is a good thing or bad thing is a subjective matter in
> my opinion, as most AQMs at some point will drop every packet whether it be
> the maximum queue length or at some thresholds.
>
>  ----------------------------
>  >>>>>>>>>>>>RP: I don’t think so. Neither PIE nor Codel has drop-all
> threshold as AQM part of it. Tail drop exists, but it is not part of AQM.
> Putting the latency-based  ARED aside, ARED in this current form has the
> issues that we mentioned in the previous emails. It needs significant and
> careful redesign.
>

NAEEMK: The same response as above.


> ---------------------------
>
>  There is also a comment about "Throwing away all the knowledge and
> improvement gained from RED-like AQMs, CHoKe, etc and coming up with
> brand-new AQMs …".
>
>  ------------------------------------------
> >>>>>>>>>>RP: After I worked on CHOKe (now in Linux Kernel)  in 2000 as
> part of my Ph.D. thesis at Stanford, I have worked on AFD (implemented in
> many Cisco flagship products), QCN (now IEEEE standard for data center
> ethernet, 802.1Qau), all of which are AQM schemes. I also helped writing
> guidelines in tuning WRED at Cisco. New thinkings were brought into PIE
> after I learned precious lessons (both good and bad) from all of them.
> Discarding them as "coming up with brand-new AQMs" is ignorant.
>

NAEEMK: agreed! and we are on same side :-) though it will be nice to see
the connection points between above AQMs and PIE and lessons learned being
somehow documented.


>
>  Regards,
>
>  Rong
>  --------------------------------
>
>
>  Cheers,
>  Naeem
>
>  >>>>>>>>>>>>RP:
>