Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-06-07 Thread Steve Kann
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/i

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-06-07 Thread Gilad Ben-Yossef
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

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread David Woodhouse
On Sat, 2005-05-28 at 10:56 +1200, Derek Smithies wrote: > Does anyone have some realworld experience on a recent machine & software > timers to prove they are still a bad idea? Anyone using ztdummy on a 2.6 kernel is using precisely the same software timers which drive the kernel's POSIX timer s

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread Derek Smithies
Hi, > >software timers are lacking. > > > > > > I think that is just narrow thinking. Steve's original link for why software timers are a bad idea was from 2002. Since then we have had fantastic improvements in a) cpu performance b) latency of the kernel - anyone tried the low la

[Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread David Woodhouse
Using zaptel just for a time source is silly. We should use POSIX timers instead. Here's a start, but I don't know how long it'll be before I can get to finish it, so I thought I'd post it here in the hope that someone else will pick it up. This demonstrates how to set up POSIX timers to interrupt

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread Andrew Kohlsmith
On May 27, 2005 12:32 pm, Tilghman Lesher wrote: > On Friday 27 May 2005 05:33, David Woodhouse wrote: > > Using zaptel just for a time source is silly. We should use POSIX > > timers instead. Here's a start, but I don't know how long it'll be > > before I can get to finish it, so I thought I'd pos

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread Steve Kann
Tilghman Lesher wrote: On Friday 27 May 2005 05:33, David Woodhouse wrote: Using zaptel just for a time source is silly. We should use POSIX timers instead. Here's a start, but I don't know how long it'll be before I can get to finish it, so I thought I'd post it here in the hope that someon

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread Andrew Thompson
Tilghman Lesher wrote: On Friday 27 May 2005 05:33, David Woodhouse wrote: Using zaptel just for a time source is silly. We should use POSIX timers instead. Here's a start, but I don't know how long it'll be before I can get to finish it, so I thought I'd post it here in the hope that someone el

Re: [Asterisk-Dev] High resolution timers using POSIX clocks instead of zaptel

2005-05-27 Thread Tilghman Lesher
On Friday 27 May 2005 05:33, David Woodhouse wrote: > Using zaptel just for a time source is silly. We should use POSIX > timers instead. Here's a start, but I don't know how long it'll be > before I can get to finish it, so I thought I'd post it here in the > hope that someone else will pick it up