All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Bork <sebi@sebi.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] icmp latency question
Date: Sat, 06 May 2006 06:46:26 +0000	[thread overview]
Message-ID: <445C4642.9010908@eris.sebi.org> (raw)
In-Reply-To: <c2cd58b40604210204r78ec5341qb0785e731eacd17f@mail.gmail.com>

Andrew Beverley wrote:
> It may have been a stupid question, but it does raise an issue I have 
> noticed. Even if I give maximum priority to SSH/ICMP, I notice that the 
> latency does still jump around. Is this because I've not set up the 
> queueing discipline very well?

Did you shorten the queue on the network interface? If there are already
some packets which the kernel dequeued to the interface, your ICMP
packet will have to wait until they have been sent. The only longer
queue should be the one in the kernel, because only there the high
priority traffic gets queued before the already waiting packets, all
hardware queues are FIFOs.

 > For SSH I have:
 > tc qdisc add dev imq0 parent 1:10 handle 10: sfq perturb 10

You should not use sfq for high priority traffic, it is only useful for 
bulk traffic - there should never be as much high priority traffic as to 
make sfq needed to stop one flow from starving another, and if you use 
it, your latency will rise.

-- 
Sebastian Bork <sebi@sebi.org>         ("`-''-/").___..--''"`-._
                                         `6_ 6  )   `-.  (     ).`-.__.`)
Untere Karlsstr. 16, 34117 Kassel       (_Y_.)'  ._   )  `._ `. ``-..-`
  Cellular phone: +49 163 6780023      _..`--'_..-_/  /--'_.' ,'
_____________________________________(il),-''  (li),'  ((!.-'   **meow**

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2006-05-06  6:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-21  9:04 [LARTC] icmp latency question the sew
2006-04-29 22:59 ` Sebastian Bork
2006-05-02 21:10 ` Andrew Beverley
2006-05-02 21:24 ` Jason Boxman
2006-05-06  6:46 ` Sebastian Bork [this message]
2006-05-07 23:32 ` Andrew Beverley

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=445C4642.9010908@eris.sebi.org \
    --to=sebi@sebi.org \
    --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.