Guys. I have an issue with a te110p card and also some tdm04b cards on the
same system:
Zttest returns this for the tdm04b cards:
[root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 38 -v
Opened pseudo zap interface, measuring accuracy...
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8223 sample intervals 99.621582%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8400 sample intervals 97.460938%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8438 sample intervals 96.997070%
--- Results after 15 passes ---
Best: 100.000000 -- Worst: 96.997070 -- Average: 99.601237
And for the te110p:
[root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 1 -v
Opened pseudo zap interface, measuring accuracy...
8192 samples in 8239 sample intervals 99.426270%
8192 samples in 8200 sample intervals 99.902344%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8384 sample intervals 97.656250%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8193 sample intervals 99.987793%
--- Results after 20 passes ---
Best: 100.000000 -- Worst: 97.656250 -- Average: 99.843140
Im getting problems receiving faxes which can be caused by this.
As you can see, the cards are not sharing IRQs as far as I cant tell
CPU0 CPU1
0: 17697848 17714488 IO-APIC-edge timer
7: 2 2 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 0 1 IO-APIC-level acpi
14: 103455 112606 IO-APIC-edge ide0
15: 0 0 IO-APIC-edge libata
169: 0 0 IO-APIC-level uhci_hcd:usb2
185: 2793868 12 IO-APIC-level eth0
201: 0 0 IO-APIC-level ehci_hcd:usb1
209: 0 0 IO-APIC-level uhci_hcd:usb3
217: 19672684 15531101 IO-APIC-level wcte11xp
225: 17824822 17371238 IO-APIC-level wctdm
233: 15323598 19896224 IO-APIC-level wctdm
So, can anybody point me in the right direction in order to debug the
problem with zttest and quality of sound?
How can I change prioritiess for the cards or maybe adjust or see if they
get their right number of interrupts, etc?
Thx for the help guys!
use lspci -vb for detecting interrupt conflicts.. On 4/10/06, Anton Krall <akrall-lists@intruder.com.mx> wrote:> > Guys. I have an issue with a te110p card and also some tdm04b cards on the > same system: > > Zttest returns this for the tdm04b cards: > > [root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 38 -v > Opened pseudo zap interface, measuring accuracy... > > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8223 sample intervals 99.621582% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8400 sample intervals 97.460938% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8438 sample intervals 96.997070% > --- Results after 15 passes --- > Best: 100.000000 -- Worst: 96.997070 -- Average: 99.601237 > > And for the te110p: > > [root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 1 -v > Opened pseudo zap interface, measuring accuracy... > > 8192 samples in 8239 sample intervals 99.426270% > 8192 samples in 8200 sample intervals 99.902344% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8384 sample intervals 97.656250% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8191 sample intervals 99.987793% > 8192 samples in 8192 sample intervals 100.000000% > 8192 samples in 8193 sample intervals 99.987793% > --- Results after 20 passes --- > Best: 100.000000 -- Worst: 97.656250 -- Average: 99.843140 > > Im getting problems receiving faxes which can be caused by this. > > As you can see, the cards are not sharing IRQs as far as I cant tell > > CPU0 CPU1 > 0: 17697848 17714488 IO-APIC-edge timer > 7: 2 2 IO-APIC-edge parport0 > 8: 1 0 IO-APIC-edge rtc > 9: 0 1 IO-APIC-level acpi > 14: 103455 112606 IO-APIC-edge ide0 > 15: 0 0 IO-APIC-edge libata > 169: 0 0 IO-APIC-level uhci_hcd:usb2 > 185: 2793868 12 IO-APIC-level eth0 > 201: 0 0 IO-APIC-level ehci_hcd:usb1 > 209: 0 0 IO-APIC-level uhci_hcd:usb3 > 217: 19672684 15531101 IO-APIC-level wcte11xp > 225: 17824822 17371238 IO-APIC-level wctdm > 233: 15323598 19896224 IO-APIC-level wctdm > > So, can anybody point me in the right direction in order to debug the > problem with zttest and quality of sound? > How can I change prioritiess for the cards or maybe adjust or see if they > get their right number of interrupts, etc? > > Thx for the help guys! > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060410/068fb3df/attachment.htm
This system has acpi enabled. This is how the cards looks like:
217: 22201132 17764597 IO-APIC-level wcte11xp
225: 20253291 19707036 IO-APIC-level wctdm
233: 17510466 22474179 IO-APIC-level wctdm
but if you run lspci .vb to see how the system sees the cards:
02:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
Subsystem: Unknown device 795e:0001
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 2000
Memory at dd200000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
02:08.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
Subsystem: Unknown device b119:0001
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 2800
Memory at dd201000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
03:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
Subsystem: Unknown device b119:0001
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 3000
Memory at dd400000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
I dont get it, the system sees everything on IRQ5 eventhough the kernel sees
everything in diff. IRQ:
02:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
02:08.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
03:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
Also, latency for the cards is 32...
i enabled the watchdog on zttool and I do see Missed IRQ/interrupts on
zttooll for the te110p card... how can I fix this?
Ive read some stuff around but so far.. nothing makes sense to me... :(
_____
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Infobox Peru
Sent: Monday, April 10, 2006 5:47 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] te110p and interrupts
use lspci -vb for detecting interrupt conflicts..
On 4/10/06, Anton Krall <akrall-lists@intruder.com.mx
<mailto:akrall-lists@intruder.com.mx> > wrote:
Guys. I have an issue with a te110p card and also some tdm04b cards on the
same system:
Zttest returns this for the tdm04b cards:
[root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 38 -v
Opened pseudo zap interface, measuring accuracy...
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8223 sample intervals 99.621582%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8400 sample intervals 97.460938%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8438 sample intervals 96.997070%
--- Results after 15 passes ---
Best: 100.000000 -- Worst: 96.997070 -- Average: 99.601237
And for the te110p:
[root@mollendo ~]# /usr/src/zaptel-1.2.4/zttest 1 -v
Opened pseudo zap interface, measuring accuracy...
8192 samples in 8239 sample intervals 99.426270%
8192 samples in 8200 sample intervals 99.902344%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8384 sample intervals 97.656250%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8193 sample intervals 99.987793%
--- Results after 20 passes ---
Best: 100.000000 -- Worst: 97.656250 -- Average: 99.843140
Im getting problems receiving faxes which can be caused by this.
As you can see, the cards are not sharing IRQs as far as I cant tell
CPU0 CPU1
0: 17697848 17714488 IO-APIC-edge timer
7: 2 2 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 0 1 IO-APIC-level acpi
14: 103455 112606 IO-APIC-edge ide0
15: 0 0 IO-APIC-edge libata
169: 0 0 IO-APIC-level uhci_hcd:usb2
185: 2793868 12 IO-APIC-level eth0
201: 0 0 IO-APIC-level ehci_hcd:usb1
209: 0 0 IO-APIC-level uhci_hcd:usb3
217: 19672684 15531101 IO-APIC-level wcte11xp
225: 17824822 17371238 IO-APIC-level wctdm
233: 15323598 19896224 IO-APIC-level wctdm
So, can anybody point me in the right direction in order to debug the
problem with zttest and quality of sound?
How can I change prioritiess for the cards or maybe adjust or see if they
get their right number of interrupts, etc?
Thx for the help guys!
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060410/4f70849d/attachment.htm
Is this dual CPU/Core or just P4 with HT enabled? If it is P4, I would recommend to disable HT. Try changing PCI slots for one of the cards (if you have spare PCI slots).>?????????? CPU0?????? CPU1 >??0:?? 17697848?? 17714488????IO-APIC-edge??timer
This is a Xeon with HT... I remember I disabled HT on supermicros bios but then again, maybe somebody enabled it again.. That?s why its showing 2 cpus? Ill disable it too.. Thx for the hint.. BTW why did you commented the timer line? |-----Original Message----- |From: asterisk-users-bounces@lists.digium.com |[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of |Boris Bakchiev |Sent: Monday, April 10, 2006 6:26 PM |To: Asterisk Users Mailing List - Non-Commercial Discussion |Subject: RE: [Asterisk-Users] te110p and interrupts | |Is this dual CPU/Core or just P4 with HT enabled? |If it is P4, I would recommend to disable HT. | |Try changing PCI slots for one of the cards (if you have spare |PCI slots). | |>?????????? CPU0?????? CPU1 |>??0:?? 17697848?? 17714488????IO-APIC-edge??timer |_______________________________________________ |--Bandwidth and Colocation provided by Easynews.com -- | |Asterisk-Users mailing list |To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users | |
Mojo with Horan & Company, LLC
2006-Apr-10 17:09 UTC
[Asterisk-Users] te110p and interrupts
Because it was what showed you had two CPUs: CPU0, CPU1 (Hyperthreading is kinda dual-coreish) Anton Krall wrote:> This is a Xeon with HT... I remember I disabled HT on supermicros bios but > then again, maybe somebody enabled it again.. That?s why its showing 2 cpus? > > Ill disable it too.. > > Thx for the hint.. BTW why did you commented the timer line? > > > |-----Original Message----- > |From: asterisk-users-bounces@lists.digium.com > |[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > |Boris Bakchiev > |Sent: Monday, April 10, 2006 6:26 PM > |To: Asterisk Users Mailing List - Non-Commercial Discussion > |Subject: RE: [Asterisk-Users] te110p and interrupts > | > |Is this dual CPU/Core or just P4 with HT enabled? > |If it is P4, I would recommend to disable HT. > | > |Try changing PCI slots for one of the cards (if you have spare > |PCI slots). > | > |> CPU0 CPU1 > |> 0: 17697848 17714488 IO-APIC-edge timer > |_______________________________________________ > |--Bandwidth and Colocation provided by Easynews.com -- > | > |Asterisk-Users mailing list > |To UNSUBSCRIBE or update options visit: > | http://lists.digium.com/mailman/listinfo/asterisk-users > | > | > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Damn :) any others? |-----Original Message----- |From: asterisk-users-bounces@lists.digium.com |[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of |Eric "ManxPower" Wieling |Sent: Monday, April 10, 2006 7:25 PM |To: Asterisk Users Mailing List - Non-Commercial Discussion |Subject: Re: [Asterisk-Users] te110p and interrupts | |Anton Krall wrote: |> I will try that and see what happens... |> This server is a supermicro one.. Anybody else had issues |like this on |> supermicro? Any hints on how to resolv them? |> |> If I remember correctly, supermicro bios does let you assign irq to |> certain pci ports right? Will that help? |> |> Also, is there a way/is it recommended to increase the latency for |> these devices? | |We tried to use a supermicro board once. We could not make it |work with Asterisk and a Digium TE card if there was any usage |of the IDE controller. We made the system a new file server |and went with an Intel branded board. |_______________________________________________ |--Bandwidth and Colocation provided by Easynews.com -- | |Asterisk-Users mailing list |To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users | |
Hi,
I've been battling with a similar issue:
a) I wrote a script to periodically run the command "cat
/proc/interrupts" and figure out the interrupts per second. I run this
script for over 24 hours and never once did the difference between the
preceeding and succeeding interrupt counts go below 1005 (wierd result
because of (b) below);
b) zttest was reporting very bad results;
c) lspci -vb was reporting that the TE110P shared an IRQ with the Gigabit
Ethernet Card (IRQ 11)
d) lspci -vv was reporting that the TE110P was on an IRQ of its own ("IRQ
24") probably because of APIC (wierd because of (c) above);
e) Users reported intermittent bad audio;
Below are the [experimental] steps I took:
a) I'm running a Dual 3.2 GHz machine - the network card is services by
CPU0 - I set the smp_affinity value for the Digium card to be CPU1
b) I disabled the userland 'irqbalance' process which keeps switching
the
Digium card between the CPUs
c) I increased the PCI "LATENCY_TIMER" value for the TE110P to a
value
higher than the Gigabit Card.
So far, things are looking quite good - zttest is reporting very
encouraging worst-case figures when run over a period of over an hour (it
reports 99.98% worst case at off peak time and 99.77% when run during the
busy hour). Ultimately when I have physical access to the machine, I will
change the PCI slots to see if getting "lspci -vb" to report that the
card
is on its own IRQ will improve performance further.
Cheers,
Gerald.