[Asterisk-Users] TDM users: modified zttest.c for testing

Josiah Bryan jbryan at productiveconcepts.com
Tue May 3 09:20:47 MST 2005


On Tuesday 03 May 2005 11:48 am, Rich Adamson wrote:
> The design objective of the TDM (and x100p) cards was to transfer
> 8,192 bytes of data from the card in exactly 1.00000 seconds.
> The above sample indicates my system required 1.023856 seconds to
> accomplish this, or 23856 microseconds too late.
>
...
>
> It would be very interesting to see everyone's results in running
> this, and even more interesting to report the results with the OS
> distro in use, mobo in use (if known), etc. If anyone actually
> get's a result that is very close to 1.000 seconds, I'd really
> like to know more about those systems. (email off list is fine
> if you want.)
>

Results summary: Best: 1.024028 -- Worst: 1.023796 -- Average: 1.023886

Distro: FC3


[root at asterisk zaptel]# ./zttest-mod -v
Objective: to read 8192 bytes from TDM card in 1.000000 seconds.
Opened pseudo zap interface, measuring accuracy...

8192 bytes in 1.023861 seconds
8192 bytes in 1.023878 seconds
8192 bytes in 1.023878 seconds
8192 bytes in 1.023894 seconds
8192 bytes in 1.023861 seconds
8192 bytes in 1.023878 seconds
8192 bytes in 1.023879 seconds
8192 bytes in 1.023878 seconds
8192 bytes in 1.023877 seconds
8192 bytes in 1.023912 seconds
8192 bytes in 1.023845 seconds
8192 bytes in 1.023879 seconds
8192 bytes in 1.023911 seconds
8192 bytes in 1.023898 seconds
8192 bytes in 1.024028 seconds
8192 bytes in 1.023796 seconds
8192 bytes in 1.023916 seconds
8192 bytes in 1.023887 seconds
--- Results after 18 passes ---
Best: 1.024028 -- Worst: 1.023796 -- Average: 1.023886

# uname -a
Linux asterisk.productiveconcepts.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 
2004 i686 i686 i386 GNU/Linux

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : Intel(R) Pentium(R) 4 CPU 1.50GHz
stepping        : 2
cpu MHz         : 1483.665
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 2924.54



-- 
Josiah Bryan
IT Coordinator
Productive Concepts, Inc.
jbryan at productiveconcepts.com
(765) 964-6009, ext. 224



More information about the asterisk-users mailing list