From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] High Latency With Tiered Queues
Date: Wed, 30 May 2007 20:34:03 +0000 [thread overview]
Message-ID: <465DDFBB.6000201@andyfurniss.entadsl.com> (raw)
In-Reply-To: <1179464892.13716.12.camel@eliza>
ISN Support Staff wrote:
> Hello,
>
> I'm trying to setup what I thought would be a fairly basic tiered
> shaping system. I have a 6mbit (768kbps) link coming into my eth1
> device, with my LAN IPs on the eth0 device. I want to limit outgoing
> traffic so that certain IPs are limited to 400kbps, with 3 classes under
> that 400k so certain machines get prioritized (main servers in 1:21,
> other servers in 1:22, workstations in 1:23)
>
> The problem is that when I turn this on, my packet latency jumps up by
> 50 to 100 times the normal rate. I go from 10-20 ms ping times to
> 500-1600ms! I've tried putting SFQ qdiscs under the classes, but that
> makes no difference.
>
> I'm sure there is just some tuning parameter I'm not setting
> correctly, but can somebody clue me in to what I'm doing wrong? Or is
> HTB just the wrong scheduler to be using here? I tried CBQ, but I can't
> get the tiers to work ( I keep getting RTNETLINK answers: Invalid
> argument) I'm currently using a single tiered CBQ solution, but it
> really doesn't fit my needs.
>
> Here's the full script:
> -----------------------
> qdisc add dev eth1 root handle 1: htb default 10
Using htb default will send arp to a really long (in this case)
backlogged queue, which could cause problems.
Generally you need to classify low latency traffic to different class
than bulk if you want it to stay low latency.
I am suprised sfq didn't help - maybe you also need to back off the
ceils to allow for overheads on the quoted link speed.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2007-05-30 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 5:08 [LARTC] High Latency With Tiered Queues ISN Support Staff
2007-05-30 20:34 ` 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=465DDFBB.6000201@andyfurniss.entadsl.com \
--to=lists@andyfurniss.entadsl.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