Re: Strange pings.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tc@xxxxxxxxxxxxx wrote:

64 bytes from 192.168.1.1: icmp_seq=95 ttl=64 time=89.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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux