From: Robert Olsson <Robert.Olsson@data.slu.se>
To: Pasi Sjoholm <ptsjohol@cc.jyu.fi>
Cc: Francois Romieu <romieu@fr.zoreil.com>,
H?ctor Mart?n <hector@marcansoft.com>,
Linux-Kernel <linux-kernel@vger.kernel.org>, <akpm@osdl.org>,
<netdev@oss.sgi.com>, <brad@brad-x.com>
Subject: Re: ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related)
Date: Mon, 26 Jul 2004 18:37:26 +0200 [thread overview]
Message-ID: <16645.13126.52445.630789@robur.slu.se> (raw)
In-Reply-To: <Pine.LNX.4.44.0407261745120.31123-100000@silmu.st.jyu.fi>
Pasi Sjoholm writes:
> Pid: 2, comm: ksoftirqd/0
> EIP: 0060:[<e0871224>] CPU: 0
> EIP is at rtl8139_poll+0xb4/0x100 [8139too]
> EFLAGS: 00000247 Not tainted (2.6.7-mm7)
> EAX: ffffe000 EBX: 00000040 ECX: df4824f8 EDX: c0441978
> ESI: df482400 EDI: e0868000 EBP: dff85f80 DS: 007b ES: 007b
> CR0: 8005003b CR2: b7c5a000 CR3: 1fafd000 CR4: 000006d0
> [<c0119580>] ksoftirqd+0x0/0xc0
> [<c02c5f3a>] net_rx_action+0x6a/0x110
> [<c01191a9>] __do_softirq+0xa9/0xb0
> [<c01191d7>] do_softirq+0x27/0x30
> [<c01195e8>] ksoftirqd+0x68/0xc0
> [<c01277e5>] kthread+0xa5/0xb0
> [<c0127740>] kthread+0x0/0xb0
> [<c0102111>] kernel_thread_helper+0x5/0x14
> --
>
> I'm not a kernel expert but it would seem that ksoftirqd is in some sort a
> loop because I didn't get any "printk("%s wakes ksoftirqd\n",
> current->comm);"-lines.
Hello!
This looks very much like the problem we see when doing route DoS testing
with Alexey.
In summary: High softirq loads can totally kill userland. The reason is that
do_softirq() is run from many places hard interrupts, local_bh_enable etc
and bypasses the ksoftirqd protection. It just been discussed at OLS with
Andrea and Dipankar and others. Current RCU suffers from this problem as well.
I've experimented some code to defer softirq's to ksoftirqd after a time as
well as deferring all softirq's to ksoftirqd. Andrea had some ideas as well
as Ingo.
Cheers.
--ro
next prev parent reply other threads:[~2004-07-26 18:38 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 21:05 ksoftirqd uses 99% CPU triggered by network traffic Héctor Martín
2004-07-24 23:27 ` Francois Romieu
2004-07-25 6:32 ` Héctor Martín
2004-07-25 20:27 ` ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related) Pasi Sjoholm
2004-07-25 21:59 ` Francois Romieu
2004-07-26 15:15 ` Pasi Sjoholm
2004-07-26 16:37 ` Robert Olsson [this message]
2004-07-26 21:46 ` Pasi Sjoholm
2004-07-26 22:38 ` Robert Olsson
2004-07-27 0:16 ` Pasi Sjoholm
2004-07-27 11:10 ` Robert Olsson
2004-07-27 14:20 ` Pasi Sjoholm
2004-07-27 20:24 ` Robert Olsson
2004-07-27 21:27 ` Pasi Sjoholm
2004-07-28 18:35 ` Robert Olsson
2004-07-28 19:09 ` James Morris
2004-07-29 0:46 ` Pasi Sjoholm
2004-07-30 9:18 ` Robert Olsson
2004-07-30 12:56 ` Pasi Sjoholm
2004-07-30 14:05 ` Robert Olsson
2004-07-30 18:40 ` Pasi Sjoholm
2004-07-31 12:33 ` Francois Romieu
2004-08-02 9:57 ` Pasi Sjoholm
2004-08-02 10:03 ` Pasi Sjoholm
2004-08-02 22:35 ` Francois Romieu
2004-08-03 12:32 ` Pasi Sjoholm
2004-08-03 16:50 ` Francois Romieu
2004-08-03 20:19 ` Pasi Sjoholm
2004-08-04 16:26 ` Pasi Sjoholm
2004-08-05 10:14 ` Hector Martin
2004-08-05 10:55 ` Hector Martin
2004-08-05 11:22 ` Francois Romieu
2004-08-05 15:28 ` OGAWA Hirofumi
2004-08-05 17:21 ` Francois Romieu
2004-07-30 14:12 ` Robert Olsson
2004-07-26 16:55 ` Stephen Hemminger
2004-07-26 21:28 ` Pasi Sjoholm
[not found] <41041DED.2010609@cox.net>
2004-07-25 21:18 ` Pasi Sjoholm
[not found] <4104257C.3080102@cox.net>
2004-07-25 21:42 ` Pasi Sjoholm
2004-07-25 22:31 ` Andrew Morton
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=16645.13126.52445.630789@robur.slu.se \
--to=robert.olsson@data.slu.se \
--cc=akpm@osdl.org \
--cc=brad@brad-x.com \
--cc=hector@marcansoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=ptsjohol@cc.jyu.fi \
--cc=romieu@fr.zoreil.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®