login
Header Space

 
 

Re: Socket buffer sizes with autotuning

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <andi@...>, <johnwheffner@...>, <rick.jones2@...>, <netdev@...>
Date: Friday, April 25, 2008 - 3:42 am

On Thu, Apr 24, 2008 at 11:36 PM, David Miller <davem@davemloft.net> wrote:

If NIC is interrupt driven, enough data must be queued to span
consecutive interrupts.  So for instance if a 10G NIC is generating an
interrupt every 100us, about 125,000 bytes needs to queued at each
interrupt to prevent starvation-- this doesn't translate to a fixed
number of packets.  Limiting by packets seems somewhat ad hoc; if the
limit is to small and the link will be starved, too big and
over-queuing results.

--
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:
Re: Socket buffer sizes with autotuning, David Miller, (Fri Apr 25, 2:36 am)
Re: Socket buffer sizes with autotuning, Tom Herbert, (Fri Apr 25, 3:42 am)
Re: Socket buffer sizes with autotuning, David Miller, (Fri Apr 25, 3:46 am)
Re: Socket buffer sizes with autotuning, Tom Herbert, (Mon Apr 28, 1:51 pm)
speck-geostationary