Re: userspace irq balancer

Andrea Arcangeli
2003-05-27T01:21:36Z

On Mon, May 26, 2003 at 06:20:26PM -0700, David S. Miller wrote:
> From: Andrea Arcangeli <andrea@suse.de>
> Date: Tue, 27 May 2003 03:17:50 +0200
>
> I'm going to try this (if it compiles ;). the ksoftirqd check is
> the one for the NAPI workload brought to attention by Dave.
>
> Ksoftirqd should not be running on a properly functioning system.
>
> In fact, I know lots of people who are simply making ksoftirqd
> only run if we do the softirq loop N times where N is very large
> in order to avoid the performance problems that result from ksoftirqd.

note that what those lots of people are doing is very legitimate. I'll
also change this in my current tree right now, so we'll see if these
lots of people will be fine with my next tree. would be interesting
which N those lots of people are using though.

I very well recall that we waited people to ask if the N == 1 was too
low when we introduced ksoftirqd, Linus just said he would increase it
if it was generating spurious reschedules during load peaks.

Note however that the larger N the more it will tend to hang the box
(i.e. less fair) with NAPI. I certainly don't doubt network performance
can increase slightly.

Andrea