From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB - shaping services and IP
Date: Sun, 21 Sep 2003 05:22:16 +0000 [thread overview]
Message-ID: <marc-lartc-106412178509720@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106386774113974@msgid-missing>
Hi Phill,
: CeilDouwnloadDC\x120 #max download speed for direct connect
Is this a typographical error? "CeilDownloadDC" instead of what you have
written?
[ snip ]
: #11-->Fast-WWW,telnet,ssh,ping,...
: tc class add dev $LOCAL parent 1:1 classid 1:11 htb rate 100kbit ceil
: ${CeilDownload}kbit prio 1 burst 15k quantum 100
I don't think this is a good idea for a quantum size. I'd suggest a
quantum of minimum MTU size.
[ snip ]
: tc class add dev $LOCAL parent 1:1 classid 1:15 htb rate 2kbit ceil
: ${CeilDownloadDC}kbit prio 5 quantum 1
Did you meant to set r2q to 1? A quantum of one penalizes this class
severely.
[ snip sfqs and fw classifiers/filters ]
( good idea to add the terminal sfq qdiscs )
[ snip many iptables rules ]
: ################################################################################
: # Upload part ...
: ################################################################################
:
: tc qdisc add dev $NET root handle 2: htb default 21
:
: tc class add dev $NET parent 2: classid 2:1 htb rate ${CeilUpload}kbit ceil
: ${CeilUpload}kbit
:
: #11-->Fast-everything...Default
: tc class add dev $NET parent 2:1 classid 2:11 htb rate 90kbit ceil
: ${CeilUpload}kbit prio 7 burst 15k
Good! You should get decent interactive performance out of this class!
: #12-->Slow-DC,edonkey upload
: tc class add dev $NET parent 2:1 classid 2:12 htb rate 6kbit ceil
: ${CeilUploadDC}kbit prio 8 burst 5k quantum 1
Again, with a quantum of 1, you several penalize this upload. I would
agree that this is a good class to penalize. There is no reason to give
away your bandwidth, but this will limit the upload rate to an almost
neglible rate.
Best of luck, Phill,
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-09-21 5:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-18 6:47 [LARTC] HTB - shaping services and IP Phill
2003-09-19 4:56 ` Martin A. Brown
2003-09-19 6:49 ` Phill
2003-09-19 6:57 ` Phill
2003-09-21 5:22 ` Martin A. Brown [this message]
2003-09-21 6:25 ` Phill
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-106412178509720@msgid-missing \
--to=mabrown-lartc@securepipe.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