Author Topic: what is ksoftirqd/0 and how to stop it.?  (Read 4658 times)

Offline dmt

  • Jr. Member
  • **
  • Posts: 21
what is ksoftirqd/0 and how to stop it.?
« on: June 14, 2012, 03:23:42 AM »
Hi all

Basically I installed the lxde edition on my laptop and all seems well.  I then went ahead and installed onto the desktop.  It all seems well apart from a process - ksoftirqd/0 - hogging the cpu and heating up the machine.  I have found no way to stop it - unlike stopping the automatic apt-get update checking on loging-in.  How is it stopped.  I have tried updating/changing the kernel as sugessted in some forums - that did not help.

Code: [Select]
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 761/M761 Host (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS965 [MuTIOL Media IO] (rev 48)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:08.0 IDE interface: Silicon Integrated Systems [SiS] Device 0183 (rev 01)
00:09.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d0)
00:0a.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
01:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO]

Thats my lspci.

Any ideas anyone :)

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10641
  • MLUs Forever!
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #1 on: June 14, 2012, 04:28:50 AM »
Two responses I came across on line

Quote
Your computer communicates with the devices attached to it through IRQs (interrupt requests). When an interrupt comes from a device, the operating system pauses what it was doing and starts addressing that interrupt.

In some situations IRQs come very very fast one after the other and the operating system cannot finish servicing one before another one arrives. This can happen when a high speed network card receives a very large number of packets in a short time frame.

Because the operating system cannot handle IRQs as they arrive (because they arrive too fast one after the other), the operating system queues them for later processing by a special internal process named ksoftirqd.

If ksoftirqd is taking more than a tiny percentage of CPU time, this indicates the machine is under heavy interrupt load.


Quote
Sounds like you have some bad hardware that is generating interrupts non stop. Take a look at /proc/interrupts and see if you can spot the one that is going nuts. –

Makes me wonder if it is connected to the SIS hardware .......

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline dmt

  • Jr. Member
  • **
  • Posts: 21
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #2 on: June 14, 2012, 04:40:10 AM »
Quote
Quote
Sounds like you have some bad hardware that is generating interrupts non stop. Take a look at /proc/interrupts and see if you can spot the one that is going nuts. –

Yeah I had a look yesterday.  Something to do with Local timer interrupts.


Quote
Makes me wonder if it is connected to the SIS hardware .......

I doubt that as pclinuxos is the only os that has done this - more likely pclinuxos bug.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15296
  • ┌∩┐(◕_◕)┌∩┐
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #3 on: June 14, 2012, 06:56:31 AM »
Quote
I doubt that as pclinuxos is the only os that has done this - more likely pclinuxos bug.

From the web searches I quickly did it seems the ksoftirqd/0 is not restricted to PCLinuxsOS and in fact it seems fairly widespread.

PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline dmt

  • Jr. Member
  • **
  • Posts: 21
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #4 on: June 14, 2012, 08:28:17 AM »
Quote
I doubt that as pclinuxos is the only os that has done this - more likely pclinuxos bug.

From the web searches I quickly did it seems the ksoftirqd/0 is not restricted to PCLinuxsOS and in fact it seems fairly widespread.



Thats true.  But it is only with pclinuxos that it is a problem - at least on my desktop. ;)

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #5 on: June 14, 2012, 11:10:07 AM »
Just had a quick look at my machine (Bare Metal 2), and found I have ksoftirqd/0 to ksoftirqd/3 running, but taking no resources I can see in the activity monitor.

I'm wondering if these processes relate to the active cores.

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline dmt

  • Jr. Member
  • **
  • Posts: 21
Re: what is ksoftirqd/0 and how to stop it.?
« Reply #6 on: June 14, 2012, 04:00:59 PM »
Hi all

I have had a look at my laptop and /proc/irq have folders that are numbered that are not empty like on my desktop.  I can only guess that the install was not clean.  I will copy across most of the folders from my laptop.

 :)