LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-01-2011, 02:08 PM   #1
rigs
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
Strange IRQ problem


I have a machine I use as a firewall. After an undetermined amount of time (could be 10 minutes, could be an hour) certain processes become sluggish.

At first I noticed this with the proprietary nvidia drivers. The UI would become very slow (including typing into a terminal window) restarting X would fix the problem temporarily. As this is quite annoying I eventually dropped to generic drivers, which solved the problem. Then I noticed that after a while I would get ridiculously low throughput on one of my gigabit NICs. In the logs I see

... irq 19: nobody cared (try booting with the "irqpoll" option)
...
... Disabling IRQ #19

Nothing is sharing this IRQ and I also tried swapping out the NIC and putting it and a different one in a different slot. No joy.

The weird part is that in /proc/interrupts the line for this IRQ under CPU0 shows 500001 (what are the odds?).

Any ideas?
 
Old 10-02-2011, 04:49 AM   #2
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi rigs....

500001 shots on a single IRQ line might be a high number, but might be just moderate. For comparison, compare it to timer IRQ (IRQ 0).

So, I think that sluggish experience came from something else. We need more info from you. Care to tell us:
- your kernel version and distro name+version?
- output of command "top -b -n 1"

that's all so far, and let's discuss more after you get the data.....

PS: for prevention, try to terminate every processes (including daemon) you don't need. And no X Window whenever possible. The idea is to make your environment as pristine as possible.....thus reducing the number of suspects.
 
Old 10-02-2011, 05:36 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Also post 'cat /proc/interrputs', 'lspci -k', and 'lsmod'.

When using the nvidia drivers make sure to put:

Code:
    Option "UseEvents" "1"
in the Device section of xorg.conf.
 
Old 10-03-2011, 02:08 AM   #4
rigs
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the replies, guys.

I think I solved the problem. I'm passing "noirqdebug" on boot, and so far (a day later) the problem has not returned. I've even reinstalled the nvidia proprietary drivers which seem to be working.

It looks like a stray hit on the IRQ causes the kernel to run some debug code every subsequent time the IRQ fires, which as you can imagine slows things down for that IRQ. They really should turn this on by default.

By the way, the weird thing about the 500001 in /proc/interrupts is not that the number is high (it's actually very low) but that it's so round (or maybe "not random").

If someone tells me how to mark this as solved, I'll do so. Or a mod can do it.
 
Old 10-03-2011, 12:42 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,142

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
As the OP, you should see an option in thread tools. You can also edit 1st post, go advanced, and edit the subject line. There's a prefix box there with SOLVED in it
 
Old 10-04-2011, 01:34 PM   #6
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi rigs

Great to hear you solve the problem. The thing is, after I read http://www.linuxtopia.org/online_boo...tion/re18.html, I think that your system might have broken IRQ handling somewhere. Or maybe the logic itself inside the Linux kernel is indeed broken.
 
  


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
UNIQ IRQ and Shared IRQ...I want to make Shared IRQ routin chxooi Linux - Hardware 1 06-12-2010 07:30 AM
IRQ problem twlilinux Linux - Hardware 3 08-29-2008 09:10 AM
Possible IRQ Problem RMorris78 Linux - Hardware 1 01-17-2007 12:14 AM
SCSI Errors when IRQ Shared - How do I not share IRQ MQMan Linux - Hardware 2 01-08-2006 11:42 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 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