Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-21 Thread Tony Hoyle

Matthew Boehm wrote:

I've been trying to diagnose why my server has a constant idle time of 90%
even when nothing is running.

After finally discovering what hi means in 'top' (it means hardware
interrupts) I find that this percentage always averages around 7-10%.

How can I find out what is causing this constant load of interrupts?


cat /proc/interrupts

One of your devices will have a *very* large number of interrupts I expect.

Tony
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-21 Thread Rich Adamson

 I've been trying to diagnose why my server has a constant idle time of 90%
 even when nothing is running.
 
 After finally discovering what hi means in 'top' (it means hardware
 interrupts) I find that this percentage always averages around 7-10%.
 
 How can I find out what is causing this constant load of interrupts?
 
 I have a Dell 1850 3.0Ghz with on board RAID and 2GB RAM.
 
 Anyone else experiencing this?

Do a ps ax |grep mpg and see if you have more then two mpg's running.
If you do, stop asterisk, kill all remaining mpg's, and restart asterisk.


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-20 Thread steve


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm
 Sent: Monday, September 19, 2005 4:52 PM
 To: Asterisk Users
 Subject: Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?
 
CPU0   CPU1
   0: 85 1703809954IO-APIC-edge  timer
   8:  0  0IO-APIC-edge  rtc
   9:  0  1   IO-APIC-level  acpi
  14:  0 31IO-APIC-edge  ide0
 177:  0   17840313   IO-APIC-level  megaraid
 185:  0 1817423967   IO-APIC-level  eth0
 193:  0   40198530   IO-APIC-level  eth1
 201:  0 3507106255   IO-APIC-level  wanpipe1, wanpipe2, wanpipe3,
 wanpipe4
 NMI:  0  0
 LOC: 1633394197 1633394188
 ERR:  0
 MIS:  0
 

Might be your Sangoma board using up the cpu...?

Other likely candidate is that its your so-called-hardware RAID
(megaraid).  They call it hardware, but its really software raid because
the raid code runs on your main processor.

Steve

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Matthew Boehm
I've been trying to diagnose why my server has a constant idle time of 90%
even when nothing is running.

After finally discovering what hi means in 'top' (it means hardware
interrupts) I find that this percentage always averages around 7-10%.

How can I find out what is causing this constant load of interrupts?

I have a Dell 1850 3.0Ghz with on board RAID and 2GB RAM.

Anyone else experiencing this?

-Matthew


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Matthew Boehm
OK. Perhaps I was not clear. Please read my original post again:

 I've been trying to diagnose why my server has a constant idle time of 90%
 even when nothing is running.

I did not say 90% usage I said 90% idle. Meaning I have a constant CPU
usage of 10%.

This 10% measurement comes from the hardware interrupt (hi) from within
top:

Cpu(s):  3.8% us,  2.1% sy,  0.0% ni, 85.5% id,  0.2% wa,  8.0% hi,  0.4% si


Even when all other percentages are at 0%, hi remains around 10%. How can I
figure out what is causing all these interrupts?

-Matthew


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Rich Adamson

 OK. Perhaps I was not clear. Please read my original post again:
 
  I've been trying to diagnose why my server has a constant idle time of 
  90%
  even when nothing is running.
 
 I did not say 90% usage I said 90% idle. Meaning I have a constant CPU
 usage of 10%.
 
 This 10% measurement comes from the hardware interrupt (hi) from within
 top:
 
 Cpu(s):  3.8% us,  2.1% sy,  0.0% ni, 85.5% id,  0.2% wa,  8.0% hi,  0.4% si
 
 
 Even when all other percentages are at 0%, hi remains around 10%. How can I
 figure out what is causing all these interrupts?

I don't have a clue other then to unload drivers, etc.


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Sig Lange
It means you have a piece of hardware that is generating a lot of interupts. Try a few commands like this:

# vmstat 1
# watch -n1 cat /proc/interrupts 
Go through lspci -vb and disable hardware that's not being used. 

Watch the numbers as they increase. Also check for ERR and MIS
On 9/19/05, Rich Adamson [EMAIL PROTECTED] wrote:
 OK. Perhaps I was not clear. Please read my original post again:  I've been trying to diagnose why my server has a constant idle time of 90%  even when nothing is running.
 I did not say 90% usage I said 90% idle. Meaning I have a constant CPU usage of 10%. This 10% measurement comes from the hardware interrupt (hi) from within
 top:
Cpu(s):3.8% us,2.1% sy,0.0% ni,
85.5% id,0.2% wa,8.0% hi,0.4% si Even when all other percentages are at 0%, hi remains around 10%. How can I figure out what is causing all these interrupts?I don't have a clue other then to unload drivers, etc.
___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list
Asterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Sig Langehttp://www.signuts.net/
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Kevin Collins
Cat /proc/interrupts and watch the devices 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm
Sent: Monday, September 19, 2005 3:16 PM
To: Asterisk Users
Cc: Rich Adamson
Subject: Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

OK. Perhaps I was not clear. Please read my original post again:

 I've been trying to diagnose why my server has a constant idle time of 90%
 even when nothing is running.

I did not say 90% usage I said 90% idle. Meaning I have a constant CPU
usage of 10%.

This 10% measurement comes from the hardware interrupt (hi) from within
top:

