|
发表于 2005-7-13 13:23:44
|
显示全部楼层
events/n is used by "work queues" (a bottom Half mechanism in kernel)。queued works are executed in events/n kernel thread.
ksoftirqd/n is used by "Softirq" (another bottom Half mechanism in kernel)。It's used to solve the problem that a Softirq continally raise itself again. if the new Softirq is handled immediately,nothing but Softirq and interrupt handlers run when system under intense load. If the new Softirq is not handled until next time kernel handles pedning Softirqs, it will stay there for a long time on an idle system.
Some sort of compromise is needed.The solution is to not immediately process reraised Softirq. Instead, kernel wake up ksoftirqd kernel thread to handle pending Softirqs.it solves the problem on an idle system described above(Ksoftirqd kernel thread run with lowest priority) |
|