[Asterisk-Users] ztdummy inaccuracy on linux-2.6

Steven Ringwald asric at asric.com
Mon Jan 16 13:43:15 MST 2006


On Mon, 2006-01-16 at 17:43 +0100, Tamas wrote:
> Hello,
> 
> I have some ugly numbers given by zttest for ztdummy on an AMD64 box
> running linux-2.6.15 compiled for Athlon64.
> 
> linux-2.6.15, zaptel/branches/1.2 r900, jiffies
> ./zttest
> Opened pseudo zap interface, measuring accuracy...
[snip]

> --- Results after 136 passes ---
> Best: 99.987793 -- Worst: 99.975586 -- Average: 99.975853
> 
> linux-2.6.15, zaptel/branches/1.2 r900, RTC
> Opened pseudo zap interface, measuring accuracy...

> [snip]

> --- Results after 96 passes ---
> Best: 99.963379 -- Worst: 99.938965 -- Average: 99.952942
> 
>  linux-2.6.15, zaptel/branches/1.2 r900+patch
> bugs.digium.com/view.php?id=5971, RTC
> 
> Opened pseudo zap interface, measuring accuracy...
[snip]
> --- Results after 136 passes ---
> Best: 100.000000 -- Worst: 99.694824 -- Average: 99.951973
> 
> HW:
> Tyan Tomcat K8E, Athlon64 3000+, 1GB RAM, 3ware 8006, 2x Maxtor HDD
> 
> SW:
> Ubuntu 5.10, linux-2.6.15, zaptel from 1.2 branch
> 
> Any idea what can be wrong?

What does your /proc/interrupts say? On my asterisk box, I was seeing
crappy interrupt handling like this only when I was using XT-PIC
interrupt handling, when I moved to IO-APIC, things got much better... 

Steve





More information about the asterisk-users mailing list