* Something on CBQ!
@ 2005-01-07 10:00 Zhenyu Wu
0 siblings, 0 replies; only message in thread
From: Zhenyu Wu @ 2005-01-07 10:00 UTC (permalink / raw)
To: netdev; +Cc: lartc, imipak
Hello,
I think I have misundertood the relationship between cbq and the queue (such as
Red) attached to
it. This is my latest opion, please give me some advice on it:
At beginning, I thought that a packet will be firstly classified by the CBQ where
it will
find the proper class it belongs to. Then the packet enters the queue attached to
that class.
At last, the packet is scheduled in that queue, and put into the link. But now, I
find it is
wrong. I have read the source code on CBQ again, especially the part-cbq_dequeue,
I think
that at first the CBQ will find the active class and their priority. Then in the
function
cbq_dequeue_prio, the algorithm WRR will be used to schedule the packet. At first,
it find a class,
then, this skb = cl->q->dequeue(cl->q) maybe very important, I think "cl->q" is
the queue
attached to the class "cl". So, the packet in the different queue is scheduled and
put into
the link.
Another issue is that a scheduling algorithm WRR is used here, But i think it is
not the best
one, So can we modify here and add a new scheduling algorithm as we expected?
What about your opions?
Best,
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-07 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 10:00 Something on CBQ! Zhenyu Wu
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).