From: Dan Maas dmaas@dcine.com
To: lartc@vger.kernel.org
Subject: [LARTC] priority bands don't reduce interactive latency?
Date: Sat, 18 Nov 2000 06:15:53 +0000 [thread overview]
Message-ID: <marc-lartc-98373938216950@msgid-missing> (raw)
<PRE>I run a small Linux webserver and NAT router from my cable modem at home.
Whenever someone starts an http download, all other traffic from my LAN is
starved. Bandwidth is not really an issue, but latency is particularly
horrible -- pings that usually come back in 20ms can take up to 600ms while
the web server is active!
I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
priority to non-web traffic. At first I tried the "prio" packet scheduler,
which maintains three outgoing queues. I put everything but web traffic in
queue zero, and the http packets in queue two (the scheduler will only
transmit packets from a queue if the lower queues are empty, thus giving
precedence to the lower-numbered queues). I verified using printk's in the
kernel modules that packets were indeed being prioritized and queued in the
manner I describe.
HOWEVER, this QoS setup does not reduce my latency problems at all!! Despite
the packet prioritization, pings still shoot up into the 500ms range and UDP
round-trip latency still becomes awful during a long http upload.
Was I wrong in assuming that priority-band scheduling would fix my problem?
I looked at using full CBQ, but I have no idea what options would be correct
for my setup. Does anyone else have experience with solving problems like
this? I just wish I could see the same 20ms pings even during a modest
amount of web traffic...
Many thanks,
Dan
</PRE>
next reply other threads:[~2000-11-18 6:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-18 6:15 Dan [this message]
2002-02-15 18:23 ` [LARTC] priority bands don't reduce interactive latency? Mario Giammarco
2002-02-15 18:27 ` Martin Devera
2002-02-16 12:47 ` Mario Giammarco
2002-02-16 16:13 ` Ross Skaliotis
2002-02-16 19:26 ` Martin Devera
2002-02-18 8:34 ` Mario Giammarco
2002-02-18 10:00 ` Martin Devera
2002-02-21 15:03 ` Mario Giammarco
2002-02-22 9:38 ` Martin Devera
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-98373938216950@msgid-missing \
--to=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.