All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Priorities
@ 2001-01-28 21:15 Geert
  0 siblings, 0 replies; only message in thread
From: Geert @ 2001-01-28 21:15 UTC (permalink / raw)
  To: lartc

<PRE>Hi,

I have been experimenting with linux bandwidth shaping through tc. Basically
everything works fine, but because of the somewhat scarce and scattered
documentation (I looked through the howto and the mailing list archives (and
even in the kernel sources)) I still have some questions, probably like most
of us ;-)

What is the exact effect of setting a priority for a class?
   e.g.   tc class add dev eth1 ... cbq prio 1 ...
    vs.   tc class add dev eth1 ... cbq prio 8 ...
with all other cbq parameters the same, results in having the first class
consistently allocated only 1% more bandwidth. This difference is much less
than what one would expect. It seems related to the prio parameter however,
because it is independent of the order the classes are specified.

So what's up? When are those priorities used? Do I need to set other
parameters or queues/classes as well? I tried to attach  other queues than
the default to the classes (prio for instance), but that didn't help. The
top level queue is a CBQ

Maybe my method of testing is flawed? I use a program 'ttcp' that
continuously sends maximum size TCP packets to a given port.

Thanks,
Geert



</PRE>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-28 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28 21:15 [LARTC] Priorities Geert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.