From: Krzysztof Wittek <list@mail.krzychu.net>
To: lartc@vger.kernel.org
Subject: [LARTC] can I replace sfq with wrr
Date: Mon, 02 Sep 2002 23:14:02 +0000 [thread overview]
Message-ID: <marc-lartc-103100856311131@msgid-missing> (raw)
Hello,
Currently I use htb with sfq,
/sbin/tc class add dev $IFACE classid 1:0 parent 1: htb rate ${RATE0}kbit \
ceil ${CEIL0}kbit burst 6k prio 0
/sbin/tc qdisc add dev $IFACE parent 1:0 sfq
but it has one big "hole" - person which uses 10 tcp connections ( with
download accelerator ) gets 10 times more bandwidth than normal user
with one tcp session .
I want bandwidth share based on IP adresses ( MAC adresses )
not tcp sessions .
I've noticed that wrr could fix this problem.
I wonder if new kernel and iproute2 and :
/sbin/tc qdisc add dev $IFACE parent 1:0 wrr
instead of
/sbin/tc qdisc add dev $IFACE parent 1:0 sfq
is enough to do what I need ? or I need some more complex qdisc ?
Another question is if it's possible to limit bandwith like squid with
delay pools ( so files smaller than eg: 2 MB are transmitted at full speed
and larger files are transmitted : 0 - 2 MB full speed and anything more
over 2MB is dropper do low priority class ) ?
How can I do this with ipchains ( kernel 2.2 ) + htb and
iptables (kernel 2.4 ) + htb ?
Greets,
K.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{ Krzysztof Wittek - Gliwice Poland - ICQ: 6667414 - IRCNet: Krzychu }
{ krzychu@gliwice.eu.org ftp://ftp.krzychu.net http://www.krzychu.net }
{ =====> IPv4://3646973238 IPv6://3ffe:8010:28:2::1 <===== }
- - KW6109-RIPE * + P-o-w-e-r-e-d b-y P-L-D L-i-n-u-x + * KW1-6BONE - -
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-09-02 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 23:14 Krzysztof Wittek [this message]
2002-09-03 11:09 ` [LARTC] can I replace sfq with wrr Tomasz Wrona
2002-09-03 13:53 ` Stef Coene
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-103100856311131@msgid-missing \
--to=list@mail.krzychu.net \
--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