From: Alin Nastac <mrness@technosoft.ro>
To: wain wen <wain_wen@yahoo.com.cn>
Cc: netfilter@lists.samba.org
Subject: Re: Why the http response is so slow with Total Control
Date: Tue, 04 Jun 2002 07:18:17 +0300 [thread overview]
Message-ID: <3CFC3F89.1010803@technosoft.ro> (raw)
In-Reply-To: 20020604034644.36656.qmail@web21408.mail.yahoo.com
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/
>
next prev parent reply other threads:[~2002-06-04 4:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 3:46 Why the http response is so slow with Total Control wain wen
2002-06-04 4:18 ` Alin Nastac [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-04 2:23 wain wen
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=3CFC3F89.1010803@technosoft.ro \
--to=mrness@technosoft.ro \
--cc=netfilter@lists.samba.org \
--cc=wain_wen@yahoo.com.cn \
/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