Messages in this thread Patch in this message | | | From | Robert Olsson <> | Date | Thu, 9 Jan 2003 18:21:00 +0100 | Subject | Re: NAPI and tg3 |
| |
Before it's get forgotten...
Cheers. --ro
--- NAPI_HOWTO.txt.orig 2002-12-24 06:20:31.000000000 +0100 +++ NAPI_HOWTO.txt 2003-01-09 13:25:30.000000000 +0100 @@ -721,6 +721,23 @@ + +APPENDIX 3: Scheduling issues. +============================== +As seen NAPI moves processing to softirq level. Linux uses the ksoftirqd as the +general solution to schedule softirq's to run before next interrupt and by putting +them under scheduler control. Also this prevents consecutive softirq's from +monopolize the CPU. This also have the effect that the priority of ksoftirq needs +to be considered when running very CPU-intensive applications and networking to +get the proper balance of softirq/user balance. Increasing ksoftirq priority to 0 +(eventually more) is reported cure problems with low network performance at high +CPU load. + +Most used processes in a GIGE router: +USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND +root 3 0.2 0.0 0 0 ? RWN Aug 15 602:00 (ksoftirqd_CPU0) +root 232 0.0 7.9 41400 40884 ? S Aug 15 74:12 gated + -------------------------------------------------------------------- relevant sites: - 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/
| |