[Asterisk-Dev] IRQ misses and crackles during disk activity

Steven Critchfield critch at basesys.com
Sun Jun 13 19:25:05 MST 2004


On Sun, 2004-06-13 at 21:09, John Matthews wrote:
>  
> 
> I am using an E100P with all the latest asterisk and zaptel versions
> (0.9.1). I carefully ensured that my E100P wasn’t sharing interrupts
> with any other devices in my system. Problem is that I get the
> occasional crackle during phone conversations. Looking deeper the
> crackles are always associated with IRQ misses which seem to occur
> when data is being read/written to the disk. Crackles always occur
> when the disk active LED on my PC is blinking. Running patlooptest
> (with a loopback adapter fitted to the card) shows essentially the
> same thing ie) data errors at times when my disk is active. It
> occurred to me that the fault may lie as much with the disk drivers as
> with the E100P. If they were disabling interrupts for “lengthy”
> periods then it wouldn’t be surprising that the E100P was not able to
> service its interrupts in a timely manner. My system is fitted with a
> standard IDE disk. If anyone has a system that works without crackles
> and IRQ misses please could you let me know what type of disks you are
> using.

Use hdparm to look over your hard drive settings. You need 32 bit access
and you need dma turned on. This will let your hard drive activity be
more efficient and not take up as much time.

Usually I use "hdparm -c1 -d1 /dev/hda" if I need to pursuade the kernel
of the settings.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-dev mailing list