Forum › Forums › Official Releases › antiX-23 “Arditi del Popolo › /etc/slimski.conf with unexpected events when disabling daemon for RT Audio Perf › Reply To: /etc/slimski.conf with unexpected events when disabling daemon for RT Audio Perf
[ – ] acpi-support
[ + ] acpid
[ – ] anacron
[ – ] avahi-daemon
[ – ] bluetooth
[ – ] bootlogs
[ – ] bootmisc.sh
[ – ] brightness
[ – ] checkfs.sh
[ – ] checkroot-bootclean.sh
[ – ] checkroot.sh
[ + ] connman
[ – ] console-setup.sh
[ + ] cron
[ – ] cups
[ + ] dbus
[ – ] debian
[ – ] gpm
[ – ] haveged
[ – ] hostname.sh
[ – ] keyboard-setup.sh
[ – ] killprocs
[ – ] live-grubsave
[ – ] lm-sensors
[ – ] mdadm
[ – ] mdadm-waitidle
[ – ] mountall-bootclean.sh
[ – ] mountall.sh
[ – ] mountdevsubfs.sh
[ – ] mountkernfs.sh
[ – ] mountnfs-bootclean.sh
[ – ] mountnfs.sh
[ – ] nfs-common
[ – ] oobe
[ – ] procps
[ – ] rc.local
[ + ] resolvconf
[ – ] rmnologin
[ – ] rpcbind
[ – ] rsync
[ – ] saned
[ + ] seatd
[ – ] sendsigs
[ + ] slimski
[ – ] smartmontools
[ – ] ssh
[ – ] sudo
[ – ] tlp
[ + ] udev
[ – ] ufw
[ – ] umountfs
[ – ] umountnfs.sh
[ – ] umountroot
[ – ] urandom
[ – ] x11-common
* CRON can also be disabled to offload a process, but it must be re-enabled before proceeding with an update.
So, we’re aiming for maximum performance. Obviously, it’s best to disable the firewall with the DAW, and perhaps it’s also a good idea to unplug the network cable during recording, production, and mastering. A connected network cable will still cause system noise, which degrades audio quality. Be aware that only a hard drive can be used for audio, as the SSD’s magnetic field destroys the streams.
SMT/Hyper-Therading must be disabled. With two threads per FPU, the FP processes are queued, distorting the stream. RT kernel: Debian or custom, and rtirq configured correctly. In the configuration file, the main audio device with the highest priority must be at the top. However, it should work even better if you just include one device in the list, for example: “snd_hdsp” or “USBx.” Be aware that an older, non-USB mouse and keyboard could cause an RT system to crash if they aren’t included in the rtirq device list. You should also install a Debian package for audio-rt that adds a system rule and a /etc/limitst/audio.conf file…I don’t remember, maybe realtime-privileges.
This line should be added to GRUB for maximum performance, which increases by 10-20% with the DAW if you don’t use a network or only secure websites.
#for secure networking
GRUB_CMDLINE_LINUX_DEFAULT="quiet threadirqs cpuidle.off=1 processor.max_cstate=0"
#for maximum performance, better without networking
GRUB_CMDLINE_LINUX_DEFAULT="quiet threadirqs mitigations=off cpuidle.off=1 processor.max_cstate=0"
sudo nano /etc/default/grub
sudo update-grub
threadirqs: Required for rtirq-init to work. It transforms interrupt handlers into threads.
cpuidle.off=1 and processor.max_cstate=0: Disable CPU deep sleep states. They prevent the processor from “sleeping” (even for a few microseconds).
scsi_mod.use_blk_mq=1: Forces the use of multi-level queues for disks, improving RAID performance.
pci=pcie_bus_perf: Sets the PCIe bus to maximize throughput rather than conserving power.
MPD, on the other hand, should be started on the last isolated CPU and preferably enable 1-2-3GB cache for the stream from RAM. If the system has available power, jackd also performs better when CPU-isolated.
- This reply was modified 8 months, 4 weeks ago by konstruktor.
- This reply was modified 8 months, 4 weeks ago by konstruktor.
antiX as a state-of-the-art audio workstation