lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dropping Packets in 2.6.17
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 hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

-
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/

\
 
 \ /
  Last update: 2006-06-23 03:17    [W:0.105 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site