Re: [linux-audio-dev] Linux kernel HZ, audio latency and how to measure?

From: Stephen Sinclair <radarsat1@email-addr-hidden>
Date: Sat Aug 19 2006 - 03:49:17 EEST

> The user application code is woken up by the interrupt from the audio
> interface, not from a timer firing - in addition to getting data from
> the card and storing it in memory, the interrupt handler wakes up any
> processes that are waiting on the audio data. So HZ is irrelevant.
>
> SCHED_FIFO is needed because otherwise, if there are multiple runnable
> processes when the audio interrupt fires, the kernel could decide to run
> a different process. With SCHED_FIFO it must run the audio process.

Ah, interesting. Thanks.
I feel like I should have known that. I'm going to go read up on audio
drivers now..

Steve
Received on Sat Aug 19 04:15:18 2006

This archive was generated by hypermail 2.1.8 : Sat Aug 19 2006 - 04:15:18 EEST