Weird HTB behaviour in 2.6.17

Linux Advanced Routing and Traffic Control

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

 



Hello,

I've just compiled the kernel 2.6.17 and noticed an odd HTB behaviour.

For instance:

tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
750Kbit burst 15k
tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst
192.168.5.1 classid 1:30

The filter works ok and the traffic to 192.168.5.1 flows through the
class 1:30, but the rate gets much higher than 750 Kbps.

As far as I realized, the faster the processor is, the higher the
traffic gets above the ceiling.

I've seen that same behaviour in several machines with this kernel,
both with Intel and AMD processors. With a dual Xeon 3 GHz, when my
ceiling is 750 Kbps, I get the traffic about 5 Mbps.

It seems to be something related to clock.

http://mailman.ds9a.nl/pipermail/lartc/2005q3/016981.html

In that post, there is another guy with the same problem, but with 2.6.11.

Any clues?

--
Marlon
_______________________________________________
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