Re: [aqm] References on AQM test results and fq_nocodel

"De Schepper, Koen (Koen)" <koen.de_schepper@alcatel-lucent.com> Tue, 14 April 2015 15:40 UTC

Return-Path: <koen.de_schepper@alcatel-lucent.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 9DADA1B2D26 for <aqm@ietfa.amsl.com>; Tue, 14 Apr 2015 08:40:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.909
X-Spam-Level:
X-Spam-Status: No, score=-3.909 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, 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 P_GAVt6W0FGo for <aqm@ietfa.amsl.com>; Tue, 14 Apr 2015 08:40:03 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94EC01B2CEA for <aqm@ietf.org>; Tue, 14 Apr 2015 08:40:02 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (unknown [135.239.2.42]) by Websense Email Security Gateway with ESMTPS id 8D6D2AACF286D; Tue, 14 Apr 2015 15:39:54 +0000 (GMT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id t3EFdu1U008999 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 14 Apr 2015 17:39:56 +0200
Received: from FR711WXCHMBA05.zeu.alcatel-lucent.com ([169.254.1.213]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.03.0195.001; Tue, 14 Apr 2015 17:39:56 +0200
From: "De Schepper, Koen (Koen)" <koen.de_schepper@alcatel-lucent.com>
To: Jim Gettys <jg@freedesktop.org>, Toke Høiland-Jørgensen <toke@toke.dk>
Thread-Topic: [aqm] References on AQM test results and fq_nocodel
Thread-Index: AdB2ACpSZak1wModQSWAzPrkxbVugAAB6jHt///sNYCAACZRTf//74AA//6HN/A=
Date: Tue, 14 Apr 2015 15:39:56 +0000
Message-ID: <BF6B00CC65FD2D45A326E74492B2C19FB75C1ED6@FR711WXCHMBA05.zeu.alcatel-lucent.com>
References: <1BFAC0A1D7955144A2444E902CB628F85E092996@US70TWXCHMBA11.zam.alcatel-lucent.com> <87vbh010tn.fsf@toke.dk> <1BFAC0A1D7955144A2444E902CB628F85E093A39@US70TWXCHMBA11.zam.alcatel-lucent.com> <87r3rolydh.fsf@toke.dk> <CAGhGL2Cn4CyBe0ZpKK6Mfca-bHnYmSC3BaTx5FZX5=hD5qhGVw@mail.gmail.com>
In-Reply-To: <CAGhGL2Cn4CyBe0ZpKK6Mfca-bHnYmSC3BaTx5FZX5=hD5qhGVw@mail.gmail.com>
Accept-Language: nl-BE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.41]
Content-Type: multipart/alternative; boundary="_000_BF6B00CC65FD2D45A326E74492B2C19FB75C1ED6FR711WXCHMBA05z_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/l-z7IZ0Me8eAwQVXSFA9AYcC_hg>
Cc: "Francini, Andrea (Andrea)" <andrea.francini@alcatel-lucent.com>, "aqm@ietf.org" <aqm@ietf.org>, Michael Welzl <michawe@ifi.uio.no>
Subject: Re: [aqm] References on AQM test results and fq_nocodel
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: <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: Tue, 14 Apr 2015 15:40:07 -0000

> However, note that in the tests I have
> run, the latency is measured by a separate flow; the latency of the
> packets making up the bulk flows is not measured.

I’m also interested to see how interactive adaptive applications are performing on the different FQ schemes. For most of the time, such an application will behave as a greedy flow (always data available), while the generation of application data is made fast adaptive to the available throughput experienced by the sender application. Obviously the interactivity is enhanced when the network has a very low latency, which is not provided by the FQ_noCodel scheme. Reporting the self inflicted delay on greedy flows might be a good measurement to additionally report in the test suites, so its impact on greedy interactive applications can be estimated.

> So both a mark/drop algorithm and flow queuing are needed to really solve
> the problem, though as Toke says, fq makes the biggest difference if you only pick one.

I expect also that the advantage of FQ in general will becomes less relevant if the queue of all flows in the network are very small and even most of the time empty. This is what you see already when a low latency configured AQM is combined with FQ. The lower the latency in the queues the less the impact of FQ. FQ might still have an advantage in case of dynamics where a queue build up cannot be avoided.

Koen.


From: aqm [mailto:aqm-bounces@ietf.org] On Behalf Of Jim Gettys
Sent: maandag 13 april 2015 20:43
To: Toke Høiland-Jørgensen
Cc: Michael Welzl; aqm@ietf.org; Francini, Andrea (Andrea)
Subject: Re: [aqm] References on AQM test results and fq_nocodel

Note that having no AQM at all, and only flow queuing (e.g. fq_nocodel), leaves some applications in dire straights, being both interactive, and using a single TCP stream (for example, you really don't want to run my favorite window system, X, over a bloated link without some form of mark/drop algorithm to keep TCP behaving sanely).  And with RTT's of those applications growing without bounds, they become really insane charging elephants.  Ironically, I used to be able to run X over intercontinental links (e.g. 150ms RTT's); trying that on today's bloated edge puts you in a world of hurt.

So both a mark/drop algorithm and flow queuing are needed to really solve the problem, though as Toke says, fq makes the biggest difference if you only pick one. But this is really more of an artifact of the web's abuse of TCP; tons of short, transient connections...
                                            - Jim



On Mon, Apr 13, 2015 at 1:41 PM, Toke Høiland-Jørgensen <toke@toke.dk<mailto:toke@toke.dk>> wrote:
"Francini, Andrea (Andrea)" <andrea.francini@alcatel-lucent.com<mailto:andrea.francini@alcatel-lucent.com>> writes:

> CoDel's effort to limit the queuing delay appears well motivated when
> there is only one queue (e.g., to shield VoIP from the delay induced
> by bulk-transfer or video traffic), but when multiple queues are
> available the net gain of the effort is unclear. I suspect the same
> may happen with the flow-queue version of PIE.

Yep, this has been my conclusion as well, and the test results on those
slides are what convinced me of it: flow queueing is much more important
than AQM, for most applications. However, note that in the tests I have
run, the latency is measured by a separate flow; the latency of the
packets making up the bulk flows is not measured. For most common
traffic, this is fine, but there can be exceptions where you have a flow
that has enough traffic to induce a queue, but which also requires low
latency throughout. Adaptive video codecs for real-time media is a
notable example. For those, having the AQM is nice.

Also, having the AQM in place guards you against hash collisions. With
the AQM in place, you degrade to its performance, whereas without,
you're basically back to a large, dumb FIFO queue. fq_codel as it exists
now is unfortunately not immune to those; we're working (in the
Bufferbloat community) on an improved queueing discipline that solves
this in most cases. See http://www.bufferbloat.net/projects/codel/wiki/Cake

> Is this just because the set of tests in the slides does not include
> one that clearly exposes the superiority of fq_codel over fq_nocodel?
> And what would that test look like?

Well, see above. Adaptive real-time video in particular is under-tested,
in part due to a lack of good tools to generate traffic. Also, if you
want to see fq_* break, try sticking all your flows in an encrypted VPN :)

-Toke

_______________________________________________
aqm mailing list
aqm@ietf.org<mailto:aqm@ietf.org>
https://www.ietf.org/mailman/listinfo/aqm