TDM API Interrupt Rate Control

This procedure only applies to Shark model E1/T1 cards: A104 and A108.

  1. Query your Sangoma cards for model and firmware revision. These cards need updating:
    [root@ana17 ~]# wanrouter hwprobe
    
    -------------------------------
    | Wanpipe Hardware Probe Info |
    -------------------------------
    1 . AFT-A200-SH : SLOT=7 : BUS=1 : IRQ=9 : CPU=A : PORT=PRI : HWEC=32 : V=06
    2 . AFT-A104-SH : SLOT=9 : BUS=1 : IRQ=11 : CPU=A : PORT=1 : HWEC=128 : V=21
    3 . AFT-A104-SH : SLOT=9 : BUS=1 : IRQ=11 : CPU=A : PORT=2 : HWEC=128 : V=21
    4 . AFT-A104-SH : SLOT=9 : BUS=1 : IRQ=11 : CPU=A : PORT=3 : HWEC=128 : V=21
    5 . AFT-A104-SH : SLOT=9 : BUS=1 : IRQ=11 : CPU=A : PORT=4 : HWEC=128 : V=21
    
    Card Cnt: S508=0  S514X=0  S518=0  A101-2=0  A104=1  A300=0  A200=1  A108=0
  2. Update firmware on Shark model cards to revision 25 or higher. Check out the Sangoma Firmware Update Procedure.
  3. Edit /etc/wanpipe/wanpipeX.conf for each E1/T1 port. Find the [wXg1] section where X is the wanpipe number. The MTU variable control the size of the packets in octets delivered to the API. Changing this value also affects the rate of interrupts to the CPU. Less interrupts with more data is a more efficient arrangement for most SMG systems. The values for MTU can be:
    • 8 corresponding to a 1ms interrupt rate
    • 16 - 2 ms
    • 40 - 5 ms
    • 80 - 10 ms (It is recommedend that only the value of 80 be used.)
  4. Save changes

Created by: mike last modification: Friday 01 of December, 2006 [21:13:22 UTC] by mike

The original document is available at http://www.ss7box.com/tiki-index.php?page=TDM%20API%20Interrupt%20Rate%20Control