Re: RFC: issues concerning the next NAPI interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Hemminger
Date: Friday, August 24, 2007 - 8:52 am

On Fri, 24 Aug 2007 17:47:15 +0200
Jan-Bernd Themann <ossthema@de.ibm.com> wrote:


You need hardware support for deferred interrupts. Most devices have it (e1000, sky2, tg3)
and it interacts well with NAPI. It is not a generic thing you want done by the stack,
you want the hardware to hold off interrupts until X packets or Y usecs have expired.

The parameters for controlling it are already in ethtool, the issue is finding a good
default set of values for a wide range of applications and architectures. Maybe some
heuristic based on processor speed would be a good starting point. The dynamic irq
moderation stuff is not widely used because it is too hard to get right.

-- 
Stephen Hemminger <shemminger@linux-foundation.org>
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 6:59 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 8:47 am)
Re: RFC: issues concerning the next NAPI interface, Stephen Hemminger, (Fri Aug 24, 8:52 am)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 9:45 am)
Re: RFC: issues concerning the next NAPI interface, David Stevens, (Fri Aug 24, 9:50 am)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 9:51 am)
Re: RFC: issues concerning the next NAPI interface, Rick Jones, (Fri Aug 24, 10:07 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Fri Aug 24, 10:16 am)
Re: RFC: issues concerning the next NAPI interface, Shirley Ma, (Fri Aug 24, 10:45 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Fri Aug 24, 11:11 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:32 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:37 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:43 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:44 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Fri Aug 24, 2:47 pm)
Re: RFC: issues concerning the next NAPI interface, Linas Vepstas, (Fri Aug 24, 2:51 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Sun Aug 26, 12:36 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Sun Aug 26, 6:58 pm)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Mon Aug 27, 2:47 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 8:51 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Mon Aug 27, 9:02 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 10:05 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 1:37 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 2:02 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Mon Aug 27, 2:41 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Mon Aug 27, 2:56 pm)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Tue Aug 28, 2:22 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:19 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:21 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Tue Aug 28, 4:48 am)
Re: RFC: issues concerning the next NAPI interface, Evgeniy Polyakov, (Tue Aug 28, 5:16 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Tue Aug 28, 7:55 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:21 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:25 pm)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Tue Aug 28, 1:27 pm)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 12:10 am)
Re: RFC: issues concerning the next NAPI interface, James Chapman, (Wed Aug 29, 1:15 am)
Re: RFC: issues concerning the next NAPI interface, David Miller, (Wed Aug 29, 1:29 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 1:31 am)
Re: RFC: issues concerning the next NAPI interface, Jan-Bernd Themann, (Wed Aug 29, 1:43 am)