Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Hemminger
Date: Sunday, June 15, 2008 - 7:59 pm

On Mon, 16 Jun 2008 00:46:22 +0100
Ben Hutchings <bhutchings@solarflare.com> wrote:


You are CPU limited because of the overhead of firewalling. When this happens
packets get backlogged.


No if the receive side is CPU limited, you just end up eating more memory.
A bigger queue may actually make performance worse (less cache hits).


How are you measuring CPU? You need to do something like measure the available
cycles left for applications. Don't believe top or other measures that may
not reflect I/O overhead and bus usage. 



Routing and firewalling should scale well. The deadlock is probably going
to be some hot lock like the transmit lock.


The bigger issues is available memory bandwidth. Different processors
and busses have different overheads. PCI is much worse than PCI-express,
and CPU's with integrated memory controllers do much better than CPU's
with separate memory controller (like Core 2).

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Denys Fedoryshchenko, (Sun Jun 15, 1:24 pm)
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Francois Romieu, (Sun Jun 15, 1:57 pm)
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Denys Fedoryshchenko, (Sun Jun 15, 2:32 pm)
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Denys Fedoryshchenko, (Sun Jun 15, 2:32 pm)
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Stephen Hemminger, (Sun Jun 15, 7:59 pm)
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors, Denys Fedoryshchenko, (Sun Jun 15, 9:05 pm)