Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:system_configuration [2021/01/16 17:53] autostaticwiki:system_configuration [2021/02/18 10:24] – [Disabling resource-intensive daemons, services and processes] autostatic
Line 80: Line 80:
  
 Now reboot and you should have threaded IRQs. Now reboot and you should have threaded IRQs.
 +
 +=== Disabling Spectre and Meltdown mitigations ===
 +:!: Warning: disabling these mitigations will make your machine less secure! Use with caution!
 +
 +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:
 +
 +  mitigations=off
  
 === Installing a real-time kernel === === Installing a real-time kernel ===
Line 229: Line 236:
   * Power management daemons like powersaved or kpowersave   * Power management daemons like powersaved or kpowersave
   * CPU frequency scaling daemons that scale the frequency of the CPU depending on the CPU load could cause xruns in some cases. More recent versions of Jack1 (>= 0.118.0) are suffering less from xruns or run xrun free with a CPU frequency scaling daemon enabled that's set to a scaling governor like ondemand. A specialized CPU scaling daemon is in the works that depends on the DSP-load instead of the CPU load: [[http://rg42.org/oss/jackfreqd/start|jackfreqd]]   * CPU frequency scaling daemons that scale the frequency of the CPU depending on the CPU load could cause xruns in some cases. More recent versions of Jack1 (>= 0.118.0) are suffering less from xruns or run xrun free with a CPU frequency scaling daemon enabled that's set to a scaling governor like ondemand. A specialized CPU scaling daemon is in the works that depends on the DSP-load instead of the CPU load: [[http://rg42.org/oss/jackfreqd/start|jackfreqd]]
-  * Debian/Ubuntu: a default install will have the apt-xapian-index package installed that enables the Quick Search option in the Synaptic package manager. In order for this Quick Search functionality to work properly it needs to regularly update its database with the help of a cronjob. Especially on less powerful machines this cronjob could cause major xruns. Consider uninstalling the apt-xapian-index package. 
   * 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: same recommendation as for the DE you use. Try to avoid using a compositing manager like Compiz to lower the chance of running into xruns.   * Compositing: same recommendation as for the DE you use. Try to avoid using a compositing manager like Compiz to lower the chance of running into xruns.
   * Gnome NetworkManager and WiFi: NetworkManager keeps scanning for new wireless networks in the background and this might cause xruns. The best option is to not use a wireless network manager in a low-latency real-time audio environment. If you really can't do without WiFi you probably won't have another option than to use wpa_supplicant.   * Gnome NetworkManager and WiFi: NetworkManager keeps scanning for new wireless networks in the background and this might cause xruns. The best option is to not use a wireless network manager in a low-latency real-time audio environment. If you really can't do without WiFi you probably won't have another option than to use wpa_supplicant.
-  * NTP: there are reports of NTP interfering with FFADO, so if you're using a FireWire audio device make sure you disable the ntpd service and any cronjob or ifup script that tries to sync your local clock with an NTP server. This issue is resolved in the 2.1.0 release of FFADO. 
   * D-Bus controlled services like ''gvfs''.   * D-Bus controlled services like ''gvfs''.
-  * Hardware support modules. 
  
 === CPU frequency scaling === === CPU frequency scaling ===
wiki/system_configuration.txt · Last modified: 2024/01/13 15:00 by autostatic