[Asterisk-Dev] High resolution timers using POSIX clocks
instead of zaptel
Steven
critch at basesys.com
Tue Jun 7 09:40:47 MST 2005
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.
--
Steven <critch at basesys.com>
More information about the asterisk-dev
mailing list