[elrepo] Realtime kernel for audio/games?

Ljubomir Ljubojevic centos at plnet.rs
Mon Oct 13 07:23:03 EDT 2014


On 10/13/2014 01:19 PM, Ljubomir Ljubojevic wrote:
> Hi guys.
> 
> Is there any desire, or even need to create a realtime kernel aimed at
> audio/games?
> 
> Since Desktop/gaming system and servers have different priorities, I was
> wondering how things are with current CentOS kernels. For CentOS 5 there
> were CCRMA kernels.
> 
> Non-Gaming purpose would be for audio conversion/streaming.
> 

Understanding low latency

Summary

Summarizing, you need tuned drivers that do not disable interrupts for
long, low latency patches in the kernel so that the scheduler runs often
enough and your application itself has to run with the SCHED_FIFO
scheduling policy so that it gets the best chance of grabbing the
processor when it needs it.

When everything is in place things work incredibly well. The system can
be running an audio task with no dropouts and a few milliseconds of
latency while the computer is being loaded with disk accesses, screen
refreshes and whatnot. The mouse gets jerky, windows update very slowly
but not a dropout to be heard.

I wonder if anybody got this far :-)
http://ccrma.stanford.edu/planetccrma/software/understandlowlat.html

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant


More information about the elrepo mailing list