* bne2 rx packet drop?
@ 2010-08-04 23:29 Rusty Russell
2010-08-04 23:47 ` Michael Chan
2010-08-05 0:08 ` Rusty Russell
0 siblings, 2 replies; 4+ messages in thread
From: Rusty Russell @ 2010-08-04 23:29 UTC (permalink / raw)
To: Michael Chan; +Cc: netdev
Hi Michael (and netdev!)
I've got a customer seeing ~1000 rx packets dropped per day (on a busy
interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node
cluster. The code seems to put checksum_discard and mac_discard into
that counter, so I'm not sure what the root cause is.
Any hints? What are the conditions which cause mac_discard?
Thanks!
Rusty.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bne2 rx packet drop?
2010-08-04 23:29 bne2 rx packet drop? Rusty Russell
@ 2010-08-04 23:47 ` Michael Chan
2010-08-19 2:35 ` Rusty Russell
2010-08-05 0:08 ` Rusty Russell
1 sibling, 1 reply; 4+ messages in thread
From: Michael Chan @ 2010-08-04 23:47 UTC (permalink / raw)
To: Rusty Russell; +Cc: netdev@vger.kernel.org
On Wed, 2010-08-04 at 16:29 -0700, Rusty Russell wrote:
> Hi Michael (and netdev!)
>
> I've got a customer seeing ~1000 rx packets dropped per day (on a busy
> interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node
> cluster. The code seems to put checksum_discard and mac_discard into
> that counter, so I'm not sure what the root cause is.
>
> Any hints? What are the conditions which cause mac_discard?
>
Please ask the customer for ethtool -S ethx. It has a number of
different counters for rx dropped packets so we can get a better idea of
what's happening.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bne2 rx packet drop?
2010-08-04 23:29 bne2 rx packet drop? Rusty Russell
2010-08-04 23:47 ` Michael Chan
@ 2010-08-05 0:08 ` Rusty Russell
1 sibling, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2010-08-05 0:08 UTC (permalink / raw)
To: Michael Chan; +Cc: netdev
On Thu, 5 Aug 2010 08:59:57 am Rusty Russell wrote:
> Hi Michael (and netdev!)
Subject should read bnx2 of course...
More coffee...
Rusty.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bne2 rx packet drop?
2010-08-04 23:47 ` Michael Chan
@ 2010-08-19 2:35 ` Rusty Russell
0 siblings, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2010-08-19 2:35 UTC (permalink / raw)
To: Michael Chan; +Cc: netdev@vger.kernel.org
On Thu, 5 Aug 2010 09:17:03 am Michael Chan wrote:
>
> On Wed, 2010-08-04 at 16:29 -0700, Rusty Russell wrote:
> > Hi Michael (and netdev!)
> >
> > I've got a customer seeing ~1000 rx packets dropped per day (on a busy
> > interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node
> > cluster. The code seems to put checksum_discard and mac_discard into
> > that counter, so I'm not sure what the root cause is.
>
> Please ask the customer for ethtool -S ethx. It has a number of
> different counters for rx dropped packets so we can get a better idea of
> what's happening.
Thanks, finally got this. Here's the ethtool -S from one of the quiet
interfaces:
NIC statistics:
rx_bytes: 4490460
rx_error_bytes: 0
tx_bytes: 0
tx_error_bytes: 0
rx_ucast_packets: 0
rx_mcast_packets: 0
rx_bcast_packets: 31879
tx_ucast_packets: 0
tx_mcast_packets: 0
tx_bcast_packets: 0
tx_mac_errors: 0
tx_carrier_errors: 0
rx_crc_errors: 0
rx_align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
tx_deferred: 0
tx_excess_collisions: 0
tx_late_collisions: 0
tx_total_collisions: 0
rx_fragments: 0
rx_jabbers: 0
rx_undersize_packets: 0
rx_oversize_packets: 0
rx_64_byte_packets: 27241
rx_65_to_127_byte_packets: 0
rx_128_to_255_byte_packets: 0
rx_256_to_511_byte_packets: 32
rx_512_to_1023_byte_packets: 4606
rx_1024_to_1522_byte_packets: 0
rx_1523_to_9022_byte_packets: 0
tx_64_byte_packets: 0
tx_65_to_127_byte_packets: 0
tx_128_to_255_byte_packets: 0
tx_256_to_511_byte_packets: 0
tx_512_to_1023_byte_packets: 0
tx_1024_to_1522_byte_packets: 0
tx_1523_to_9022_byte_packets: 0
rx_xon_frames: 0
rx_xoff_frames: 0
tx_xon_frames: 0
tx_xoff_frames: 0
rx_mac_ctrl_frames: 0
rx_filtered_packets: 4630821
rx_discards: 0
rx_fw_discards: 31876
Thanks!
Rusty.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-19 2:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 23:29 bne2 rx packet drop? Rusty Russell
2010-08-04 23:47 ` Michael Chan
2010-08-19 2:35 ` Rusty Russell
2010-08-05 0:08 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).