The setup is OK. But you have to be sure you are the bottleneck and not the modem. You can do this by lowering the maximium to 62 (or 63, just try some numbers). That way you are slowing down the internet link, but YOU are controlling it :)
Stef On Monday 15 April 2002 09:18, Christian Volk wrote: > Hi! > > I'm trying to share a 64 kbits/s ISDN connection for FTP downloads and WWW. > FTP should slow down WWW a little a possible. > > I tried HTB (with kernel 2.4.18) with the following (amongst other) > settings: > > $TC qdisc add dev $IF root handle 1: htb default 20 > > $TC class add dev $IF parent 1: classid 1:1 htb rate 64kbit burst 2k > > $TC class add dev $IF parent 1:1 classid 1:10 htb rate 63kbit ceil 64kbit > burst 2k > $TC class add dev $IF parent 1:1 classid 1:20 htb rate 1kbit ceil 64kbit > prio 1 > > $TC qdisc add dev $IF parent 1:10 handle 10: sfq perturb 10 > $TC qdisc add dev $IF parent 1:20 handle 20: sfq perturb 10 > > FLT="$TC filter add dev $IF protocol ip parent 1:0" > $FLT prio 1 u32 match ip sport 80 0xffff flowid 1:10 > > The packets pass through the respective classes. But FTP doesn't seem to be > slowed down when WWW traffic starts. When doing http and ftp downloads at > the same time, I expected the FTP side to slow down a lot, but during my > tests the ftp download had more throughput than the http. > > Any thoughts? > > Thanks! > > - Christian > _______________________________________________ > LARTC mailing list / [EMAIL PROTECTED] > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -- [EMAIL PROTECTED] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
