From: Thomas Graf <tgraf@suug.ch>
To: rahul hari <rahulhsaxena@hotmail.com>
Cc: diffserv-general@lists.sourceforge.net, netdev@oss.sgi.com
Subject: Re: [Linux Diffserv] GRED queueing discipline and the file sch_gred.c
Date: Mon, 6 Jun 2005 13:39:07 +0200 [thread overview]
Message-ID: <20050606113907.GC15391@postel.suug.ch> (raw)
In-Reply-To: <BAY24-F263AE581155F279A048AE6C5FB0@phx.gbl>
Rahul,
* rahul hari <BAY24-F263AE581155F279A048AE6C5FB0@phx.gbl> 2005-06-06 16:08
> Thanks for the reply. Actually in my experiment, I am implementing 2
> queues, in one of the queues, I use the prio scheme of tc and in another I
> define 3 virtual queues, out of which I want to provide absolute priority
> to one of the queue over the others (ie, if there is any packet in this
> queue, it should be dispatched immediately regardless of whatever happens
> to the other two virtual queues).
Use a prio qdisc with RED leaf qdiscs. RED and GREDs purpose is to
calculate a marking probability and not to provide any prioritizing
schemes. RIO mode is a small exception from this but the used priority
only describes the weight of the VQ and has no influence on the actual
queue position later on.
> For the other two virtual queues, I want to apply individual REDs (with
> different parameters but the average queue length should be equal to the
> total qave of these two virtual queues) on each but the dequeuing priority
> should be equal (the dequeuing takes place alternately).
Use a GRED qdisc, give both VQs the same prio (so they go into equalize
mode) and enable RIO mode. The VQ you select as default will be used to
store qavg and the idle time.
CBQ
cbq:queue_1 cbq:queue_2
| |
prio GRED (rio mode)
| | | | |
RED_1 RED_2 RED_3 VQ1(prio=1) VQ2(prio=1)
You did not talk about how to separate the two initial queues so I
assumed CBQ but it doesn't really matter as long its a classful qdisc.
next prev parent reply other threads:[~2005-06-06 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050605221106.GB15391@postel.suug.ch>
2005-06-06 10:38 ` [Linux Diffserv] GRED queueing discipline and the file sch_gred.c rahul hari
2005-06-06 11:39 ` Thomas Graf [this message]
2005-06-06 11:54 ` jamal
2005-06-06 12:15 ` Thomas Graf
2005-06-06 19:12 ` rahul hari
2005-06-06 11:45 ` jamal
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=20050606113907.GC15391@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=diffserv-general@lists.sourceforge.net \
--cc=netdev@oss.sgi.com \
--cc=rahulhsaxena@hotmail.com \
/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).