[asterisk-dev] Hardwareless PCI Card Simulator

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Wed May 10 04:02:34 MST 2006


On Tuesday 09 May 2006 18:11, Derek Smithies wrote:
> Current computers cannot (close, but not yet) simulate the one
> interrupt per ms. Once computers get another couple of orders of
> magnitude faster it may be possible.

My 64MHz Freescale MCF5282 board does this without breaking a sweat, and it's 
running Linux.  It has absolutely nothing to do with the horsepower not being 
there.  It has instead everything to do with the linux software timers not 
being quite granular enough out of the box, and it being a pain in the ass to 
provide a soft realtime interrupt at 1ms. 

Current kernels have high-precision timer support, and there is work in the 
zaptel drivers (specifically ztdummy) to take advantage of it, thus 
eliminating the common argument that hardware is needed to get a real 1ms 
interrupt instead of the "close enough" 1.024ms interrupt that is common.

-A.



More information about the asterisk-dev mailing list