Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Alexander Duyck
Well as a general rule anything over about 80usecs for InterruptThrottleRate is a waste. One advantage to reducing the interrupt throttle rate is you can reduce the ring size and you might see a slight performance improvement. One problem with using 4096 descriptors is that it greatly increases t

Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Michał Purzyński
Here's what I did ethtool -A p1p1 rx off tx off ethtool -A p3p1 rx off tx off Both ethtool -a and Arista that's pumping data show that RX/TX pause are disabled. I have two cards, each connected to a separate NUMA node, threads pinned, etc. One non-standard thing is that I use single queue only

Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Alexander Duyck
When you say you disabled flow control did you disable it on the interface that is dropping packets or the other end? You might try explicitly disabling it on the interface that is dropping packets, that in turn should enable per-queue drop instead of putting back-pressure onto the Rx FIFO. With

Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Michał Purzyński
xoff was increasing so I disabled flow control. That's a HP DL360 Gen9 and lspci -vvv tells me cards are connected to x8 link, speed is 5GT/s and ASPM is disabled. Other error counters are still zero. When I compared rx_packets and rx_missed_errors it looks like a 38% (!!) packets are getting los

Re: [E1000-devel] IOAT and ixgbe current status

2016-09-23 Thread Alexander Duyck
On Thu, Sep 22, 2016 at 5:40 PM, Michał Purzyński wrote: > What's the current status ofI/O and ixgbe driver and 82599 cards? Is it > even used? How's the performance? > > If it is used, do you know in which stage exactly? Is it used to copy data > from driver buffers (those that card does DMA into

Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Alexander Duyck
On Fri, Sep 23, 2016 at 1:10 AM, Michał Purzyński wrote: > Hello. > > On my IDS workload with af_packet I can see rx_missed_errors growing while > rx_no_buffer_count does not. Basically every other kind of rx_ error > counter is 0, including rx_no_dma_resources. It's an 82599 based card. > > I don

Re: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Tantilov, Emil S
>-Original Message- >From: Michał Purzyński [mailto:michalpurzyns...@gmail.com] >Sent: Friday, September 23, 2016 1:10 AM >To: e1000-devel@lists.sourceforge.net >Subject: [E1000-devel] rx_missed_errors grows while rx_no_buffer does not > >Hello. > >On my IDS workload with af_packet I can se

[E1000-devel] rx_missed_errors grows while rx_no_buffer does not

2016-09-23 Thread Michał Purzyński
Hello. On my IDS workload with af_packet I can see rx_missed_errors growing while rx_no_buffer_count does not. Basically every other kind of rx_ error counter is 0, including rx_no_dma_resources. It's an 82599 based card. I don't know what to think about that. I went through ixgbe source code and