From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 21 Apr 2005 23:34:46 +0000 Subject: Re: [LARTC] Strange pings. Message-Id: <42683896.3070308@dsl.pipex.com> List-Id: References: <200504200055.42395.tc@forest.one.pl> In-Reply-To: <200504200055.42395.tc@forest.one.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org tc@forest.one.pl wrote: > 64 bytes from 192.168.1.1: icmp_seq=95 ttld time=89.0 ms Which is about 2 packets @ 256kbit. I tested and got the same behaviour=20 with a simple setup, but max ping about 45 because htb dequeues in pairs=20 by default. If you change #define hysteresis from 1 to 0 in=20 net/sched/sch_htb.c then it's more accurate. Setting Quantum to your MTU=20 may also help. > Then it is stable (0.4ms) for some time. >=20 > The same situation repeats in about 60 second delay. >=20 > Maybe someone solved this problem? Give interactive class more rate than it needs. Latency was OK for me=20 with ICMP class rate 255kbit ceil 256kbit. >=20 > 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