All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Traffic is exceeding limits
@ 2002-12-18 12:23 Mindaugas Riauba
  2002-12-18 21:40 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Mindaugas Riauba @ 2002-12-18 12:23 UTC (permalink / raw)
  To: lartc


  I'm trying to setup traffic shaping for a customer.
Machine is RedHat 7.3 with kernel-smp-2.4.18-18.7.x.
HZQ2.

  But when I try to load link (using netcat and discard /
chargen services) bytes count (tc -s qdisc show, sfq qdisc)
goes quite well over 512kbit (~560kbit). With UDP I can
even go over 1mbit.

  What can be done to ensure tighter limits?

  Thanks,

  Mindaugas

  burst and cburst were set by tc and equals 2175b. r2q = 10.

  No more tc rules exists now.

$TC qdisc del dev eth0 root
$TC qdisc del dev eth1 root

$TC qdisc add dev eth0 root handle 1: htb
$TC qdisc add dev eth1 root handle 1: htb

$TC class add dev eth0 parent 1: classid 1:200 htb rate 512kbit
$TC class add dev eth1 parent 1: classid 1:200 htb rate 512kbit

$TC qdisc add dev eth0 parent 1:200 handle 200: sfq perturb 10
$TC qdisc add dev eth1 parent 1:200 handle 200: sfq perturb 10

$TC filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src $ip
flowid 1:200
$TC filter add dev eth1 parent 1: protocol ip prio 1 u32 match ip dst $ip
flowid 1:200

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

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

end of thread, other threads:[~2002-12-18 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 12:23 [LARTC] Traffic is exceeding limits Mindaugas Riauba
2002-12-18 21:40 ` Stef Coene

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.