From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 2DB5B20133B for ; Wed, 8 Jun 2011 06:11:50 -0700 (PDT) Received: by iwn8 with SMTP id 8so606584iwn.16 for ; Wed, 08 Jun 2011 06:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bQwGkmoNJqroU8kQje8gFPB8JYbJ3sn4A+qYy/mxdZY=; b=TVx66WTtMLRFS5BIPxYR29dyA1/k+3eXsmyz3Lic2qS/r19oRmzcv8tvbuQaNcjAxd iO9TuQunm8nj7Ia6WSYBcMHzPuRnnEVLWMs47u063fvzHzTsZLqmnz1di2ibYm0i/w35 KWBS7Q0EvvMq1ym6duQrGm3W7c+ThusXvyw14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KIMrDyVmRT7L9AZKKAqh+qpT3SFnSa0fPFrYbsYST8AdKFkAZBp0loar5ouAd70+HA QInJlMhyYKMJd0tUjbkk9+N0BjRqRjHUzwvqo7B3JQ1RgixAkiBD3uAEUAL8zn9egf3u v/raQxDDqyawMQ/dFJgzyKSpCqW0fzMMur7xQ= MIME-Version: 1.0 Received: by 10.231.1.14 with SMTP id 14mr1910605ibd.13.1307539938098; Wed, 08 Jun 2011 06:32:18 -0700 (PDT) Received: by 10.231.13.76 with HTTP; Wed, 8 Jun 2011 06:32:18 -0700 (PDT) In-Reply-To: <1307537773.3057.17.camel@edumazet-laptop> References: <1307537773.3057.17.camel@edumazet-laptop> Date: Wed, 8 Jun 2011 07:32:18 -0600 Message-ID: From: Dave Taht To: Eric Dumazet Content-Type: multipart/alternative; boundary=001517741a9e8a3d6704a5335dc8 Cc: bloat Subject: Re: [Bloat] Notes about hacking on AQMs X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 13:11:50 -0000 --001517741a9e8a3d6704a5335dc8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Jun 8, 2011 at 6:56 AM, Eric Dumazet wrote= : > Le mercredi 08 juin 2011 =E0 06:12 -0600, Dave Taht a =E9crit : > > > SFQ is the second most commonly used qdisc, but doesn't balance in > > ways ESFQ could. > > > > ESFQ really looked like a winner and I'm sorry it never made the > > mainline kernel. > > Hmm, since 2007 SFQ has all ESFQ provided, if you use a flow classifier, > you can exactly match your needs. > > [ SFQ uses an internal flow classifer on > src,dst,proto,proto-src,proto-dst ] > > Say you want to make something only about dst addresses : > > tc filter add ... flow hash \ > keys dst divisor 1024 > > With recent SFQ, you can play with a divisor in [256 .. 65536] > > > Didn't know that!! VERY COOL. How history changes. > Refs : > > http://lwn.net/Articles/236200/ > > http://www.nuclearcat.com/mediawiki/index.php/Linux_iproute2 > > > > --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 http://the-edge.blogspot.com --001517741a9e8a3d6704a5335dc8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jun 8, 2011 at 6:56 AM, Eric Dum= azet <eric.d= umazet@gmail.com> wrote:
Le mercredi 08 juin 2011 =E0 06:12 -0600, Dave Taht a =E9crit :

> SFQ is the second most commonly used qdisc, but doesn't balance in=
> ways ESFQ could.
>
> ESFQ really looked like a winner and I'm sorry it never made the > mainline kernel.

Hmm, since 2007 SFQ has all ESFQ provided, if you use a flow classifi= er,
you can exactly match your needs.

[ SFQ uses an internal flow classifer on
src,dst,proto,proto-src,proto-dst ]

Say you want to make something only about dst addresses :

tc filter add ... flow hash \
=A0 =A0 =A0 =A0keys dst divisor 1024

With recent SFQ, you can play with a divisor in [256 .. 65536]



Didn't know that!! VERY COOL. How history cha= nges.
=A0
Refs :

http://lwn.ne= t/Articles/236200/

http://www.nuclearcat.com/mediawiki/index.php/Linux_iproute= 2






--
Dave T=E4ht
SKYPE: d= avetaht
US Tel: 1-239-829-5608
http://the-edge.blogspot.com
--001517741a9e8a3d6704a5335dc8--