From mboxrd@z Thu Jan 1 00:00:00 1970 From: "openings" Date: Sun, 01 Jun 2003 19:46:17 +0000 Subject: [LARTC] can't guaranteed to TCP traffic with HTB Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi. What I want =3D=3D=3D=3DI want to guarantee bandwidth of TCP traffic when there is back= ground UDP traffic. Testbed setting =3D=3D=3D=3D=3Dwebserver---1---- = ---5----- Host 1 | = | +----3----- Linux TC ----4-----+ | = | UDP src-----2--- eth0 eth1 ---6-----Host 2 Link speed =3D=3D=3D=3D 1, 2, 4, 5, 6 : 10Mbps 3 : 100Mbps Traffic Generation =3D=3D=3D=3D=3D=3D"UDP src" machine generate background UDP traffic at 10Mb= ps to Host 1.(generator : MGEN 4.0) Host 1 and Host 2 Download files from "webserver" by HTTP. (TCP traffic) Seudo tc command =3D=3D=3D=3D=3D=3Dadd qdisc dev eth1 root handle 1: htb default 2 add class dev eth1 parent 1: classid 1:1 rate 10Mbit ceil 10Mbit add class dev eth1 parent 1:1 classid 1:2 rate 1Mbit ceil 9Mbit <= =3D=3D UDP traffic add class dev eth1 parent 1:1 classid 1:3 rate 3Mbit ceil 3Mbit <= =3D=3D TCP traffic of Host 1 add class dev eth1 parent 1:1 classid 1:4 rate 1Mbit ceil 1Mbit <= =3D=3D TCP traffic of Host 2 Problem =3D=3D=3D I want to guarantee Host1 TCP and Host 2 TCP traffic by rate value. (3Mbps,= 1Mbps) but when I start test, UDP traffic dominate 9Mbps speed. (it used full of c= eil rate) the ramainder bandwidth is divided by Host1 TCP and Host2 TCP. (very slow!) Why TCP traffic can't get bandwidth of rate setting.? UDP traffic's rate value is 1Mbos, nevertheless UDP traffic get 9Mbps.=20 Why rate value is not guaranteed to TCP traffic class ?=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=CB=01=14=C2=99=A8=A5=8Ax%=8A=CB=7F,=04S=0B=F9=9A=8AY=9A=9F=F7l= =F5=AF=E7=96=1Bm=A7=FF=FF=99=A8=A5=99=A9=FFv=CFZ=FEy=7F=99=A8=A5=99=A9=FF= =96+-=8Aw=E8=FEV=AB=B5=C1=CEY3=FF=86=DBi=FF=FF=E5j=BB\=FE=8A=E0