[Asterisk-Users] Zaptel: Hz != 1000 causing ztdummy compilationerror?

Tzafrir Cohen tzafrir at cohens.org.il
Sat Nov 5 00:54:16 MST 2005


On Fri, Nov 04, 2005 at 12:12:08PM +0100, Dave Cotton wrote:
> On Tue, 1980-01-01 at 09:11 -0800, Trixter http://www.0xdecafbad.com/
> wrote:
> > A jiffy is a kernel timer, this affects many thing in the kernel.  
> > Linux for as long as I know uses 1000hz.  I am really surprised 
> > this failed on fc4.  Ztdummy uses this as a base for timing, 
> > particularly with meetme and tdmoe.  If its not high enough quality 
> > may be degraded.
> > 
> > As for what you tried, you tried to adjust the realtime clock, which 
> > is slightly different.
> > 
> > What kernel version are you using?
> > 
> He is probably using 2.6.14 in which you can opt for 100hz (servers),
> 250hz (mixed) and 1000hz (desktops).

Note:

Asterisk here falls under "desktop": Much like interactive desktop apps
it need timely response rather than more time at the CPU.

> 
> I discussed this with Kevin when the 2.6.14 series started, have a look
> in the archives.
> 
> CVS ztdummy certainly compiles correctly with 100hz.

Still getting HZ to be 1000 is probably preferred.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list