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

Rich Adamson radamson at routers.com
Mon May 16 12:49:43 MST 2005


> > > > 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.

It's hell to get old... ;) is it Friday?





More information about the asterisk-dev mailing list