Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:system_configuration [2025/04/05 20:12] – [JuJu FireWire stack] autostatic | wiki:system_configuration [2025/04/13 18:42] (current) – [rtcqs] autostatic | ||
---|---|---|---|
Line 123: | Line 123: | ||
You should check if the following daemons, services or processes are running, and if so, consider stopping them and/or resort to alternatives: | You should check if the following daemons, services or processes are running, and if so, consider stopping them and/or resort to alternatives: | ||
- | * CPU frequency scaling | + | * CPU frequency scaling that scales |
* Desktop Environments (DE): especially on less powerful machines it is recommended to use a lighter DE than Gnome, KDE or Unity. Possible alternatives include LXDE, XFCE or IceWM. Another option is to only use a lightweight Window Manager (WM) like Openbox or Fluxbox. | * Desktop Environments (DE): especially on less powerful machines it is recommended to use a lighter DE than Gnome, KDE or Unity. Possible alternatives include LXDE, XFCE or IceWM. Another option is to only use a lightweight Window Manager (WM) like Openbox or Fluxbox. | ||
* Compositing: | * Compositing: | ||
Line 216: | Line 216: | ||
The modules and processes differ of course on a per machine basis so first figure out which modules are loaded with '' | The modules and processes differ of course on a per machine basis so first figure out which modules are loaded with '' | ||
+ | ==== Simultaneous Multithreading ==== | ||
+ | Simultaneous Multithreading (SMT) or hyper-threading can cause spikes in DSP load at higher DSP loads. In such cases it might be beneficial to disable SMT. This can be done by setting the SMT '' | ||
+ | |||
+ | echo off | sudo tee / | ||
+ | | ||
+ | See also https:// | ||
+ | |||
+ | More information on SMT/ | ||
==== Solve IRQ conflicts by unbinding devices ==== | ==== Solve IRQ conflicts by unbinding devices ==== | ||
Line 305: | Line 313: | ||
=== ext3/ext4 tuning options === | === ext3/ext4 tuning options === | ||
+ | |||
+ | Tuning shouldn' | ||
== noatime == | == noatime == | ||
Line 544: | Line 554: | ||
When using FireWire audio interfaces it is generally advised to use a real-time kernel. Of course this is not necessary, there are also users reporting success with generic kernels, but when you have trouble getting your system stable regarding xruns one of the first things besides installing [[system_configuration# | When using FireWire audio interfaces it is generally advised to use a real-time kernel. Of course this is not necessary, there are also users reporting success with generic kernels, but when you have trouble getting your system stable regarding xruns one of the first things besides installing [[system_configuration# | ||
+ | |||
+ | FireWire devices can be used with FFADO or ALSA, if supported. | ||
Line 556: | Line 568: | ||
The [[https:// | The [[https:// | ||
- | rtcqs - version 0.5.0 | + | rtcqs - version 0.6.6 |
| | ||
Root User | Root User | ||
Line 562: | Line 574: | ||
[ OK ] Not running as root. | [ OK ] Not running as root. | ||
| | ||
- | | + | Group Limits |
- | =========== | + | |
- | [ OK ] User music is in the audio group. | + | [ OK ] User music is member of a group that has sufficient rtprio (95) and memlock (unlimited) limits set. |
| | ||
CPU Frequency Scaling | CPU Frequency Scaling | ||
===================== | ===================== | ||
- | [ OK ] The scaling governor of all CPU' | + | [ OK ] The scaling governor of all CPUs is set to performance. |
+ | |||
+ | Simultaneous Multithreading | ||
+ | =========================== | ||
+ | [ OK ] Simultaneous Multithreading (SMT, also called hyper-threading) is disabled. | ||
| | ||
Kernel Configuration | Kernel Configuration | ||
Line 584: | Line 600: | ||
Preempt RT | Preempt RT | ||
========== | ========== | ||
- | [ OK ] Kernel | + | [ OK ] Kernel |
| | ||
Spectre/ | Spectre/ | ||
Line 596: | Line 612: | ||
Swappiness | Swappiness | ||
========== | ========== | ||
- | [ OK ] Swappiness | + | [ OK ] Your system |
| | ||
Filesystems | Filesystems | ||
=========== | =========== | ||
- | [ OK ] The following mounts can be used for audio purposes: /, /mnt/data | + | [ OK ] The following mounts can be used for audio purposes: / |
- | [ WARNING ] The following mounts should be avoided for audio purposes: / | + | |
| | ||
IRQs | IRQs | ||
==== | ==== | ||
- | [ OK ] USB port ehci_hcd: | + | [ OK ] USB port xhci_hcd |
- | | + | |
- | USB port xhci_hcd with IRQ 25 does not share its IRQ. | + | |
- | Soundcard snd_hda_intel: | + | |
+ | [ OK ] USB port xhci_hcd with IRQ 49 does not share its IRQ. | ||
+ | [ OK ] USB port xhci_hcd | ||
| | ||
Power Management | Power Management | ||
================ | ================ | ||
- | [ OK ] Power management can be controlled from user space. This enables | + | [ OK ] Power management can be controlled from user space. This enables |
Discuss this script at the [[https:// | Discuss this script at the [[https:// |