> Linux is a general purpose operating system.
>
> Even as a dedicated router, a router daemon still has to execute
> in userspace to do BGP etc. signaling with routing peers.  The
> administrator also might want to run diagnostic tools to monitor
> the network.
>
> You cannot spin polling on the device, it's simply unacceptable
> to starve out userspace and the rest of the system like that.

Yes, you are right. Click acturally will release the CPU to OS at interval.
Other processes will be responded at this interval.

The goal of polling extension is to reduce the interrupt overhead and
improve the throughput, especailly the small packets. NAPI does solve this
problem to some extend.

If not use polling, how can I make use of all the CPUs to process packets?
Can I make all of the CPUs run SOFTIRQ and IRQ code simultaneously? It seems
there is only one ksoftirqd process busy dealing with process, while the
other ksoftirqd is idle in my system.

Thanks.

Qinghua


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to