Re: [PATCH] Preemption Latency Measurement Tool

Jussi Laako
2001-09-22T10:30:52Z

Thomas Sailer wrote:
>
> > lowlatency soundcards usually have something like 128-512 samples per
> > channel for 24-bit (32-bit data) 96 kHz 8 channels...

> This doesn't make sense. Even professional soundcards provide hundreds
> of kBytes of buffer space. And even with most cheap PCI cards you
> need not wait until the whole buffer is full before start reading
> samples. Even with those soundcards the latency is mostly caused
> by the digital filters in the codec.

RME Digi 96/8 Pro has 128 kB buffer. This means 2048 samples per channel for
8 channel full-duplex operation which is 21.3 ms for 96 kHz. If interrupt is
generated at 50% buffer fill then the time between interrupts is 10.7 ms.
(1)

ICEnsemble ICE1712 chip can use max 256 kB for record and playback so it's
maximum latency is 56.9 ms for 96 kHz and 28.4 ms between interrupts. (2)

As a side note, from ICE's Windows control panel I can select 2-28 ms for
DMA buffer size.

Those times are maximum, usually lower values are used. I use 10 ms buffer
under Windows.

- Jussi Laako

In-Reply-To:

1) RME Digi96 series datasheet
2) ICEnsemble ICE1712 datasheet

--
PGP key fingerprint: 161D 6FED 6A92 39E2 EB5B 39DD A4DE 63EB C216 1E4B
Available at PGP keyservers