All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] CBQ and excess bandwidth
@ 2001-10-27 18:47 Patrick Nagelschmidt
  0 siblings, 0 replies; only message in thread
From: Patrick Nagelschmidt @ 2001-10-27 18:47 UTC (permalink / raw)
  To: lartc


i've got a problem with bounded and unbounded classes using cbq. i want to create
two classes for my outbound network connection, one for the normal data and one
only for ack-packets:

tc qdisc add dev ppp0 root handle 1: cbq bandwidth 10Mbit avpkt 1000 mpu 64

tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 768kbit allot 1514 weight 76.8kbit prio 8 maxburst 20 avpkt 1000 bounded

tc class add dev ppp0 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 16kbit allot 1514 weight 16kbit prio 1 maxburst 20 avpkt 1000

tc class add dev ppp0 parent 1:1 classid 1:3 cbq bandwidth 10Mbit rate 112kbit allot 1514 weight 11.2kbit prio 7 maxburst 20 avpkt 1000 [bounded]
[...]

with 1:3 set to bounded this works perfectly and i get ~90kb/s downstream with an
upload running at the same time. BUT i dont want to limit class 1:3 if class 1:2 
has excess bandwidth. i thought it should be enough to remove the 'bounded' from 
class 1:3 to share excess bandwidth from class 1:2. 
but if i do so, class 1:3 uses bandwidth of class 1:2 even if no excess bandwidth
is available from 1:2. 1:3 is simply 'stealing'. without the 'bounded' i get ~25kb/s
downstream if i upload. and this means not all ack-packets have been sent as fast 
as possible, regardless that the ack-class has the highest priority. 

anyone got an idea what i've done wrong?

thanks in advance

Patrick Nagelschmidt 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

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

only message in thread, other threads:[~2001-10-27 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-27 18:47 [LARTC] CBQ and excess bandwidth Patrick Nagelschmidt

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.