From: "Nai-Hsien" <dennis@loop.com.tw>
To: lartc@vger.kernel.org
Subject: [LARTC] PowerPC can not accurately run HTM
Date: Tue, 01 Nov 2005 10:21:25 +0000 [thread overview]
Message-ID: <014501c5dece$0376be30$0102000a@loop.com.tw> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]
I am running HTB on a PowerPC platform and using following script to do rate limit.
When I set rate of class 1:11 lower than 4mbit, I can get traffic rate close to the setting.
However, if I set the rate higher than 4mbit, I will get much
lower bandwidth (roughly 4.5mbit) than the setting, no matter how big the setting is.
To verify the script, I run it on PC with then I got correct result.
Could anybody give me some hints?
Thank you
Dennis
tc qdisc add dev wan1 root handle 1: htb default 10
tc class add dev wan1 parent 1: classid 1:1 htb rate 100mbit
tc class add dev wan1 parent 1:1 classid 1:10 htb rate 1mbit ceil 2mbit
tc class add dev wan1 parent 1:1 classid 1:11 htb rate 8mbit ceil 8mbit
tc filter add dev wan1 protocol ip parent 1: u32 match ip dst 11.1.1.1 flowid 1:11
[-- Attachment #1.2: Type: text/html, Size: 1873 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
reply other threads:[~2005-11-01 10:21 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='014501c5dece$0376be30$0102000a@loop.com.tw' \
--to=dennis@loop.com.tw \
--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 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.