Polling for devices other than NICs [patch]

2006-01-05 Thread Nate Nielsen
I've recently been optimizing the hifn driver for low performance systems like the Soekris. I've implemented polling (rather than using interrupts for everything) in the driver, which speeds things up considerably. The polling functionality in FreeBSD is currently a bit NIC centric. With a few cha

Re: Polling for devices other than NICs [patch]

2006-01-07 Thread Nate Nielsen
Nate Nielsen wrote: > The polling functionality in FreeBSD is currently a bit NIC centric. > With a few changes other types devices can use the polling subsystem. > Attached is my first whack at this. > > This is some of my first hacking on the FreeBSD kernel. It'd be great if > there was someone

Re: Polling for devices other than NICs [patch]

2006-01-09 Thread Ed Maste
On Sat, Jan 07, 2006 at 11:17:00PM +, Nate Nielsen wrote: > Nate Nielsen wrote: > > The polling functionality in FreeBSD is currently a bit NIC centric. > > With a few changes other types devices can use the polling subsystem. > > Attached is my first whack at this. > > > > This is some of my

Re: Polling for devices other than NICs [patch]

2006-01-10 Thread Nate Nielsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed Maste wrote: > In addition, the current polling algorithm breaks down when you get to > very high CPU utilization by the stack (e.g. if acting as a high > bandwidth router). This happens because it adds one count per tick > if the polling did not r