Re: Polling vs Interrupts (was Re: NEW CODE: polling support...)

2001-10-28 Thread Luigi Rizzo
On Mon, Oct 29, 2001 at 02:17:37AM +0530, murthy kn wrote: ... > I have a couple of questions. > > 1. What will happen if a packet some packets arrive DURING the > current call to XXX_intr() - are they processed by the > current invocation of XXX_intr() itself without generating a new interrupt

Re: Polling vs Interrupts (was Re: NEW CODE: polling support...)

2001-10-28 Thread murthy kn
Hi, First, let me thank for the nice detailed description of polling vs interrupts. I have a couple of questions. > >As the load level increases, your interrupt rate also grows, and >so does the work that you perform in each call to XX_intr(). > >The increase in interrupt rate is dangerous

Polling vs Interrupts (was Re: NEW CODE: polling support...)

2001-10-27 Thread Luigi Rizzo
As the topic came out, i thought it would be useful to pass around a short discussion on the performance implications of interrupts and polling. In addition to the code that i already posted and which implements polling as discussed in Sec.4 below, I have another set of patches to implement devic