Enabling realtime scheduling and memory locking?
by Misha Ramendik
Hello,
This is probably a FAQ, but I could not find the information anywhere. How
do I enable realtime scheduling and memory locking in modern Fedora? I have
v 28 now, maybe will have v29 soon.
On my main work laptop, I can't exactly remove the system and install
Fedora JAM :) so I need to do this on stock Fedora. I understand that
setuid on jackd and fluidsynth would probably make things better but is
this the best solution?
I also need to have this on a live-USB for another laptop, but that is a
rather tricky case. A pretty humble machine (AMD A6, 4Gb RAM laptop) is to
be used as a "sound box" with MIDI instruments. I don't think a heavy
KDE-based distribution is the ideal live image for it. If I could respin
Fedora JAM into something based on IceWM, or at least LXDE, that would be
great.
And finally, for future reference, I would appreciate knowing how to do the
same (enable realtime scheduling and memory locking) on CentOS. I am asking
this in case I doinstall Linux on that AMD A6 laptop permanently. My wife
uses this laptop, so I'd want something less frequently updating than
Fedora, so it will be CentOS (or, if I can't get CentOS to run on the
hardware, OpenSUSE).
--
Mikhail "Misha" Ramendik
SENIOR TECHNICAL WRITER
Red Hat Ireland
<https://www.redhat.com/>mramendi(a)redhat.com M: +353-87-9409618
<https://red.ht/sig>
4 years, 10 months