From mboxrd@z Thu Jan 1 00:00:00 1970 From: xiao hongge Date: Fri, 11 Oct 2002 08:59:41 +0000 Subject: [LARTC] strange question about HBT class. MIME-Version: 1 Content-Type: multipart/mixed; boundary="0-529098754-1034326781=:19629" Message-Id: List-Id: To: lartc@vger.kernel.org --0-529098754-1034326781=:19629 Content-Type: text/plain; charset=us-ascii Hi, I've find one strange question about HBT class. Could you explain it ? thanks

   +-----------+                          +--------+
   | linux box |--------------------------| Client | ipA
   +-----------+eth0                      +--------+

on linux box script: tc qdisc add dev eth0 root handle 1: tc class add dev eth0 parent 1: classid 1:1 htb default 100 tc class add dev eth0 parent 1: classid 1:30 htb rate 30kbps ceil 30kbps burst 2k tc class add dev eth0 parent 1: classid 1:70 htb rate 70kbps ceil 70kbps burst 2k tc filter add dev eth0 parent 1: protocol ip handle 0x30 fw classid 1:30 tc filter add dev eth0 parent 1: protocol ip handle 0x70 fw classid 1:70 ipchains -F ipchains -I output -d $ipA -m 0x70 -j ACCEPT question: when ipA OS is linux,I use ftp to download file from linux box,the bandwidth is right about 70kbps.but when ipA OS is window98,I use ftp download file from linux box again,the bandwidth is 27kbps only.I replace ipA with another machine,It have same result.why? why? --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com --0-529098754-1034326781=:19629 Content-Type: text/html; charset=us-ascii


Hi,

I've find one strange question about HBT class.
Could you explain it ? thanks

<pre>

   +-----------+                          +--------+
   | linux box |--------------------------| Client | ipA
   +-----------+eth0                      +--------+

</pre>

on linux box script:

tc qdisc add dev eth0 root handle 1:
tc class add dev eth0 parent 1: classid 1:1 htb default 100
tc class add dev eth0 parent 1: classid 1:30 htb rate 30kbps ceil 30kbps burst 2k
tc class add dev eth0 parent 1: classid 1:70 htb rate 70kbps ceil 70kbps burst 2k

tc filter add dev eth0 parent 1: protocol ip handle 0x30 fw classid 1:30
tc filter add dev eth0 parent 1: protocol ip handle 0x70 fw classid 1:70

ipchains -F
ipchains -I output -d $ipA -m 0x70 -j ACCEPT

question:
  when ipA OS is linux,I use ftp to download file from linux box,the
bandwidth is right about 70kbps.but when ipA OS is window98,I use ftp
download file from linux box again,the bandwidth is 27kbps only.I replace
ipA with another machine,It have same result.why? why?

 



Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com --0-529098754-1034326781=:19629-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/