From: noroozi@mehr.sharif.edu
To: lartc@vger.kernel.org
Subject: [LARTC] is CBQ wrong !!!
Date: Mon, 02 Sep 2002 12:13:03 +0000 [thread overview]
Message-ID: <marc-lartc-103096858610404@msgid-missing> (raw)
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/
reply other threads:[~2002-09-02 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103096858610404@msgid-missing \
--to=noroozi@mehr.sharif.edu \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox