Re: Avoid dropped packets

Linux Advanced Routing and Traffic Control

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

 



Packet dropping is normal if you are going to shape traffic, but that is not
so significant,
in your case there is quite big number if dropped packets, but normal
anyway.
thi can be because you are shaping udp traffic, which do not have rate
controll ability.

you should either pass all udp packets, either ignore wasted traffic.


----- Original Message ----- 
From: "Gastón" <gaston@xxxxxxxxxxxx>
To: <lartc@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 02, 2004 9:54 PM
Subject:  Avoid dropped packets


> I´m shaping with htb with a kernel 2.4.25 compiled with
> PSCHED_CPU. What i´m
> noticing (in mrtg) is that traffic coming in to eth0 (internet side) is
much
> bigger than eth1(Lan side).
> I think this is due to packets being dropped right? In this case, is there
> any way to avoid this? because right now traffic coming from the router is
> being wasted right?
>
> This is the output of tc:
>
>  tc -s class show dev eth1
>
> class htb 1:2 root rate 1408Kbit ceil 1408Kbit burst 3401b cburst 3401b
>  Sent 90714750 bytes 136654 pkts (dropped 0, overlimits 0)
>  rate 181452bps 285pps
>  lended: 15521 borrowed: 0 giants: 0
>  tokens: -27837 ctokens: -27837
>
> class htb 1:30 parent 1:2 leaf 30: prio 0 rate 1280Kbit ceil 1408Kbit
burst
> 3237b cburst 3401b
>  Sent 90379104 bytes 136761 pkts (dropped 18479, overlimits 0)
>  rate 181450bps 284pps backlog 107p
>  lended: 121133 borrowed: 15521 giants: 0
>  tokens: -776 ctokens: -27837
>
>
> Thanks for your help.
>
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

_______________________________________________
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