[Asterisk-Dev] High resolution timers using POSIX clocks instead
of zaptel
Steve Underwood
steveu at coppice.org
Tue Jun 7 09:44:41 MST 2005
Steven wrote:
>On Tue, 2005-06-07 at 12:16 -0400, Steve Kann wrote:
>
>
>>Gilad Ben-Yossef wrote:
>>
>>
>>
>>>Derek Smithies wrote:
>>>
>>>
>>>
>>>>Does anyone have some realworld experience on a recent machine &
>>>>software timers to prove they are still a bad idea?
>>>>
>>>>
>>>>
>>>Fact of life - on a 2.4 Linux kernel for x86 or PPC the timer
>>>resolution is 10ms (look for the HZ macro in
>>>/usr/src/linux/include/asm/param.h) That's simply not enough.
>>>
>>>
>>Not enough for what? What do you need to do that 10ms resultion isn't
>>enough?
>>
>>
>
>I'm betting that since 10ms is equal to 80 samples, that you would see
>that it is too slow for the current needs. To slow down to a 10ms
>resolution would might require 2 sets of timer routines, one able to
>handle the zapata resolution and then the software timer one.
>
>
I think the only thing is common use with * that doesn't work in
multiples of 10ms is LPC10. Why is <10ms resolution important.
Regards,
Steve
More information about the asterisk-dev
mailing list