All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb ceiling
@ 2002-04-05  8:19 Gavin
  2002-04-05  8:42 ` Stef Coene
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Gavin @ 2002-04-05  8:19 UTC (permalink / raw)
  To: lartc

Hello,

I'm using HTB (through htb.init :) and it's nearly perfect, but the CEIL
directive seems to have no effect.

The relevant lines are:

tc qdisc add dev eth1 root handle 1 htb default 10 r2q 100
tc class add dev eth1 parent 1: classid 1:2 htb rate 5Mbit burst 15k
tc class add dev eth1 parent 1:2 classid 1:40 htb rate 256Kbit ceil 512Kbit
burst 15k
tc qdisc add dev eth1 parent 1:40 handle 40 sfq perturb 10
tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst
10.0.0.2 classid 1:40

 - this allows 10.0.0.2 to download at 256Kbit, even when it is the only
machine doing any downloading.  I can affect this speed by changing the
$rate, but changing $ceil has no effect whatsoever.

Platform:
RH7.2, 2.4.9-31 (patched for htb)
tc patched for htb
iproute2-ss001007 (Tried the patch for htb, but compilation failed with
/usr/include/arpa/inet.h:74: warning: data definition has no type or storage
class
/usr/include/arpa/inet.h:78: parse error before `__net'
)

Is there something wrong with the above commands?

Thanks,

Gavin

http://www.raha.com

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-04-07 17:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-05  8:19 [LARTC] htb ceiling Gavin
2002-04-05  8:42 ` Stef Coene
2002-04-05  9:01 ` Gavin
2002-04-05 10:40 ` Martin Devera
2002-04-05 11:58 ` Gavin
2002-04-05 12:10 ` Martin Devera
2002-04-05 12:26 ` Stef Coene
2002-04-05 12:26 ` Stef Coene
2002-04-05 12:41 ` Gavin
2002-04-05 13:09 ` Martin Devera
2002-04-05 15:52 ` Stef Coene
2002-04-07 17:52 ` Gavin

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.