From: Stephen Hemminger <stephen@networkplumber.org>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] qdisc: allow setting default queuing discipline
Date: Wed, 28 Aug 2013 09:18:36 -0700 [thread overview]
Message-ID: <20130828091836.5c8285f4@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1377665870.8828.163.camel@edumazet-glaptop>
On Tue, 27 Aug 2013 21:57:50 -0700
Eric Dumazet <eric.dumazet@gmail.com> wrote:
> On Tue, 2013-08-27 at 21:00 -0700, Eric Dumazet wrote:
> > On Tue, 2013-08-27 at 16:19 -0700, Stephen Hemminger wrote:
> > > By default, the pfifo_fast queue discipline has been used by default
> > > for all devices. But we have better choices now.
> > >
> > > This patch allow setting the default queueing discipline with sysctl.
> > > This allows easy use of better queueing disciplines on all devices
> > > without having to use tc qdisc scripts. It is intended to allow
> > > an easy path for distributions to make fq_codel or sfq the default
> > > qdisc.
> > >
> > > This patch also makes pfifo_fast more of a first class qdisc, since
> > > it is now possible to manually override the default and explicitly
> > > use pfifo_fast. The behavior for systems who do not use the sysctl
> > > is unchanged, they still get pfifo_fast
> > >
> > > Also removes leftover random # in sysctl net core.
> > >
> > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > >
> > > ---
> >
> > I find this quite incredible, because I was going to write such patch
> > tonight ;)
> >
> > Now I can just relax, thanks so much Stephen !
> >
> > Acked-by: Eric Dumazet <edumazet@google.com>
> >
>
> I was wondering if we also could redefine the pfifo default, used for
> example in HTB classes.
>
> ie calls to qdisc_create_dflt( ... &pfifo_qdisc_ops )
>
> /proc/sys/net/core/default_qdisc would 'define' the default pfifo_fast,
>
> /proc/sys/net/core/default_pfifo_qdisc would 'define' the default pfifo,
>
> Or something like that...
Although your idea adds completeness, not sure if it is worth it.
The thing is if user is using HTB, they already are using tc
commands to set it up, therefore the additional script steps to choose some
other qdisc for the leaf nodes doesn't seem like a burden.
Therefore the sysctl doesn't help much and might even create more
confusion because there is now two places to update.
next prev parent reply other threads:[~2013-08-28 16:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 23:19 [PATCH net-next] qdisc: allow setting default queuing discipline Stephen Hemminger
2013-08-27 23:22 ` Ben Greear
2013-08-30 2:25 ` David Miller
2013-08-28 4:00 ` Eric Dumazet
2013-08-28 4:57 ` Eric Dumazet
2013-08-28 16:18 ` Stephen Hemminger [this message]
2013-08-28 17:20 ` Eric Dumazet
2013-08-28 17:28 ` Stephen Hemminger
2013-08-29 12:02 ` Eric Dumazet
2013-08-30 2:23 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130828091836.5c8285f4@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).