You were right. It was a PCI latency issue. I played with this thing for hours until I realized that I got no IRQ misses on the second card until my agents logged into the system using IAX. As soon as the first one logged in, IRQ misses started.

I played with the latency on the Digium cards, but that didn't work. Then, I reduced the latency timer of the two network boards on the system to 0, and that took care of the problem. I've been running for several hours without a glitch.

setpci -v -s XX:X.X latency_timer=00

Some things that I still don't understand:
* Why the second card will always say it is internally clocked, although it has a telco line connected to it and span 1 in that card is configured as a sync source.
* What the purpose of the rotary switch on the TE410 board is.
* The zaptel configuration for multiple boards seems sketchy. I currently have the spans for the second card numbered 5-8 in zaptel.conf, but if I number them 1-4 the system works too, even though the spans for the first card are numbered the same.
* Finally, I don't understand why the IAX traffic affects the performance of the second card only.

Thanks

Fernando

Rich Adamson wrote:
Problems
========

- Choppy voice on calls between channels of card 1.
- Even worse on calls between card 0 and card 1.
- Card 0 behaves well.
- IRQ misses for card 1. Have tried different interrupts. Same thing.
- HDLC overrun messages on console for card 1.
    

Almost sounds like the classic interrupt latency / pci controller issue
where there's not enough processor time left to adequately handle the
second card. (Obviously that's a pure guess though.)

  
Strange fact, may be the cause of the problem
=============================================

Configuration for first span on card 1 is:

span=5,1,0,ccs,hdb3
bchan=118-132
dchan=133
bchan=134-148

However, zttool reports card as "Internally Clocked". No matter how I've 
tried, I cannot get card 1 to clock from the external source:
Sync Source:        Internally clocked

First span on card 0 is configured just the same:

span=1,1,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31

This card gets clocked OK:
Sync Source:        TE410P (PCI) Card 0 Span 1
    

Realistically, there should only be a single external span interface 
on your system that is used for sync source. I'm not a programmer so 
can't verify the code might have limits built in to ensure that.



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to