* [LARTC] HTB+BRIDGE QUERSTION!!!!!!!!!!!!!!!!!!!
@ 2003-07-22 1:12 tanxuey
2003-07-22 16:35 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: tanxuey @ 2003-07-22 1:12 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 2392 bytes --]
Hi all!!!
I do not know why my letter was sent back again and again!!!
Trever said my ceil value was wrong!!!
My test enviroment is local ethernet network, computer 18 has 10Mbit network card, and HTB+BRIDGE box has two 100Mbit network card,
computer 29 and 26 have 100Mbit network card too. 26 and 29 link to HTB+BRIDGE eth0 by 100Mbit SWITCHER not HUB.
My ceil parameter set to 10Mbit wrong?
Yestoday, I found the performace of HTB is related to r2q value and ceil value.
If I set ceil to 100kbps,set r2q to 1,it is ok.
If I set ceil to 200kbps,set r2q to 1.tc always say "HTB: quantum of class 10001 is big, Consider r2q change".
In my test environment that I first mentioned,I saw the same information.
Can you tell me their relation??
This letter was sent yestoday,but sent back this morning.I do not know why!!!
----- Original Message -----
From: "tanxuey" <tanxuey@163.com>
To: "Trevor Warren" <trevorwarren@softhome.net>
Sent: Friday, July 18, 2003 9:41 AM
Subject: Re: [LARTC] HTB + BRIDGEQUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!
I setup a bridge using brctl. my setup as following:
192.168.2.26 | | |
|------------- | HTB+BR box |-------- 192.168.2.18
| eth0 | | eth1
192.168.2.29 | | |
I want to limit the traffics when i download data from 192.168.2.18 to 26 or 29.
My script as following:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 10Mbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1Mbit ceil 10Mbit prio 1
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 7Mbit ceil 10Mbit prio 2
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 2Mbit ceil 10Mbit prio 3
tc filter add dev eth0 parent 1:0 protocol ip prio 10 u32 match ip dst 192.168.2.26/32 flowid 1:11
tc filter add dev eth0 parent 1:0 protocol ip prio 10 u32 match ip dst 192.168.2.29/32 flowid 1:12
26 download from 18,26 can get 900kbytes/s. if 26 and 29 download simultaneously, 26 get 400kbytes/s while 29 get 500kbytes/s .
I had thought 26 gets more than 7Mbit/s and 29 gets more than 2Mbit/s.
i do not know why
any idea any sugestion ! please tell me, I really appreciate your help!!!
[-- Attachment #2: Type: text/html, Size: 5298 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] HTB+BRIDGE QUERSTION!!!!!!!!!!!!!!!!!!!
2003-07-22 1:12 [LARTC] HTB+BRIDGE QUERSTION!!!!!!!!!!!!!!!!!!! tanxuey
@ 2003-07-22 16:35 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-07-22 16:35 UTC (permalink / raw)
To: lartc
On Tuesday 22 July 2003 03:12, tanxuey wrote:
> Hi all!!!
>
>
> I do not know why my letter was sent back again and again!!!
Maybe because there are a lot of ! in the subject and not everybody is
appreciating that.
> Trever said my ceil value was wrong!!!
If you have a 10 mbit and your ceil is 10mbit, you will not shape any traffic
because the network is the bottlenect.
> My test enviroment is local ethernet network, computer 18 has 10Mbit
> network card, and HTB+BRIDGE box has two 100Mbit network card,
>
> computer 29 and 26 have 100Mbit network card too. 26 and 29 link to
> HTB+BRIDGE eth0 by 100Mbit SWITCHER not HUB.
>
> My ceil parameter set to 10Mbit wrong?
>
> Yestoday, I found the performace of HTB is related to r2q value and ceil
> value. If I set ceil to 100kbps,set r2q to 1,it is ok.
> If I set ceil to 200kbps,set r2q to 1.tc always say "HTB: quantum of class
> 10001 is big, Consider r2q change".
>
> In my test environment that I first mentioned,I saw the same information.
>
> Can you tell me their relation??
See faq page on www.docum.org
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
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:[~2003-07-22 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-22 1:12 [LARTC] HTB+BRIDGE QUERSTION!!!!!!!!!!!!!!!!!!! tanxuey
2003-07-22 16:35 ` 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.