All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Strange pings.
Date: Thu, 21 Apr 2005 23:34:46 +0000	[thread overview]
Message-ID: <42683896.3070308@dsl.pipex.com> (raw)
In-Reply-To: <200504200055.42395.tc@forest.one.pl>

tc@forest.one.pl wrote:

> 64 bytes from 192.168.1.1: icmp_seq• ttld time‰.0 ms

Which is about 2 packets @ 256kbit. I tested and got the same behaviour 
with a simple setup, but max ping about 45 because htb dequeues in pairs 
by default. If you change #define hysteresis from 1 to 0 in 
net/sched/sch_htb.c then it's more accurate. Setting Quantum to your MTU 
may also help.

> Then it is stable (0.4ms) for some time.
> 
> The same situation repeats in about 60 second delay.
> 
> Maybe someone solved this problem?

Give interactive class more rate than it needs. Latency was OK for me 
with ICMP class rate 255kbit ceil 256kbit.

> 
> PPS. Is it possible to create a filter that will match all packets?

I don't know about all, but all per protocol like -

.. protocol ip prio 10 u32 match u32 0 0 ..
.. protocol arp prio 11 u32 match u32 0 0 ..

Andy.



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

  reply	other threads:[~2005-04-21 23:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 22:55 [LARTC] Strange pings tc
2005-04-21 23:34 ` Andy Furniss [this message]
2005-04-22 21:08 ` tc
2005-04-24 11:03 ` tc
2005-04-24 23:59 ` Andy Furniss
2005-05-13 23:36 ` Andy Furniss

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=42683896.3070308@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.