Cpu(s):  3.8% us,  2.1% sy,  0.0% ni, 85.5% id,  0.2% wa,  8.0% hi,  0.4% si


Even when all other percentages are at 0%, hi remains around 10%. How can I
figure out what is causing all these interrupts?

-Matthew


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


smime.p7s
Description: S/MIME cryptographic signature
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Matthew Boehm
   CPU0   CPU1
  0: 85 1703809954IO-APIC-edge  timer
  8:  0  0IO-APIC-edge  rtc
  9:  0  1   IO-APIC-level  acpi
 14:  0 31IO-APIC-edge  ide0
177:  0   17840313   IO-APIC-level  megaraid
185:  0 1817423967   IO-APIC-level  eth0
193:  0   40198530   IO-APIC-level  eth1
201:  0 3507106255   IO-APIC-level  wanpipe1, wanpipe2, wanpipe3,
wanpipe4
NMI:  0  0
LOC: 1633394197 1633394188
ERR:  0
MIS:  0

Any idea what LOC and timer are? I did watch -n1 cat /proc/interrupts
for about a minute. The largest movers were timer, LOC and eth0. The
others either never change or hardly changed.

-Matthew

 From: Sig Lange [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED], Asterisk Users Mailing List - Non-Commercial
 Discussion asterisk-users@lists.digium.com
 Date: Mon, 19 Sep 2005 15:34:26 -0400
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Subject: Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?
 
 It means you have a piece of hardware that is generating a lot of interupts.
 Try a few commands like this:
 
 # vmstat 1
 # watch -n1 cat /proc/interrupts
 Go through lspci -vb and disable hardware that's not being used.
 
 Watch the numbers as they increase. Also check for ERR and MIS
 
 
 On 9/19/05, Rich Adamson [EMAIL PROTECTED] wrote:
 
 
 OK. Perhaps I was not clear. Please read my original post again:
 
 I've been trying to diagnose why my server has a constant idle time
 of 90%
 even when nothing is running.
 
 I did not say 90% usage I said 90% idle. Meaning I have a constant
 CPU
 usage of 10%.
 
 This 10% measurement comes from the hardware interrupt (hi) from
 within
 top:
 
 Cpu(s): 3.8% us, 2.1% sy, 0.0% ni, 85.5% id, 0.2% wa, 8.0% hi, 0.4% si
 
 
 Even when all other percentages are at 0%, hi remains around 10%. How
 can I
 figure out what is causing all these interrupts?
 
 I don't have a clue other then to unload drivers, etc.
 
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com http://Easynews.com--
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 -- 
 Sig Lange
 http://www.signuts.net/
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

2005-09-19 Thread Kevin Collins
Matthew,

I see similar timer interrupts from using ztdummy as my timing reference, 
should be about 1k per sec.
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm
Sent: Monday, September 19, 2005 4:52 PM
To: Asterisk Users
Subject: Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?

   CPU0   CPU1
  0: 85 1703809954IO-APIC-edge  timer
  8:  0  0IO-APIC-edge  rtc
  9:  0  1   IO-APIC-level  acpi
 14:  0 31IO-APIC-edge  ide0
177:  0   17840313   IO-APIC-level  megaraid
185:  0 1817423967   IO-APIC-level  eth0
193:  0   40198530   IO-APIC-level  eth1
201:  0 3507106255   IO-APIC-level  wanpipe1, wanpipe2, wanpipe3,
wanpipe4
NMI:  0  0
LOC: 1633394197 1633394188
ERR:  0
MIS:  0

Any idea what LOC and timer are? I did watch -n1 cat /proc/interrupts
for about a minute. The largest movers were timer, LOC and eth0. The
others either never change or hardly changed.

-Matthew

 From: Sig Lange [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED], Asterisk Users Mailing List - Non-Commercial
 Discussion asterisk-users@lists.digium.com
 Date: Mon, 19 Sep 2005 15:34:26 -0400
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Subject: Re: [Asterisk-Users] OT: Hardware Interrupts; Who is it?
 
 It means you have a piece of hardware that is generating a lot of interupts.
 Try a few commands like this:
 
 # vmstat 1
 # watch -n1 cat /proc/interrupts
 Go through lspci -vb and disable hardware that's not being used.
 
 Watch the numbers as they increase. Also check for ERR and MIS
 
 
 On 9/19/05, Rich Adamson [EMAIL PROTECTED] wrote:
 
 
 OK. Perhaps I was not clear. Please read my original post again:
 
 I've been trying to diagnose why my server has a constant idle time
 of 90%
 even when nothing is running.
 
 I did not say 90% usage I said 90% idle. Meaning I have a constant
 CPU
 usage of 10%.
 
 This 10% measurement comes from the hardware interrupt (hi) from
 within
 top:
 
 Cpu(s): 3.8% us, 2.1% sy, 0.0% ni, 85.5% id, 0.2% wa, 8.0% hi, 0.4% si
 
 
 Even when all other percentages are at 0%, hi remains around 10%. How
 can I
 figure out what is causing all these interrupts?
 
 I don't have a clue other then to unload drivers, etc.
 
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com http://Easynews.com--
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 -- 
 Sig Lange
 http://www.signuts.net/
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


smime.p7s
Description: S/MIME cryptographic signature
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users