[Asterisk-Users] ztdummy with kernel 2.6

Adam Hart adam at teragen.com.au
Wed May 26 17:14:08 MST 2004


Tony Hoyle wrote:

> Adam Hart wrote:
> 
>>>
>> Forgive me for prehaps a stupid question but does the 2.6 kernel have 
>> accurate timers built in now? as I see your code just wraps their timer.
>>
> The HZ value in 2.6 is now 1000 to support realtime scheduling etc.  
> It's certainly accurate enough.  I'm not sure the same thing would work 
> on 2.4 though (maybe worth a try if someone's got some spare time...)
> 
> If you run zttest with it loaded you get about 99.98% accuracy.
> 
> Tony
> 

Great news then, prehaps there's a way to interface directly from user 
mode so drivers ain't required at all (fallback mode if no zaptel 
hardware installed)



More information about the asterisk-users mailing list