From: "David S. Miller" <davem@redhat.com>
To: Marko Rauhamaa <marko@pacujo.net>
Cc: kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org,
hadi@cyberus.ca, Robert.Olsson@data.slu.se
Subject: Re: NAPI Race?
Date: Wed, 8 Oct 2003 14:31:21 -0700 [thread overview]
Message-ID: <20031008143121.1efdd19d.davem@redhat.com> (raw)
In-Reply-To: <m3ekxnzaxg.fsf@lumo.pacujo.net>
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.
prev parent reply other threads:[~2003-10-08 21:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-08 3:07 NAPI Race? Marko Rauhamaa
2003-10-08 11:34 ` P
2003-10-08 19:57 ` kuznet
2003-10-08 21:17 ` Marko Rauhamaa
2003-10-08 21:31 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031008143121.1efdd19d.davem@redhat.com \
--to=davem@redhat.com \
--cc=Robert.Olsson@data.slu.se \
--cc=hadi@cyberus.ca \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=marko@pacujo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.