LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-27-2012, 07:38 PM   #1
hololeap
LQ Newbie
 
Registered: Oct 2011
Location: Colorado, USA
Distribution: Gentoo, Ubuntu
Posts: 13

Rep: Reputation: Disabled
Any way to find what processes/systems are using softirqd?


I have noticed that whenever I run KDE4 I have two ksoftirqd processes (I am assuming one per core) constistantly using 20-40% of my CPU. I have tried disabling certain modules and my guess is that the culprit is the fglrx module, but I have no way to know for sure. Is there a way to check to see what is calling the interrupts?
 
Old 03-27-2012, 07:54 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
I could not find a command to identify a process's parent, though I'm sure there is one, but this command will print a process tree. Maybe it will help.

Code:
ps -ejH
 
Old 03-27-2012, 08:03 PM   #3
hololeap
LQ Newbie
 
Registered: Oct 2011
Location: Colorado, USA
Distribution: Gentoo, Ubuntu
Posts: 13

Original Poster
Rep: Reputation: Disabled
I know that the softirqd is a process that is spawned by the kernel to queue interrupts whenever there is a higher load than the hardware interrupts can handle. So, I don't think that finding the parent will solve the issue but thanks for the suggestion.

P.S. Running ps -Af will show you the parent process (as well as pstree). The parent of softirqd is kthreadd which is not a normal process but is part of the kernel AFAIK.
 
Old 03-27-2012, 09:43 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Quote:
Originally Posted by hololeap View Post
Is there a way to check to see what is calling the interrupts?
Not from userspace.
There are tools out there that should do it, but all have a reasonable learning curve - LTTng, perf, ftrace, systemtap ...

Might be easiest to pull the proprietary driver.
 
Old 03-29-2012, 10:18 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Bear in mind that "k" in the name of a process can refer either to "KDE" or to "Kernel."

Kernel processes are literally "part of the kernel." They execute as dispatchable processes (under privileged rules of order), executing code in kernel-space, to handle those "kernel" duties that are most agreeably defined as being asynchronous.

Last edited by sundialsvcs; 03-29-2012 at 10:19 AM.
 
Old 03-30-2012, 11:19 PM   #6
hololeap
LQ Newbie
 
Registered: Oct 2011
Location: Colorado, USA
Distribution: Gentoo, Ubuntu
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yeah, I knew that ksoftirqd wasn't part of KDE, it just seemed to happen whenever KDE4 was running. I couldn't figure out how to install LTTng but after testing I think I've pretty conclusively found that it's the fglrx module. I don't want to switch back to the open source drivers. I wonder if there is some option in xorg.conf that will solve the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find the 10days before processes hinetvenkat Linux - Server 3 08-08-2007 03:08 AM
How to find old processes ? hinetvenkat Linux - Software 2 06-20-2006 07:27 AM
how can i find orphan processes? thecoolguy Linux - General 2 04-09-2006 01:01 AM
Find processes paraiso Linux - Newbie 9 04-28-2005 03:36 PM
How do I add start and stop commands to systems startup and shutdown processes? mlsbraves Slackware 1 11-25-2004 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration