From: josh <josh876@poczta.onet.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] again: HTB - I can't stand it any longer HELP ME
Date: Thu, 06 Jun 2002 18:07:47 +0000 [thread overview]
Message-ID: <marc-lartc-102338686703669@msgid-missing> (raw)
sorry for previous post. I have no idea what was the reason :-(. I am sure it was set to 'plain-text', but I have changed email anyway...
-----------------------------------------------
hi there!
For weeks I am trying to set my network in such a way:
server (linux) is connected through ppp0 to internet. There is MLDonkey
running on that and it is also Internet default gateway for my LAN. I want
as fast access to the Internet as there would be no MLDonkey running - I
mean:
-- I want MLDonkey to be using ONLY IDLE BANDWIDTH --
After reading HTB manual I configured it in this way:
---------------------------
tc qdisc add dev imq0 root handle 1: htb default 10
tc class add dev imq0 parent 1: classid 1:1 htb rate 70kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 70kbit prio 0
tc class add dev imq0 parent 1:1 classid 1:11 htb rate 10kbit ceil 70kbit
prio 2
tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 \
match ip sport 4662 0xffff flowid 1:11
tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 \
match ip dport 4662 0xffff flowid 1:11
ip link set imq0 up
---------------------------
So I want MLdonkey to be using low-priority class, becouse I want have fast
connection when I am browsing WWW or doing anything else.
Here you can see output of
tc -s -d class show dev imq0
when there is only MLDonkey running:
----------------------------------
http://josh876.republika.pl/class.txt
----------------------------------
Looking at class.txt it seems it should be working very well, but it is not!!! :-(((
but traffic is filtering correctly.
Here you can see output of
netstat -n
----------------------------------
http://josh876.republika.pl/netstat.txt
----------------------------------
It seems to be hard fighting with such an amount of opened connections (4662), but it was not written anywhere that HTB would not be able to handle that...
When I am browsing WWW it is almost as slow as there would be no HTB at all.
Why is that??? What is wrong?
-josh
p.s.
I set HTB to 70kbit, which is 8,75kB/s.
My connection's maximum speed is about 11,2kB/s.
(my tests)
I did write that, becouse many of you would say that all this is becouse
queues are growing in my modem - which can not be true.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2002-06-06 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-102338686703669@msgid-missing \
--to=josh876@poczta.onet.pl \
--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.