|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
| Description | ztspeed Results | Bogomips | Cards |
|---|---|---|---|
| Dell P4 | 259084 | 2-x100p | |
| gPC2 | 489661 | none | |
| Dell SC440 | 1239995 | none | |
| gPC2 | 488259 | 3002 | |
| Dell Poweredge T100 | 1244042 | 4000 | |
| Intel Atom 230 1.6 Ghz | 867767 | none | |
| gPC2 | 474516 | none | |
| 1.2 Ghz AMD Athlon | 542632 | none | |
| Dual Xeon 2.4 Ghz | 352601 | FXO/FXS card | |
| P4 3 Ghz | 962651 | 6003 | FXO/FXS card + T1 Card |
| Dual Atom 330 @ 1.6 Ghz | 880698 | 3192 |
Bogomips
To find your bogomips (a measurement of your cpu speed), type "dmesg | less" at the Linux command prompt.
root@pbx:~$ dmesg | less
When the computer is booting Linux, one of the things it does is calculate the relative cpu speed. The command dmesg displays most of the boot messages that fly past on the screen. The "| less" command shows the messages one screenful at a time. Otherwise all you'll see is a blur. Use the page up/down buttons or spacebar to view the next screens (q to quit). About 6 screenfuls in is the bogomips rating on the right side of the screen.
Performance Testing
The zttest (zaptel test) program runs a timing test in a loop and prints the result of each loop. The test is as follows:
It reads 8192 bytes from the zaptel timer device (/dev/zap/pseudo). This should take exactly 8000 ms . It uses calls to gettimeofday(2) before and after that read to check that indeed exactly 8000ms have passed.Acceptable values range from 99.975% to 100%. With values lower than 99.975%, you can expect problems.
Type zttest at the Linux command prompt. You should run it for a long period of time (5 minutes minimum) and throughout the day. Here's good results from a zttest:
Here's bad results (less than 99.975%):
In addition to consistent bad results, you can have intermiddent problems also. You would use zttest's -v option. This gives you a test by test comparison of what is expected and what the result were. This site gives you more information on using the -v option: How to solve TE122 Stability Issues
Troubleshooting Bad zttest Results
The number one reason for bad zttest results is pci bus problems which result from sharing of IRQs. Zaptel devices do NOT like to share IRQs with other devices. Zaptel devices are time sensitive devices and cannot be fighting for the PCI bus with other devices. To monitor the PCI bus, use the "lspci -vb" command at the Linux command prompt. You can direct the output one screen at a time by using this command "lspci -vb |less" or direct it to a text file "lspci -vb >pci.txt":
In this computer, the two digium zaptel cards show up as Tigerjet 3xxx modem/ISDN cards. This is because the zaptel cards use the Tigerjet PCI bus interface chip. Notice that both cards are sharing their IRQs (9 and 10). One with the audio controller (IRQ 9) and the other with the serial controller (IRQ 10). This will cause a low zttest rating and poor audio quality or dropped audio.
Solution
The solution is not that easy anymore, here's some suggestions:
Go to the
Online Book |
Go to the
Home Page |
Go to the
Home Page |
Return to thePBX in a Flash |
