[asterisk-ss7] Poor dahdi_test results

Ryan Crowder ryanc at customteleconnect.com
Tue Sep 20 13:38:35 CDT 2011


Do you think this error has anything to do with it?

dahdi_genconf
/usr/sbin/dahdi_genconf: missing default group (termtype=UNKNOWN)
It doesn't populate dahdi-channels.conf so I have to configure
chan_dahdi.conf manually.

Here are the results... not really better.
:/etc/dahdi# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
99.608% 99.419% 99.608% 99.608% 99.415% 99.608% 99.415% 99.608%
99.608% 99.416% 99.608% 99.415% 99.608% 99.608% 99.415% 99.608%
99.415% 99.608% 99.608% 99.416% 99.608% 99.415% 99.608% 99.608%
99.415% 99.608% 99.415% 99.608% 99.608% 99.415% 99.608% 99.415% ^C
--- Results after 32 passes ---
Best: 99.608 -- Worst: 99.415 -- Average: 99.529880, Difference:
100.004770
:/etc/dahdi# dahdi_test -v -c 5
Opened pseudo dahdi interface, measuring accuracy...

8192 samples in 8159.801 system clock sample intervals (99.607%)
8192 samples in 8159.528 system clock sample intervals (99.604%)
8192 samples in 8239.840 system clock sample intervals (100.584%)
8192 samples in 8159.856 system clock sample intervals (99.608%)
8192 samples in 8239.840 system clock sample intervals (100.584%)
--- Results after 5 passes ---
Best: 99.608 -- Worst: 99.416 -- Average: 99.530042, Difference:
99.997230

Dmesg
[ 9624.587699] dahdi: Telephony Interface Registered on major 196
[ 9624.587704] dahdi: Version: 2.5.0.1
[ 9624.597302] wcte12xp 0000:02:0c.0: PCI INT A -> GSI 39 (level, low)
-> IRQ 39
[ 9625.911967] wcte12xp 0000:02:0c.0: Setting up global serial
parameters for T1
[ 9628.915713] wcte12xp 0000:02:0c.0: Found a Wildcard TE122
[ 9987.311862] dahdi_echocan_mg2: Registered echo canceler 'MG2'
[ 9991.191249] wcte12xp 0000:02:0c.0: Setting yellow alarm

I don't know how to check the wall time other than to say the time looks
right.


-----Original Message-----
From: asterisk-ss7-bounces at lists.digium.com
[mailto:asterisk-ss7-bounces at lists.digium.com] On Behalf Of Shaun
Ruffell
Sent: Tuesday, September 20, 2011 11:08 AM
To: asterisk-ss7 at lists.digium.com
Subject: Re: [asterisk-ss7] Poor dahdi_test results

On Tue, Sep 20, 2011 at 10:42:52AM -0700, Ryan Crowder wrote:
> 
> Thanks for replying!  Here is dahdi_hardware and lspci output.
>  
> dahdi_hardware
> pci:0000:02:0c.0     wcte12xp+    d161:8001 Wildcard TE122
> pci:0000:03:0b.0     rxt1+        0b0b:0305 Rhino R4T1

What happens when you just load the wcte12xp driver? For example:

  $ /etc/init.d/dahdi stop
  $ lsmod | grep dahdi (make sure no other drivers are loaded)
  $ modprobe wcte12xp; dahdi_genconf system (will overwrite your
configs)
  $ dahdi_cfg
  $ dahdi_test -v -c 5
  Opened pseudo dahdi interface, measuring accuracy...
  
  8192 samples in 8191.544 system clock sample intervals (99.994%)
  8192 samples in 8188.704 system clock sample intervals (99.960%)
  8192 samples in 8190.480 system clock sample intervals (99.981%)
  8192 samples in 8190.048 system clock sample intervals (99.976%)
  8192 samples in 8189.799 system clock sample intervals (99.973%)
  --- Results after 5 passes ---
  Best: 99.994 -- Worst: 99.960 -- Average: 99.976991, Difference:
99.976991

If when just using the wcte12xp driver and dahdi_test still reports
poor results I would look in dmesg to see if the driver is reporting
anything about increasing the latency. If there are not any messages
from the driver and dahdi_test has poor results then I would verify
that the system is able to keep accurate wall time.

If the problem only occurs when the rxt1 driver is loaded /
configured, then I would recommend contacting Rhino technical
support.

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

CONFIDENTIALITY / PRIVILEGE NOTICE: This transmission and any attachments are intended solely for the addressee. This transmission is covered by the Electronic Communications Privacy Act, 18 U.S.C §§ 2510-2521. The information contained in this transmission is confidential in nature and protected from further use or disclosure under U.S. Pub. L. 106-102, 113 U.S. Stat. 1338 (1999), and may be subject to attorney-client or other legal privilege. Your use or disclosure of this information for any purpose other than that intended by its transmittal is strictly prohibited, and may subject you to fines and/or penalties under federal and state law. If you are not the intended recipient of this transmission, please DESTROY ALL COPIES RECEIVED and confirm destruction to the sender via return transmittal.



More information about the asterisk-ss7 mailing list