Danial Thom wrote:
I didn't use ITR, I used NAPI.
If thats the case then your "system" would have
the same problem that I'm encountering, since
polling results in buckets of packets being
dropped with heavy userland activity.
This is to some extent by design. If you processed all packets purely in
interrupt context, at some point you can start receiving so many packets
that you never leave interrupt context to perform any other useful work,
no matter if your adapter can avoid generating an interrupt for every
packet. Packet floods can completely hang the machine. Pushing the work
into a softirq and disabling NIC interrupts in the interim allows the
machine to continue performing other useful work.
If you want to give more priority to processing network packets at the
expense of user processes then you likely need to increase the priority
of the ksoftirqd thread(s). These compete for CPU time like any other
processes.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]