Re: NAPI and tg3

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jan 06 2003 - 11:36:00 EST


On Mon, 2003-01-06 at 15:00, Steffen Persvold wrote:
> I discovered that if I renice the ksoftirqd processes to level 0, the
> performance was actually better with the NAPI enabled driver compared to
> the one without (as was intended my NAPI IIRC). With the default nice
> level (19) on the ksoftirqd processes, the performance on multithreaded
> programs was pretty lousy with the NAPI enabled driver.
>
> Any reason why the ksoftirqd shouldn't be nice level 0 by default ? Is
> this already fixed in 2.4.21-pre series ?

Hack the code to only fall back to ksoftirqd when there are say 10 rather
than 1 pending event and it should perform even better but still handle
overload properly

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:32 EST