Re: [LAU] Building a low latency friendly kernel

From: Robin Gareus <robin@email-addr-hidden>
Date: Wed Jan 26 2011 - 20:07:31 EET

On 01/26/2011 06:34 PM, S. Massy wrote:
> Hi,
>
> I was wondering whether there were any articles/pointers to building an
> audio friendly kernel, whether RT or stock. I'm looking for informations
> such as what might be options, or even features, which are hurtful to
> low-latency. Looking for low latency kernel info on google, btw, yields
> outdated information, by and large.

search for "realtime preemt" or go directly to
https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO

To /just build/ a rt kernel you download the vanilla kernel source and
the latest rt patch: http://www.kernel.org/pub/linux/kernel/projects/rt/
# tar xfj linux-2.6.33.7.tar.bz2
# mv -vi linux-2.6.33.7 linux-2.6.33.7.2-rt30
# cd linux-2.6.33.7.2-rt30
# bzcat ../patch-2.6.33.7.2-rt30.bz2 | patch -p1
# make config # :)
# make-kpkg --rootcmd fakeroot kernel_image

configuring the kernel is the hardest part.. :-)
After installing you'll also want to do some additional setup: eg
install Rui's rtirq script and tweak limits.conf

As for "stock" options: This issue has recently been discussed on this
list: see the thread "[LAU] rt kernel in debian/squeeze"
http://lists.linuxaudio.org/pipermail/linux-audio-user/2011-January/thread.html

http://wiki.linuxaudio.org/wiki/real_time_info has lots of links and
list of audio-distributions.

HTH,
robin

-- 
Robin Gareus
web: http://gareus.org/                mail: robin@email-addr-hidden
lab: http://citu.fr/                   chat: xmpp:rgareus@email-addr-hidden
Public Key at http://pgp.mit.edu/  http://gareus.org/public.asc
Fingerprint : 7107 840B 4DC9 C948 076D 6359 7955 24F1 4F95 2B42
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jan 26 20:15:05 2011

This archive was generated by hypermail 2.1.8 : Wed Jan 26 2011 - 20:15:05 EET