New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

ksoftirqd

Got problems with your B2 or B3? Share and get helped!
Post Reply
Krister
Posts: 13
Joined: 29 Jan 2007, 11:06
Location: Lund, Sweden

ksoftirqd

Post by Krister »

I'm having trouble with ksoftirqd which is taking 25% CPU on my B2 and slowing down the system. Rebooting does not help.

Does anyone know why it takes 25% CPU?

//Krister
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: ksoftirqd

Post by Cheeseboy »

Hi Krister,

Have you got any hardware attached to your Bubba?
Have a look at this:
http://www.tin.org/bin/man.cgi?section= ... =ksoftirqd

Perhaps you could ask Ubi if you could join the Munin club? That will give you better stats, even if they are sometimes mysterious....

Cheers,

Cheeseboy
willem2
Posts: 14
Joined: 07 May 2010, 07:38
Location: Belgium

Re: ksoftirqd

Post by willem2 »

On my BubbaTwo the CPU time from ksoftirqd is ath9k (atheros wifi) related.
You can check with:

Code: Select all

cat /proc/interrupts
results after 6 days uptime:

Code: Select all

          CPU0       
 16:       4250   IPIC   Level     serial
 18: 3273180484   IPIC   Level     ath9k
 19:          0   IPIC   Level     mpc8xxx_spi
 20:    1252900   IPIC   Level     sata_sil
 21:          0   IPIC   Level     phy_interrupt
 22:       1371   IPIC   Level     i2c-mpc
 23:          0   IPIC   Level     i2c-mpc
 24:          0   IPIC   Level     talitos
 32:    1453346   IPIC   Level     eth0_tx
 33:    2187563   IPIC   Level     eth0_rx
 34:          0   IPIC   Level     eth0_er
 35:     744666   IPIC   Level     eth1_tx
 36:     587431   IPIC   Level     eth1_rx
 37:          0   IPIC   Level     eth1_er
 38:         43   IPIC   Level     ehci_hcd:usb1
 48:          0   IPIC   Level     phy_interrupt
 71:          0   IPIC   Level     fsldma-device, fsldma-channel, fsldma-channel, fsldma-channel, fsldma-channel
 74:          0   IPIC   Level     bubbatwo
BAD:         10
and with the command below you can see the amount of interrupts growing:

Code: Select all

watch "grep ath9k /proc/interrupts"
But until now I haven't found a solution for my wifi problems on B2 :(
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: ksoftirqd

Post by Cheeseboy »

Ah, I have the non-wifi model of the B2....
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: ksoftirqd

Post by RandomUsername »

You could try the new beta release, see if it's fixed - http://forum.excito.net/viewtopic.php?f ... 260#p16259
Krister
Posts: 13
Joined: 29 Jan 2007, 11:06
Location: Lund, Sweden

Re: ksoftirqd

Post by Krister »

Thanks,

I found that it is ath9k that generates interrupts and slows down my wifi network.

//Krister
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: ksoftirqd

Post by johannes »

The ath9k is the wifi chipset, and the interrupts are probably correct responses to network events.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Krister
Posts: 13
Joined: 29 Jan 2007, 11:06
Location: Lund, Sweden

Re: ksoftirqd

Post by Krister »

Hi Johannes,

I've shut down all my wifi clients but ksoftirqd still takes about 25% CPU.

//Krister
Nöbbe
Posts: 13
Joined: 19 Feb 2007, 06:22
Location: Lund, Sweden
Contact:

Re: ksoftirqd

Post by Nöbbe »

I have a similar problem, ksoftirqd uses 40-50% of my B2 CPU. When using the watch command on the interrupts file I see that the ath9k get about 25 000 interrupts every second.

Does this sound normal?

Edit: Added logs of the ksoftirqd cpu usage (from top) and ath9k interrupts from /proc/interrupts taken about every second. There is a time stamp as well in the log.
Attachments
log.tar.gz
3600 samples of top, ath9k with timestamps
(46.51 KiB) Downloaded 468 times
Post Reply