Re: [LAU] RT in Arch Linux

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Morris <jwm.art.net@...>
Cc: <linux-audio-user@...>
Date: Tuesday, November 15, 2011 - 10:15 pm

System tuning in a nut shell:

+ install linux-rt

https://aur.archlinux.org/packages.php?ID=51360

+ To make the most of it, since linux 2.6.39 you can include
`threadirqs` in your kernel boot line.

+ Remember to install the package `rtirq`

+ include `rtirq` in your DAEMONS array in `/etc/rc.conf`. For example:

DAEMONS=(dbus hal syslog-ng rtirq @alsa @wicd)

+ Add to `/etc/secutiry/limits.conf`

@audio - rtprio 99
@audio - memlock unlimited

+ If you use firewire soundcards, include in your MODULES array in
`/etc/rc.conf`:

MODULES=(firewire-core firewire-ohci)

+ Add yourself to the `audio` group

usermod -a -G audio **yourUserID**

+ Add to `/etc/sysctl.conf`

vm.swappiness = 10
fs.inotify.max_user_watches = 524288

+ Add to `/etc/udev/rules.d/40-hpet-permissions.rules`

KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"

+ Set the cpufreq governor to `performance`. See the
[ArchWiki article](https://wiki.archlinux.org/index.php/Cpufreq#Daemon)

+ To use ALSA applications with JACK (web browsers and other
applications without JACK support) you can install the package
`alsa-plugins` and add the following to `~/.asoundrc`

# convert alsa API over jack API
# use it with
# % aplay foo.wav

# use this as default
pcm.!default {
type plug
slave { pcm "jack" }
}

ctl.mixer0 {
type hw
card 1
}

# pcm type jack
pcm.jack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] RT in Arch Linux, James Morris, (Tue Nov 15, 9:02 pm)
Re: [LAU] RT in Arch Linux, Fons Adriaensen, (Tue Nov 15, 9:15 pm)
Re: [LAU] RT in Arch Linux, James Morris, (Tue Nov 15, 9:31 pm)
Re: [LAU] RT in Arch Linux, Fons Adriaensen, (Tue Nov 15, 9:42 pm)
Re: [LAU] RT in Arch Linux, James Morris, (Tue Nov 15, 10:10 pm)
Re: [LAU] RT in Arch Linux, Jeremy Jongepier, (Wed Nov 16, 9:01 am)
Re: [LAU] RT in Arch Linux, James Morris, (Wed Nov 16, 2:46 pm)
Re: [LAU] RT in Arch Linux, Philipp Überbacher, (Mon Nov 21, 10:22 pm)
Re: [LAU] RT in Arch Linux, Hartmut Noack, (Fri Nov 25, 9:10 am)
Re: [LAU] RT in Arch Linux, Bernardo Barros, (Tue Nov 15, 10:15 pm)
Re: [LAU] RT in Arch Linux, Bernardo Barros, (Tue Nov 15, 10:19 pm)
Re: [LAU] RT in Arch Linux, david, (Wed Nov 16, 6:35 am)
Re: [LAU] RT in Arch Linux, Leigh Dyer, (Tue Nov 15, 11:28 pm)
Re: [LAU] RT in Arch Linux, Bernardo Barros, (Tue Nov 15, 11:33 pm)
Re: [LAU] RT in Arch Linux, Fons Adriaensen, (Tue Nov 15, 10:40 pm)
Re: [LAU] RT in Arch Linux, Philipp Überbacher, (Mon Nov 21, 10:25 pm)
Re: [LAU] RT in Arch Linux, Fons Adriaensen, (Mon Nov 21, 10:42 pm)
Re: [LAU] RT in Arch Linux, Philipp Überbacher, (Fri Nov 25, 11:16 am)
Re: [LAU] RT in Arch Linux, Lorenzo Sutton, (Fri Nov 25, 11:30 am)
Re: [LAU] RT in Arch Linux, Bernardo Barros, (Mon Nov 21, 10:26 pm)
Re: [LAU] RT in Arch Linux, Bernardo Barros, (Mon Nov 21, 10:30 pm)
Re: [LAU] RT in Arch Linux, Philipp Überbacher, (Mon Nov 21, 11:05 pm)
Re: [LAU] RT in Arch Linux, david, (Wed Nov 16, 6:36 am)