[LAU] XanMod kernel
jeremy at autostatic.com
Sat Jun 6 12:35:33 CEST 2020
On 04/06/2020 11:25, nik at parkellipsen.de wrote:
> Hmm I never felt any advantage using RT kernels, either, at least in the recent
> years, so I wonder if they still have any advantage in 2020 ? And that's not a rhetorical
> question, I really wonder what contemporary use cases for RT kernels in the audio world are.
> I feel like these kernel-tuning approaches date back to times when desktop responsiveness
> etc. were much more serious issues. Might be wrong here, of course.
I concur that with some applications a RT kernel can be beneficial,
think of running soft-synths or samplers at very low latencies (with
buffer sizes below 128 samples) or for use with dedicated devices like
MOD Duo, Zynthian and that TC Electronics device that passed here a
couple of days ago.
When using a DAW the benefits of using a RT kernel are less clear. Out
of curiosity I did some small tests with a 20 track Mixbus32C session
using ALSA at 128 samples buffer size, 3 periods and 48kHz sample rate
and with both a home-rolled 5.6.14-rt7 and a stock Ubuntu
5.3.0-lowlatency kernels the number of xruns stays below 5. Session is
about 3 minutes long and consists of a DrumGizmo Crocell kit and some
guitars running Guitarix, all real-time (so no bounced tracks). This is
on a somewhat older notebook with one of the first Intel i7 iterations,
a tweaked Ubuntu 18.04 (no hyper-threading, no Bluetooth, no Wifi) and a
decent USB sound card sitting on its own USB bus.
Thought I'd share it, maybe it helps people to decide if they should try
a RT kernel or not. For all a RT kernel is not a panacea that
miraculously solves your xrun problems, those problems could lie
elsewhere as already pointed out by others. Additionally to the Ardour
manual link I'd like to point to
https://wiki.linuxaudio.org/wiki/system_configuration. Even though it's
a somewhat older article it still contains valuable information that
could help pinpointing the cause of xruns.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: OpenPGP digital signature
More information about the Linux-audio-user