From: Jarek Poplawski <jarkao2@gmail.com>
To: Denys Fedoryschenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org
Subject: Re: pkt_sched: add DRR scheduler, any idea how to use it?
Date: Fri, 27 Feb 2009 10:51:02 +0000 [thread overview]
Message-ID: <20090227105102.GE4156@ff.dom.local> (raw)
In-Reply-To: <200902261826.17228.denys@visp.net.lb>
On 26-02-2009 17:26, Denys Fedoryschenko wrote:
> I tried
>
> c qdisc add dev ifb0 handle 1 root htb
>
> tc class add dev ifb0 classid 1:100 parent 1:0 htb rate 100Kbit ceil 100Kbit
> tc qdisc add dev ifb0 parent 1:100 handle 2 drr
>
> Packets directed by filter to 1:100, all gots dropped. And even i am adding
> tc class add dev ifb0 parent 2:0 classid 2:1 drr quantum 16384
>
> or
>
> tc class add dev ifb0 parent 2:0 classid 2:0 drr quantum 16384
>
> or
>
> tc class add dev ifb0 parent 2:0 classid 2:1 drr quantum 16384
> tc qdisc add dev ifb0 parent 2:1 handle 3 bfifo limit 10000
>
>
> Always it is
> qdisc drr 2: parent 1:100
> Sent 0 bytes 0 pkt (dropped 32, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
>
> Any simple example how to use it?
Something like above plus filters to these classes, so similarly to
HFSC or HTB (but no defaults). You could try to simulate sch_sfq()
behaviour using cls_flow (one class per flow).
Jarek P.
prev parent reply other threads:[~2009-02-27 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 16:26 pkt_sched: add DRR scheduler, any idea how to use it? Denys Fedoryschenko
2009-02-27 10:51 ` Jarek Poplawski [this message]
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=20090227105102.GE4156@ff.dom.local \
--to=jarkao2@gmail.com \
--cc=denys@visp.net.lb \
--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).