Re: [net-next-2.6 PATCH v2 3/3] net_sched: implement a root container qdisc sch_mclass

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Monday, January 3, 2011 - 10:02 am

On Sun, Jan 02, 2011 at 09:43:27PM -0800, John Fastabend wrote:

Well, I sometimes add leaf qdiscs only to get class stats with less
typing, too ;-)


IMHO, these tc offsets and counts make simply two level hierarchy
(classes with leaf subclasses) similarly (or simpler) to other
classful qdisc which manage it all inside one module. Of course,
we could think of another way of code organization, but it should
be rather done at the beginning of schedulers design. The mq qdisc
broke the design a bit adding a fake root, but I doubt we should go
deeper unless it's necessary. Doing mclass (or something) as a more
complex alternative to mq should be enough. Why couldn't mclass graft
sch_sfq the same way as mq?


I am not too hung up on this either, especially if it's OK to others,
especially to DaveM ;-)


Maybe you're right. On the other hand, usually flags are added for
more general purpose and the optimal/wrong configs are the matter of
documentation.


OK, I probably missed this second possibility in the last version.

...
...

OK, anyway, all these '16' should be 'upgraded'.
 
Thanks,
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [net-next-2.6 PATCH v2 1/3] net: implement mechanism f ..., Stephen Hemminger, (Sun Dec 26, 4:47 pm)
Re: [net-next-2.6 PATCH v2 3/3] net_sched: implement a roo ..., Jarek Poplawski, (Mon Jan 3, 10:02 am)