All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Tuning HTB
@ 2002-04-15  7:18 Christian Volk
  2002-04-15  7:27 ` Stef Coene
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christian Volk @ 2002-04-15  7:18 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-15 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-15  7:18 [LARTC] Tuning HTB Christian Volk
2002-04-15  7:27 ` Stef Coene
2002-04-15  8:09 ` Christian Volk
2002-04-15  8:55 ` Stef Coene
2002-04-15 10:24 ` Christian Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.