From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB Weird Shaping Question(Bug?). Please Help!
Date: Tue, 26 Apr 2005 22:56:40 +0000 [thread overview]
Message-ID: <426EC728.3020507@dsl.pipex.com> (raw)
In-Reply-To: <426E2B66.2090608@cenrik.net>
Leo wrote:
> In the first test, I limit the SUBCLASS_OUTRATE to 200Kbit. Both pings
> are around 20ms before I start the VoIP services. However, once I start
> the services, the pings jump up to 1800ms.
>
> In the second test, I limit the SUBCLASS_OUTRATE to 180Kbit. The pings
> jump up to 80ms, which is perfectly acceptable.
>
> After a few tests, I noticed that 180Kbit is a magic number, anything
> exceed that will generate 1800ms pings, and below it is 80ms.
>
> In my senario, the weird point is that the determining factor is the
> ceiling, but not the rate. That's the "rate" for other class doesn't
> seem to give bandwidth to packets in the corresponding class unless the
> ceil for the 1:110 is low enough!
>
> I attached my script and "tc -s class show" below. I truncated part of
> the script and the results to make it short.
>
> Please shine me a light!
It's because the link is dsl and there are lots of overheads on each
packet (and they vary with packet size). HTB rates are based on ip
packet length and with lots of small packets like voip the difference
can be alot.
The 1800ms latency is not caused by a queue within htb it's in your
modem/router because it can't send >180kbit ip level for voip.
You can patch HTB and TC to make things perfect - you could set a ceil
very close to your sync rate then. You need to know exactly what type of
dsl you are on to find your overhead though. If your modem/router gives
ATM cell counts you can deduce it from those.
There is a very good thesis and patch info here -
http://www.adsl-optimizer.dk/
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-04-26 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 11:52 [LARTC] HTB Weird Shaping Question(Bug?). Please Help! Leo
2005-04-26 22:56 ` Andy Furniss [this message]
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=426EC728.3020507@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.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 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.