Linux Users, What’s You Distro Experience? – Page 2 – Computer Setup and System Configuration Forum

BTW, these are the changes I made to the system. All based on a debian system.

Add lines to /etc/security/limits.conf

@[user] – rtprio 98 # maximum realtime priority
@[user] – memlock unlimited # maximum locked-in-memory address space (KB)

Save the file.

Where @[user] can be any users name or set to a group such as audio.
If using a group the user must be setup as a user of that group.

Set cpu governor to performance in /etc/default/cpufrequtils if it don’t exist create the file and add lines.

ENABLE=”true”
GOVERNOR=”performance”
MAX_SPEED=”0″
MIN_SPEED=”0″

Save the file.

To check the governor in terminal use ‘cpufreq-info’

Set threadirqs and spectre\meltdown mitigation in /etc/default/grub with changes to GRUB_CMDLINE make it like this:

GRUB_DEFAULT=”0″
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=”$(unset PRETTY_NAME; (. /etc/lsb-release; echo ${PRETTY_NAME:?}) 2>/dev/null || echo Debian)”
GRUB_CMDLINE_LINUX_DEFAULT=”threadirqs mitigations=off quiet splash”
GRUB_CMDLINE_LINUX=””

Save the file.

Update grub in terminal using ‘sudo update-grub’ then reboot

Might be wrong but the machine runs at 64 samples 48khz with no xruns. Might be hard to read was my notes while building the system.

Only add spectre\meltdown fix if using the computer offline.

Read more here: Source link