[Asterisk-Dev] Re: ztdummy accuracy improvements on kernel 2.6

Tony Mountifield tony at softins.clara.co.uk
Mon May 16 09:14:16 MST 2005


In article <Chameleon.1116253478.adar0 at vegas>,
Rich Adamson <radamson at routers.com> wrote:
> > > On May 16, 2005 08:59 am, Tony Mountifield wrote:
> > > > I think what is happening is that the zaptel processing invoked by 
> > > > ztdummy is not happening quite often enough due to missed jiffies. 
> > > > Consequently I suspect the incoming IAX channels are not being 
> > > > serviced often enough, and are building up a backlog.
> > > 
> > > If ztdummy's hitting it 1024 times a second instead of 1000 
> > > wouldn't that indicate that it was servicing it too often?
> > > 
> > > -A.
> > 
> > >From the original email:
> > 
> > which is to set the rtc irq to 1024Hz (it must be a power of 2), and
> > then skip 3 out of every 128 irqs (evenly spaced) to give 1000 zaptel
> > interrupts each second.
> 
> I might be way off base here, but wasn't it determined that interrupt
> requirements really were 1024 per second (not 1000/sec)? (I'm not the
> OP.)

No, I think you're getting mixed up with the zttest stuff you did a few
weeks ago, which was getting 8192 bytes in 1.024 seconds.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list