is CBQ wrong !!!

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux