Re: Problems with HTB shaping

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 09 December 2003 12:24, Mindaugas Riauba wrote:
>   Hello,
>
>   I have some strange problems with shaping. Now I'm testing Linux as
> shaping bridge. Redhat Linux 7.3, kernel plain 2.4.23 with latest HTB patch
> from devik and PSCHED_CLOCK_SOURCE changed to PSCHED_CPU.
>
>   Some output is at the end of the message. What is strange that according
> to interface statistics traffic is shaped more or less OK.
>   48431590 - 48079196 = 352394 (~275kbps)
>   But byte count reported by tc is lower.
>   39061384 - 38778938 = 282446 (~220kbps)
>
>   But when I try to look into packets with tcpdump:
> # tcpdump -c 10000 | fgrep -v $ip | wc -l
> tcpdump: listening on br0
>       5
>
>   So only 5 packets should go not through filter.
>
>   What I'm doing wrong?
I'm not sure, but I think that the network statistics are counting every bit 
that's been put on the wire.  And maybe this also includes retransmits.

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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