All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Avoid dropped packets
@ 2004-06-02 18:54 Gastón
  2004-06-02 19:16 ` Roy
  0 siblings, 1 reply; 2+ messages in thread
From: Gastón @ 2004-06-02 18:54 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Avoid dropped packets
  2004-06-02 18:54 [LARTC] Avoid dropped packets Gastón
@ 2004-06-02 19:16 ` Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Roy @ 2004-06-02 19:16 UTC (permalink / raw)
  To: lartc

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@steel.com.ar>
To: <lartc@mailman.ds9a.nl>
Sent: Wednesday, June 02, 2004 9:54 PM
Subject: [LARTC] 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@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-02 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 18:54 [LARTC] Avoid dropped packets Gastón
2004-06-02 19:16 ` Roy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.