[LARTC] Semi-shaped traffic

Linux Advanced Routing and Traffic Control

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

 



> 
>   During my tests I'm starting to feel stupid :). Traffic
> shaping works quite on its own.
> 
>   System: RedHat 7.3, RedHat kernel 2.4.18-18.7.xsmp, HTB
> version 3.6, interfaces eth0 and eth1 are acting as bridge br0.
> 
>   If TCP shaping almost works, it just exceeds limits UDP
> is not shaped. Traffic flows PC=>eth0=>eth1=>PC. Statistics
> shown is for just UDP traffic (1mbit of small udp packets).
> What strange is that I do not see dropped or overlimits
> packets.
> 

  It seems that I found the cause.

  I downloaded and installed vanilla Linux kernel 2.4.20 and
everything went fine. Then I installed variable HZ patch from
http://www.kernel.org/pub/linux/kernel/people/rml/variable-HZ/v2.4/
and set HZ to 1000. Shaping started to act not as I wanted.
Setting HZ back to 100 fixed the problem.

  Is this some bug in HTB or HZ has to be set to 100?

  Mindaugas



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