* Why the http response is so slow with Total Control
@ 2002-06-04 2:23 wain wen
0 siblings, 0 replies; 3+ messages in thread
From: wain wen @ 2002-06-04 2:23 UTC (permalink / raw)
To: netfilter
Hi:
Below is my network topology ( n = 60 ):
internet ----------- linux box --------- PC1
ADSL(1024k) |
|-------- PC2
|
|-------- PCn
If the linux box only servers as gateway, everything
is ok.However, boss wants to control the flow of every
PC, my configuration is :
# tc qdisc list dev eth1 // eth1 is the internal
interface of linux box which ip is 192.168.0.1
qdisc sfq 8012: quantum 1514b perturb 15sec
qdisc sfq 8011: quantum 1514b perturb 15sec
qdisc sfq 8010: quantum 1514b perturb 15sec
qdisc sfq 800f: quantum 1514b perturb 15sec
qdisc sfq 800e: quantum 1514b perturb 15sec
qdisc sfq 800d: quantum 1514b perturb 15sec
qdisc sfq 800c: quantum 1514b perturb 15sec
qdisc sfq 800b: quantum 1514b perturb 15sec
qdisc sfq 800a: quantum 1514b perturb 15sec
qdisc cbq 10: rate 100Mbit (bounded,isolated) prio
no-transmit
#tc class list dev eth1
class cbq 10:11 parent 10:1 leaf 8012: rate 10Mbit
(bounded,isolated) prio no-transmit
class cbq 10: root rate 100Mbit (bounded,isolated)
prio no-transmit
class cbq 10:256 parent 10:1 leaf 800c: rate 256Kbit
(bounded,isolated) prio no-transmit
class cbq 10:1 parent 10: rate 100Mbit prio 5
class cbq 10:8192 parent 10:1 leaf 8011: rate 8Mbit
(bounded,isolated) prio no-transmit
class cbq 10:64 parent 10:1 leaf 800a: rate 64Kbit
(bounded,isolated) prio no-transmit
class cbq 10:512 parent 10:1 leaf 800d: rate 512Kbit
(bounded,isolated) prio no-transmit
class cbq 10:1024 parent 10:1 leaf 800e: rate 1Mbit
(bounded,isolated) prio no-transmit
class cbq 10:4096 parent 10:1 leaf 8010: rate 4Mbit
(bounded,isolated) prio no-transmit
class cbq 10:128 parent 10:1 leaf 800b: rate 128Kbit
(bounded,isolated) prio no-transmit
class cbq 10:2048 parent 10:1 leaf 800f: rate 2Mbit
(bounded,isolated) prio no-transmit
# tc filter list dev eth1
filter parent 10: protocol ip pref 100 u32
filter parent 10: protocol ip pref 100 u32 fh 800: ht
divisor 1
filter parent 10: protocol ip pref 100 u32 fh
800::800 order 2048 key ht 800 bkt 0 flowid 10:128
match c0a8003f/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::801 order 2049 key ht 800 bkt 0 flowid 10:128
match c0a8003e/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::802 order 2050 key ht 800 bkt 0 flowid 10:128
match c0a8000f/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::803 order 2051 key ht 800 bkt 0 flowid 10:128
match c0a80011/ffffffff at 16
....
In my opinion, every IP should have only 128kbits.It
is true when I download files with ftp.But the http
response is very very slow,even if
there is only one person online. When PC1 download
files , other PC ping the gateway should take more
than 300 ms .Something must be wrong with my
configuration.
Is the performance problem ? However, the idle is
about 90%.By the way I boundled the IP and the MAC
address with arp,and it works well.
Thx.
Wain Wen
_________________________________________________________
Do You Yahoo!?
2002年世界杯群雄鏖战 雅虎中国聚焦日韩
http://cn.fifaworldcup.yahoo.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Why the http response is so slow with Total Control
@ 2002-06-04 3:46 wain wen
2002-06-04 4:18 ` Alin Nastac
0 siblings, 1 reply; 3+ messages in thread
From: wain wen @ 2002-06-04 3:46 UTC (permalink / raw)
To: netfilter
Hi:
Below is my network topology ( n = 60 ):
internet ----------- linux box --------- PC1
ADSL(1024k) |
|-------- PC2
|
|-------- PCn
If the linux box only servers as gateway, everything
is ok.However, boss wants to control the flow of every
PC, my configuration is :
# tc qdisc list dev eth1 // eth1 is the internal
interface of linux box which ip is 192.168.0.1
qdisc sfq 8012: quantum 1514b perturb 15sec
qdisc sfq 8011: quantum 1514b perturb 15sec
qdisc sfq 8010: quantum 1514b perturb 15sec
qdisc sfq 800f: quantum 1514b perturb 15sec
qdisc sfq 800e: quantum 1514b perturb 15sec
qdisc sfq 800d: quantum 1514b perturb 15sec
qdisc sfq 800c: quantum 1514b perturb 15sec
qdisc sfq 800b: quantum 1514b perturb 15sec
qdisc sfq 800a: quantum 1514b perturb 15sec
qdisc cbq 10: rate 100Mbit (bounded,isolated) prio
no-transmit
#tc class list dev eth1
class cbq 10:11 parent 10:1 leaf 8012: rate 10Mbit
(bounded,isolated) prio no-transmit
class cbq 10: root rate 100Mbit (bounded,isolated)
prio no-transmit
class cbq 10:256 parent 10:1 leaf 800c: rate 256Kbit
(bounded,isolated) prio no-transmit
class cbq 10:1 parent 10: rate 100Mbit prio 5
class cbq 10:8192 parent 10:1 leaf 8011: rate 8Mbit
(bounded,isolated) prio no-transmit
class cbq 10:64 parent 10:1 leaf 800a: rate 64Kbit
(bounded,isolated) prio no-transmit
class cbq 10:512 parent 10:1 leaf 800d: rate 512Kbit
(bounded,isolated) prio no-transmit
class cbq 10:1024 parent 10:1 leaf 800e: rate 1Mbit
(bounded,isolated) prio no-transmit
class cbq 10:4096 parent 10:1 leaf 8010: rate 4Mbit
(bounded,isolated) prio no-transmit
class cbq 10:128 parent 10:1 leaf 800b: rate 128Kbit
(bounded,isolated) prio no-transmit
class cbq 10:2048 parent 10:1 leaf 800f: rate 2Mbit
(bounded,isolated) prio no-transmit
# tc filter list dev eth1
filter parent 10: protocol ip pref 100 u32
filter parent 10: protocol ip pref 100 u32 fh 800: ht
divisor 1
filter parent 10: protocol ip pref 100 u32 fh
800::800 order 2048 key ht 800 bkt 0 flowid 10:128
match c0a8003f/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::801 order 2049 key ht 800 bkt 0 flowid 10:128
match c0a8003e/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::802 order 2050 key ht 800 bkt 0 flowid 10:128
match c0a8000f/ffffffff at 16
filter parent 10: protocol ip pref 100 u32 fh
800::803 order 2051 key ht 800 bkt 0 flowid 10:128
match c0a80011/ffffffff at 16
....
In my opinion, every IP should have only 128kbits.It
is true when I download files with ftp.But the http
response is very very slow,even if
there is only one person online. When PC1 download
files , other PC ping the gateway should take more
than 300 ms .Something must be wrong with my
configuration.
Is the performance problem ? However, the idle is
about 90%.By the way I boundled the IP and the MAC
address with arp.
Thx.
_________________________________________________________
Do You Yahoo!?
2002年世界杯群雄鏖战 雅虎中国聚焦日韩
http://cn.fifaworldcup.yahoo.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why the http response is so slow with Total Control
2002-06-04 3:46 Why the http response is so slow with Total Control wain wen
@ 2002-06-04 4:18 ` Alin Nastac
0 siblings, 0 replies; 3+ messages in thread
From: Alin Nastac @ 2002-06-04 4:18 UTC (permalink / raw)
To: wain wen; +Cc: netfilter
CBQ has a bunch of parameters. If you are new to tc (by the way, it's
traffic control not total control), use cbq.init (from
http://www.freashmeat.net).
Or go to http://lartc.org. This is the must-to-read page regards traffic
control.
wain wen wrote:
>
>Hi:
>
>Below is my network topology ( n = 60 ):
>
>
>internet ----------- linux box --------- PC1
> ADSL(1024k) |
> |-------- PC2
> |
> |-------- PCn
>
>If the linux box only servers as gateway, everything
>is ok.However, boss wants to control the flow of every
>PC, my configuration is :
>
># tc qdisc list dev eth1 // eth1 is the internal
>interface of linux box which ip is 192.168.0.1
>
> qdisc sfq 8012: quantum 1514b perturb 15sec
> qdisc sfq 8011: quantum 1514b perturb 15sec
> qdisc sfq 8010: quantum 1514b perturb 15sec
> qdisc sfq 800f: quantum 1514b perturb 15sec
> qdisc sfq 800e: quantum 1514b perturb 15sec
> qdisc sfq 800d: quantum 1514b perturb 15sec
> qdisc sfq 800c: quantum 1514b perturb 15sec
> qdisc sfq 800b: quantum 1514b perturb 15sec
> qdisc sfq 800a: quantum 1514b perturb 15sec
> qdisc cbq 10: rate 100Mbit (bounded,isolated) prio
>no-transmit
>
> #tc class list dev eth1
>
> class cbq 10:11 parent 10:1 leaf 8012: rate 10Mbit
>(bounded,isolated) prio no-transmit
> class cbq 10: root rate 100Mbit (bounded,isolated)
>prio no-transmit
> class cbq 10:256 parent 10:1 leaf 800c: rate 256Kbit
>(bounded,isolated) prio no-transmit
> class cbq 10:1 parent 10: rate 100Mbit prio 5
> class cbq 10:8192 parent 10:1 leaf 8011: rate 8Mbit
>(bounded,isolated) prio no-transmit
> class cbq 10:64 parent 10:1 leaf 800a: rate 64Kbit
>(bounded,isolated) prio no-transmit
> class cbq 10:512 parent 10:1 leaf 800d: rate 512Kbit
>(bounded,isolated) prio no-transmit
> class cbq 10:1024 parent 10:1 leaf 800e: rate 1Mbit
>(bounded,isolated) prio no-transmit
> class cbq 10:4096 parent 10:1 leaf 8010: rate 4Mbit
>(bounded,isolated) prio no-transmit
> class cbq 10:128 parent 10:1 leaf 800b: rate 128Kbit
>(bounded,isolated) prio no-transmit
> class cbq 10:2048 parent 10:1 leaf 800f: rate 2Mbit
>(bounded,isolated) prio no-transmit
>
># tc filter list dev eth1
>
> filter parent 10: protocol ip pref 100 u32
> filter parent 10: protocol ip pref 100 u32 fh 800: ht
>divisor 1
> filter parent 10: protocol ip pref 100 u32 fh
>800::800 order 2048 key ht 800 bkt 0 flowid 10:128
>match c0a8003f/ffffffff at 16
> filter parent 10: protocol ip pref 100 u32 fh
>800::801 order 2049 key ht 800 bkt 0 flowid 10:128
>match c0a8003e/ffffffff at 16
> filter parent 10: protocol ip pref 100 u32 fh
>800::802 order 2050 key ht 800 bkt 0 flowid 10:128
>match c0a8000f/ffffffff at 16
> filter parent 10: protocol ip pref 100 u32 fh
>800::803 order 2051 key ht 800 bkt 0 flowid 10:128
>match c0a80011/ffffffff at 16
> ....
>
>In my opinion, every IP should have only 128kbits.It
>is true when I download files with ftp.But the http
>response is very very slow,even if
>there is only one person online. When PC1 download
>files , other PC ping the gateway should take more
>than 300 ms .Something must be wrong with my
>configuration.
>Is the performance problem ? However, the idle is
>about 90%.By the way I boundled the IP and the MAC
>address with arp.
>
>Thx.
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>2002年世界杯群雄鏖战 雅虎中国聚焦日韩
>http://cn.fifaworldcup.yahoo.com/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-04 4:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 3:46 Why the http response is so slow with Total Control wain wen
2002-06-04 4:18 ` Alin Nastac
-- strict thread matches above, loose matches on Subject: below --
2002-06-04 2:23 wain wen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox