Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:system_configuration [2017/05/29 17:05] – [limits.conf/audio.conf] autostatic | wiki:system_configuration [2020/03/17 21:22] – [The kernel] autostatic | ||
---|---|---|---|
Line 30: | Line 30: | ||
=== Note about kernels === | === Note about kernels === | ||
- | * Kernels >= 2.6.31 seem to work pretty | + | * Kernels >= 2.6.31 seem to work pretty |
* In the pre-2.6.39 kernel era rt kernels were indeed necessary in some cases where sound devices were sharing IRQ's with other peripherals. With the rt kernel and the rtirq script you could prioritize IRQ threads but since 2.6.39 it is possible to use the rtirq kernel with a generic kernel and the '' | * In the pre-2.6.39 kernel era rt kernels were indeed necessary in some cases where sound devices were sharing IRQ's with other peripherals. With the rt kernel and the rtirq script you could prioritize IRQ threads but since 2.6.39 it is possible to use the rtirq kernel with a generic kernel and the '' | ||
* Many distro kernels, and many third-party-provided real-time kernels, are configured without the 1000 Hz setting. | * Many distro kernels, and many third-party-provided real-time kernels, are configured without the 1000 Hz setting. | ||
Line 38: | Line 38: | ||
Run '' | Run '' | ||
- | Linux xps13 4.8.15-core2-rt10 #1 SMP PREEMPT RT Sun May 28 10:43:44 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux | + | Linux XPS-13-9360 5.4.24-core2-rt15 #1~bionic1 |
- | 4.8.15-core2-rt10 is the version number of the currently running kernel. The configuration file with which this kernel was created can be found in ''/ | + | 5.4.24-core2-rt15 is the version number of the currently running kernel. The configuration file with which this kernel was created can be found in ''/ |
CONFIG_HZ_1000=y | CONFIG_HZ_1000=y | ||
Line 85: | Line 85: | ||
== Debian == | == Debian == | ||
- | Since Debian Wheezy an RT variant is also available in the [[https:// | + | Since Debian Wheezy an RT variant is also available in the [[https:// |
- | + | ||
- | deb http:// | + | |
== Arch == | == Arch == | ||
Line 95: | Line 93: | ||
== Gentoo == | == Gentoo == | ||
- | RT kernels are vailable in the pro-audio overlay | + | An audio overlay |
=== Build your own real-time kernel === | === Build your own real-time kernel === | ||
- | If your distribution isn't any help, you can compile and install a real-time kernel manually. The examples assume building a RT kernel based on the 3.2 kernel version but they should generally apply fo other kernel versions too provided that there is a RT patchset available for the used kernel. | + | If your distribution isn't any help, you can compile and install a real-time kernel manually. The examples assume building a RT kernel based on the 4.8 kernel version but they should generally apply for other kernel versions too provided that there is a RT patchset available for the used kernel. |
Install the necessary packages, on Debian and Ubuntu this is: | Install the necessary packages, on Debian and Ubuntu this is: | ||
sudo apt-get install kernel-package fakeroot build-essential | sudo apt-get install kernel-package fakeroot build-essential | ||
- | Download the kernel sources and the RT patchset (this example uses the 3.18 branch, you're free to use another kernel branch for which there is a RT patch set available): | + | Download the kernel sources and the RT patchset (this example uses the 4.8 branch, you're free to use another kernel branch for which there is a RT patch set available): |
mkdir -p ~/ | mkdir -p ~/ | ||
cd ~/ | cd ~/ | ||
Line 200: | Line 198: | ||
- | Then you can compile... | + | Then you can compile. |
make clean | make clean | ||
make deb-pkg | make deb-pkg | ||
Line 280: | Line 278: | ||
=== DBus-controlled services === | === DBus-controlled services === | ||
- | DBus is a solid standard used for a wide variety of services which need to be started automatically, | + | DBus is a solid standard used for a wide variety of services which need to be started automatically, |
mv / | mv / | ||
mv / | mv / |