All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] priority bands don't reduce interactive latency?
@ 2000-11-18  6:15 Dan
  2002-02-15 18:23 ` Mario Giammarco
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Dan @ 2000-11-18  6:15 UTC (permalink / raw)
  To: lartc

<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 &quot;prio&quot; 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>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-02-22  9:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-18  6:15 [LARTC] priority bands don't reduce interactive latency? Dan
2002-02-15 18:23 ` 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

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.