From: Christian Volk <cv5@tengeeks.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Tuning HTB
Date: Mon, 15 Apr 2002 07:18:57 +0000 [thread overview]
Message-ID: <marc-lartc-101885518601136@msgid-missing> (raw)
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/
next reply other threads:[~2002-04-15 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 7:18 Christian Volk [this message]
2002-04-15 7:27 ` [LARTC] Tuning HTB Stef Coene
2002-04-15 8:09 ` Christian Volk
2002-04-15 8:55 ` Stef Coene
2002-04-15 10:24 ` Christian Volk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101885518601136@msgid-missing \
--to=cv5@tengeeks.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox