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 [2022/06/05 11:44] – [cyclictest] autostatic | wiki:system_configuration [2023/10/15 18:06] – [The kernel] autostatic | ||
---|---|---|---|
Line 12: | Line 12: | ||
After adjusting your system using the recommendations of [[system_configuration# | After adjusting your system using the recommendations of [[system_configuration# | ||
+ | |||
+ | This wiki also contains a manual on installing a Linux audio system here: [[wiki: | ||
==== Preliminary ==== | ==== Preliminary ==== | ||
Line 35: | Line 37: | ||
Run '' | Run '' | ||
- | Linux bto 5.17.1-rt17 #1~focal1 | + | Linux bto 6.5.6-1-liquorix-amd64 |
- | 5.17.1-rt17 is the version number of the currently running kernel. The configuration file with which this kernel was created can be found in ''/ | + | 6.5.6-1-liquorix-amd64 |
CONFIG_HIGH_RES_TIMERS=y | CONFIG_HIGH_RES_TIMERS=y | ||
Line 51: | Line 53: | ||
=== Do I really need a real-time kernel? === | === Do I really need a real-time kernel? === | ||
- | With the kernel boot option '' | + | With the kernel boot option '' |
See also: [[https:// | See also: [[https:// | ||
Line 57: | Line 59: | ||
=== Using the threadirqs kernel option === | === Using the threadirqs kernel option === | ||
- | This is only needed for so-called generic kernels, ie. standard kernels that are not tweaked for lowlatency performance. You can check if your kernel already includes this option with the following command: | + | This is only needed for so-called generic |
$ grep -e " | $ grep -e " | ||
Line 73: | Line 75: | ||
=== Disabling Spectre and Meltdown mitigations === | === Disabling Spectre and Meltdown mitigations === | ||
- | :!: Warning: | + | :!: Warning: |
To work around the Spectre and Meltdown vulnerabilities several mitigations were built into the kernel. These mitigations can have a negative impact on the performance of your machine. To disable those mitigations and get the most out of your CPU's again you can add the following kernel parameter to your Grub configuration, | To work around the Spectre and Meltdown vulnerabilities several mitigations were built into the kernel. These mitigations can have a negative impact on the performance of your machine. To disable those mitigations and get the most out of your CPU's again you can add the following kernel parameter to your Grub configuration, | ||
Line 81: | Line 83: | ||
=== Installing a real-time kernel === | === Installing a real-time kernel === | ||
- | This section describes installing a real-time kernel on an existing Linux distribution. Some distributions contain packages you can install to get a real-time kernel, for others you'll need to compile it yourself. You can recognize real-time kernel versions by the added ' | + | This section describes installing a real-time kernel on an existing Linux distribution. Some distributions contain packages you can install to get a real-time kernel, for others you'll need to compile it yourself. You can recognize real-time kernel versions by the added ' |
== Ubuntu == | == Ubuntu == | ||
Line 102: | Line 104: | ||
For rolling your own kernel, see [[build_your_own_real-time_kernel]]. | For rolling your own kernel, see [[build_your_own_real-time_kernel]]. | ||
+ | |||
+ | === Other alternatives === | ||
+ | Besides low-latency or real-time kernels there are also other kernel flavors available specifically tailored for multimedia usage. | ||
+ | |||
+ | == Liquorix == | ||
+ | > Liquorix is an enthusiast Linux kernel designed for uncompromised responsiveness in interactive systems, enabling low latency compute in A/V production, and reduced frame time deviations in games.((https:// | ||
+ | Especially when used in combination with the '' | ||
== Other relevant links == | == Other relevant links == | ||
Line 610: | Line 619: | ||
'' | '' | ||
- | {{:wiki:top2.png|Terminal running top}} | + | {{:wiki:top_2023-10-15.png|Terminal running top}} |
With the help of '' | With the help of '' | ||
Line 618: | Line 627: | ||
'' | '' | ||
- | {{:wiki:htop2.png|Terminal running htop}} | + | {{:wiki:htop_2023-10-15.png|Terminal running htop}} |
==== latencytop ==== | ==== latencytop ==== | ||
Line 633: | Line 642: | ||
Other examples of the usage of '' | Other examples of the usage of '' | ||
- | * http:// | + | * https:// |
* https:// | * https:// | ||
Line 643: | Line 652: | ||
* Power management | * Power management | ||
* Rewrite rtirq section or move to separate page | * Rewrite rtirq section or move to separate page | ||
+ | * Pipewire |