udev-rtirq

Discuss anything new and newsworthy!

Moderators: raboof, khz, MattKingUSA

Jack Winter
Establlshed Member
Posts: 259
Joined: Sun May 28, 2017 3:52 pm

udev-rtirq

Postby Jack Winter » Sun Feb 25, 2018 5:58 pm

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.
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 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

User avatar
CrocoDuck
Establlshed Member
Posts: 867
Joined: Sat May 05, 2012 6:12 pm
Contact:

Re: udev-rtirq

Postby CrocoDuck » Tue Feb 27, 2018 10:26 pm

Very cool! How do you think it will interplay with rtirq? Should rtirq be disabled in order to use your utility?
Check my Linux audio experiments on my SoundCloud.
Browse my AUR packages.
Fancying a swim in the pond?

Jack Winter
Establlshed Member
Posts: 259
Joined: Sun May 28, 2017 3:52 pm

Re: udev-rtirq

Postby Jack Winter » Wed Feb 28, 2018 1:46 pm

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"
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 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux


Return to “Linux Music News”

Who is online

Users browsing this forum: No registered users and 13 guests