|
Re: lug-bg: packet loss problem s HTB
- Subject: Re: lug-bg: packet loss problem s HTB
- From: Nickola Kolev <nikky@xxxxxxx>
- Date: Sat, 9 Aug 2003 00:01:25 +0300
Здрасти,
Пробва ли да ползваш за leaf дисциплина sfq вместо pfifo?
tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 20
При мен htb/sfq йерархия с над 2к класа, през която минават
към 6Мбит/с почти постоянно се справя прекрасно. SFQ ще се погрижи
всички конекции под даден HTB клас да получат равен дял от
bandwidth-a.
Дано помогне ;)
П.П. Друго предположение - дали hyperthreading-а на p4 не ти обърква нещата?
On Fri, 8 Aug 2003 22:47:01 +0300
"Teodor Georgiev" <teodor@xxxxxxxxx> wrote:
: HTB 3.7
:
: Eto i chast ot konfiguraciata:
:
: tc qdisc del dev eth1 root
: tc qdisc add dev eth1 root handle 1 htb default 1000 r2q 1
:
: tc class add dev eth1 parent 1: classid 1:2 htb rate 5500Kbit
:
: tc class add dev eth1 parent 1:2 classid 1:10 htb rate 64Kbit ceil 1024Kbit
: tc qdisc add dev eth1 parent 1:10 handle 10 pfifo limit 10000
: tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 1x5.69.143.112/29 classid 1:10
:
: tc class add dev eth1 parent 1:2 classid 1:1000 htb rate 14Kbit burst 1k cburst 1k
: tc qdisc add dev eth1 parent 1:1000 handle 1000 pfifo
:
: tc class add dev eth1 parent 1:2 classid 1:11 htb rate 128Kbit ceil 1024Kbit
: tc qdisc add dev eth1 parent 1:11 handle 11 pfifo limit 10000
: tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 19x.69.163.216/30 classid 1:11
:
: Dopredi vsichko beshe nared. Sled kato trafika mina 1Mbit tvyrdo i klientite stanaha 60-70 zapochnaha problemite - packet loss
: i to mnogo goliam. Blizo 50%.
: Opitah da vdigna opashkata na interface - ne pomogna.
:
: Imashe i sfq - mahnah go, syshtata rabota.
:
: Nqkakvi idei? Mashinata e mnogo moshtna 1GB RAM na 4 x 2GHz.
--
_____________________________________________________________
"Engineering does not require science. Science helps a lot but
people built perfectly good brick walls long before they knew
why cement works." -Alan Cox
Attachment:
pgp8sCjrTeTia.pgp
Description: PGP signature
|
|
|