Re: interrupt sharing improves performance?
David Laight <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.performance |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 03, 2003 at 02:47:20PM -0800, Jason R Thorpe wrote: > On Mon, Feb 03, 2003 at 10:48:37PM +0000, David Laight wrote: > > > That cycle is a waste of time, you might as well look to see if > > there is an rx data (etc), the driver will have to look there as well. > > For ring based drivers the ring structure itself can be polled. > > This will be much cheaper than an access to the chip. > > Yah, exactly. The worst one I've seen was a pcmcia driver that insisted on checking the config space register. Accesses to that make ISA bus cycles seem fast :-) David -- David Laight: [email protected]