All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] is CBQ  wrong !!!
@ 2002-09-02 12:13 noroozi
  0 siblings, 0 replies; only message in thread
From: noroozi @ 2002-09-02 12:13 UTC (permalink / raw)
  To: lartc

Hello every body ,
I am really mixed up ,I set the TC linke below,I take the rate around 3-4 
Mbit/Sec, I forward  530 Mbit file over the line bye network card 100 Mbit,
If you know why I am really wait to help me,
Is my code wrong,or not ????
Is the number of rule effect on the speed ???
I examine bye 2 rules and 90 rules but the rate that I establish is fix 3-4 
Mbit/sec !!!!!!

##################################################################
tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit avpkt 1000 rate 
100Mbit
##################################################################
tc class add dev eth0 parent 1: classid 1:1 cbq bandwidth 100Mbit rate 100Mbit 
mpu 1500 allot 1500 prio 5 bounded isolated
tc class add dev eth0 parent 1:1 classid 1:20 cbq rate 40Mbit bandwidth 40Mbit 
mpu 1500 avpkt 1000 allot 1600 minburst 100  maxburst 100 prio 1  isolated 
bounded
tc class add dev eth0 parent 1:1 classid 1:10 cbq rate 60Mbit bandwidth 60Mbit 
mpu 1500 avpkt 1000 allot 1600 minburst 200 maxburst 10000 prio 2 isolated 
bounded
tc qdisc add dev eth0 parent 1:10 handle 10: pfifo limit 10
tc qdisc add dev eth0 parent 1:20 handle 20: pfifo limit 10
##################################################################
##################################################################
tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip src 
194.225.42.37/32 flowid 1:20
tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip src 
194.225.42.36/32 flowid 1:10

 194.225.42.35/32 flowid 1:20
tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip src 
194.225.42.34/32 flowid 1:20


---------------------------------------------
This message was sent using sharif web-based mail.
http://mehr.sharif.edu


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

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

only message in thread, other threads:[~2002-09-02 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-02 12:13 [LARTC] is CBQ wrong !!! noroozi

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.