From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Tuning HTB
Date: Mon, 15 Apr 2002 07:27:08 +0000 [thread overview]
Message-ID: <marc-lartc-101885600401623@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101885518601136@msgid-missing>
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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-04-15 7:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 7:18 [LARTC] Tuning HTB Christian Volk
2002-04-15 7:27 ` Stef Coene [this message]
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-101885600401623@msgid-missing \
--to=stef.coene@docum.org \
--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 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.