[LARTC] Avoid dropped packets
Gastón
gaston@steel.com.ar
Wed, 2 Jun 2004 15:54:23 -0300
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.