lkml.org 
[lkml]   [2003]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NAPI Race?
On 08 Oct 2003 14:17:31 -0700
Marko Rauhamaa <marko@pacujo.net> wrote:

> But do_softirq() explicitly refuses to run
> the same softirq right away.

Check current 2.6.x sources, it does loop a certain number of times
even for the same softirq type.

> Well, it almost does. You can blast a NAPI driver with a packet flood,
> and the system is happy and responsive -- no interrupts are generated,
> and packets are polled by ksoftirqd. However, you can find a packet rate
> that will cause the CPU to spend virtually all of its time in NAPI.

This situation can be created with non-NAPI drivers too.

Alexey is trying to explain to you what the true cause of the
problem is, and it's not NAPI, it's softirq starvation.
-
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: 2005-03-22 13:49    [W:0.021 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site