Re: [aqm] RED implementation on Linux 3.14.22

Jim Gettys <jg@freedesktop.org> Mon, 15 December 2014 13:41 UTC

Return-Path: <gettysjim@gmail.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 4798F1A6F99 for <aqm@ietfa.amsl.com>; Mon, 15 Dec 2014 05:41:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.977
X-Spam-Level:
X-Spam-Status: No, score=-0.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 nVucNJp_-Iv1 for <aqm@ietfa.amsl.com>; Mon, 15 Dec 2014 05:41:47 -0800 (PST)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C75291A6FB2 for <aqm@ietf.org>; Mon, 15 Dec 2014 05:41:46 -0800 (PST)
Received: by mail-oi0-f47.google.com with SMTP id v63so8012641oia.20 for <aqm@ietf.org>; Mon, 15 Dec 2014 05:41:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=fYgyXqG4SrxpA5vsZ4o8k5UPTGKc4nirTNZheYewD34=; b=QUBYxOhS9lLTQtumQwPXpiq6qTyKZ7ieV+UAiS8ekSL8Z4W4lUmr3xqNW8YyME7hwc gpGu+2uX3bkEVKwPx4D2cTgpYKRq1r99lPZ05EFFUWYLXMoy5K3M1qgodt0FO6rdDxns XcjjVFytrc7mMiMzzzXDA9o01VNBqo4calN0P7t48WiOMZ+xHJ4ow56VOvfKts76Pm9R 4LLzb3eyF9PMpZWUVvcCn1EmIHLXmiGmAPjjjf+vBzDCBGXOgzRFDeObBevSPQcwKmrk AlkpGST+IuRXs9wz8f/0ruC3convN/4+OTnqe0Ma9i9y3e1JJ14VKh79Wlf1irgAFWXm dh5A==
MIME-Version: 1.0
X-Received: by 10.202.58.87 with SMTP id h84mr18114674oia.118.1418650905966; Mon, 15 Dec 2014 05:41:45 -0800 (PST)
Sender: gettysjim@gmail.com
Received: by 10.76.194.73 with HTTP; Mon, 15 Dec 2014 05:41:45 -0800 (PST)
In-Reply-To: <CAPJm55PbSg4_nHfMAyLfJC_zyaBJUFzTr4pj_ieBbrbJW0Wbgg@mail.gmail.com>
References: <CAPJm55PbSg4_nHfMAyLfJC_zyaBJUFzTr4pj_ieBbrbJW0Wbgg@mail.gmail.com>
Date: Mon, 15 Dec 2014 08:41:45 -0500
X-Google-Sender-Auth: DJTvd1GGKHUtZwMBJo6DJPjvH_o
Message-ID: <CAGhGL2D2XPrv0pjWv+i+UVTafHsvLnapShe+MHW3LRyxY24ACg@mail.gmail.com>
From: Jim Gettys <jg@freedesktop.org>
To: Simone Ferlin-Oliveira <ferlin@simula.no>, Toke Høiland-Jørgensen <toke@toke.dk>, Dave Taht <dave.taht@gmail.com>
Content-Type: multipart/alternative; boundary="001a113cd57c4f8115050a416761"
Archived-At: http://mailarchive.ietf.org/arch/msg/aqm/yEZA9v0_GFvhLCjuTwQeVWeReY8
Cc: "aqm@ietf.org" <aqm@ietf.org>
Subject: Re: [aqm] RED implementation on Linux 3.14.22
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: Mon, 15 Dec 2014 13:41:49 -0000

On Mon, Dec 15, 2014 at 2:51 AM, Simone Ferlin-Oliveira <ferlin@simula.no>
wrote:
>
> All,
>
> I am doing some work with shared bottleneck detection that requires
> some evaluation with different AQM, in particular, RED. Since I
> haven't been following the evolution of the implementation,  I would
> like to ask about your experience with the code on Linux 3.14 (and
> newer).
>

​I know that Dave Taht ran into bugs in RED a while back, which I believe
have been fixed for quite a while.

You should always be looking at whether code has been patched in the
current kernel.org system for a module like that you are interested in, so
do a diff between 3.14 and the current Linux system. 3.14 is recent enough
that it may be viable for experiments, for the time being.  Planning to
keep up with Linux development is wise long term in any case, as the rate
of improvement/change in the networking stack is very high at the moment as
draining the bufferbloat swamp and other performance work continues.

Also note that underlying device drivers may have (sometimes lots) of
buffering out of control of the Linux queue discipline.  For Ethernet
devices, you should ensure that that the drivers have BQL support
implemented to minimize this buffering.  Other classes of drivers are more
problematic, and may have lots of buffering to surprise you.

Also be aware that ethernet flow control may move the bottleneck from where
you expect to somewhere else, and that switches in networks also have to be
well understood.  Most consumer switches have this *on* by default, and
mixed 1G/100Mb networks can be particularly "entertaining" in this regard.
Cable modems, unfortunately, typically do not implement flow control, but
some DSL modems do (putting the bottleneck into your router, rather than in
the modem).


> *Any* help is appreciated.
>

​Hope this helps.
​


>
> Thanks,
> Simone
>
> _______________________________________________
> aqm mailing list
> aqm@ietf.org
> https://www.ietf.org/mailman/listinfo/aqm
>