[Vm-dev] linux thread priorities

Bert Freudenberg bert at freudenbergs.de
Thu Feb 4 02:40:31 UTC 2010


On 03.02.2010, at 18:01, Eliot Miranda wrote:
> Our sound processing depends on a high-prirority thread running for a short time every 20 milliseconds to push data through the sound processing paths (microphone recording, OpenAL for spatialization, and so on).  On linux this approach is not immediately applicable 

Scheduling in Linux sucked for a long time, only optimized for server work. Depending on the kernel your users have running it may still be totally unsuitable for anything multimedia. There was a big hubbub about that on LKML where the leading developers did not even acknowledge there was a problem with the scheduler. A rewritten scheduler demonstrated much better performance, but was not accepted as-is. Google for Con Kolivas to learn more. It supposedly has gotten better but only very recently.

You need to find someone to talk to who knows this stuff, I'm only watching from afar. Here's the general idea:

http://x264dev.multimedia.cx/?p=185

- Bert -




More information about the Vm-dev mailing list