Hi,
I've written a small utility (https://github.com/jhernberg/udev-rtirq) that changes the priority of the thread handling the soundcard interrupt when it detects a soundcard. Prerequisites are either a rt kernel, or a lowlatency kernel booted with the threadirqs flag, and systemd.
This works both on boot as well as on hotplug.
udev-rtirq
Moderators: raboof, MattKingUSA, khz
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
udev-rtirq
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
Re: udev-rtirq
Very cool! How do you think it will interplay with rtirq? Should rtirq be disabled in order to use your utility?
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
Re: udev-rtirq
It ought to coexist fine with rtirq. I suppose the issue being if they try to set different priorities for the same interrupt handling thread. You could use rtirq for boot (and for setting non soundcard handling threads), and then let udev-rtirq handle hotplugging.
I've spotted a bug when there is interrupt sharing, as it will only set one of the interrupt handling threads to a higher priority and not necessarily the soundcard one either. Will think about how I can fix that. Am also considering adding a similar output as "rtirq status"
I've spotted a bug when there is interrupt sharing, as it will only set one of the interrupt handling threads to a higher priority and not necessarily the soundcard one either. Will think about how I can fix that. Am also considering adding a similar output as "rtirq status"
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux