[Asterisk-Users] how to debug frame slips?

Peter Svensson psvasterisk at psv.nu
Wed Dec 29 02:46:17 MST 2004


On Wed, 29 Dec 2004, Adam Goryachev wrote:

> On Tue, 2004-12-28 at 06:10, Michael Welter wrote:
> > Try 'lspci -v' and look at the latency timer for your Digium card(s). 
> > You can set it higher with 'setpci -v -s xx:yy.0 LATENCY=TIMER=ff' (xx 
> > is the bus number and yy is the slot).
> > 
> 
> Shouldn't you decrease the latency? ie, to something lower like 16 or 8
> or 0 ?? or is a higher value better??

Generally, you want the digium cards to have a high enough latency value
on the digium cards that it can transfer one ms worth of audio in one
burst (8*numchans bytes). You also want other cards to have low enough
latency timers to grant the digium cards access to the bus soon enough, 
typically a fraction of a ms.

See http://www.reric.net/linux/pci_latency.html.

Peter




More information about the asterisk-users mailing list