[asterisk-users] Terrible dahdi_test results
Mike Leddy
mike at loop.com.br
Thu May 15 09:10:47 CDT 2014
Thanks again Russ,
I did as you described:
[ 1777.393179] dahdi: Version: 2.7.0.1
[ 1777.393995] dahdi: Telephony Interface Registered on major 196
[ 1789.943167] dahdi: Warning: Span DAHDI_DUMMY/1 didn't specify a
spantype. Please fix driver!
[ 1789.943865] dahdi_dummy: Trying to load High Resolution Timer
[ 1789.943869] dahdi_dummy: Initialized High Resolution Timer
[ 1789.943872] dahdi_dummy: Starting High Resolution Timer
[ 1789.943876] dahdi_dummy: High Resolution Timer started, good to go
[ 2816.078038] Setting up DMA (write/read = 00002000/00002200)
[ 2816.078054] Controller version: 24
[ 2816.079999] FALC version: 00000000
[ 2816.080284] TE110P: Setting up global serial parameters for E1 FALC
V1.2
[ 2816.080775] TE110P: Successfully initialized serial bus for card
[ 2816.084698] Found a Wildcard: Digium Wildcard TE110P T1/E1
There is a significant improvement:
# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
79.256% 99.401% 86.288% 95.736% 77.951% 94.636% 87.010% 97.638%
90.234% 97.651% 97.648% 91.744% 90.541% 92.671% 91.090% 91.118%
95.832% 96.503% 83.753% 97.642% 98.419% 81.845% 92.441% 99.142%
96.645% 88.332% 77.918% 97.651% 87.029% 69.357% 98.153% 89.980%
93.939% 86.579% 78.785% 98.497% 77.916% 82.414% 96.838% 97.061%
99.392% 94.414% 97.094% 99.095% 90.329% 97.678% 90.087% 93.631%
99.130% 97.379% 94.361% 97.653% 97.670% 77.946% 78.312% 95.465%
84.429% 97.640% 78.185% 97.910% 77.938% 78.314% 89.535% 83.030%
85.246% 84.128% 74.614% 87.055% 90.382% 79.477% 97.096% 90.822% ^C
--- Results after 72 passes ---
Best: 99.401% -- Worst: 69.357% -- Average: 90.260025%
Cummulative Accuracy (not per pass): 92.402
I suspect it may not be good enough yet for production but a
step in the right direction :-)
Timer Stats Version: v0.2
Sample period: 10.013 s
....
10014, 9027 modprobe init_module (dahdi_dummy_hr_int)
....
I will test it on a live E1 soon.
Best regards,
Mike
On Wed, 2014-05-14 at 16:53 -0500, Russ Meyerriecks wrote:
> On Wed, May 14, 2014 at 3:41 PM, Mike Leddy <mike at loop.com.br> wrote:
> Hi Eric,
>
> I plugged an E1 into the card and it doesn't make any
> difference.
>
>
> Check to see if the card is interrupting 1000 times per second with
> something like:
> cat /proc/interrupts | grep wc && sleep 1 && cat /proc/interrupts |
> grep wc
>
>
> You could also try manually compiling dahdi_dummy by commenting it
> back in, in the file:
> drivers/dahdi/Kbuild
> Then modprobe dahdi_dummy
> This module forces the use of the high res timers
>
>
> --
> Russ Meyerriecks
> Digium, Inc. | Linux Kernel Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> direct: +1 256-428-6025
> Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list