No luck with adding rule to set CPU DMA latency
Hi, I'm attempting to add this udev rule to
/etc/udev/rules.d/
, but it doesn't seem to be applying from what I can tell, even after running sudo udevadm control --reload-rules
and sudo udevadm trigger
. Is there a way to do this through tuned
?
For what it's worth, my main goal at the moment is to reduce buffer overruns, since I work with low-latency, realtime audio in Reaper. I'm not trying to fruitlessly improve game performance, or something. Does bazzite keep /dev/cpu_dma_latency
from having rules applied to it, or am I doing something wrong? Should I do this through tuned
instead, somehow?GitHub
ardour/tools/udev/99-cpu-dma-latency.rules at master · Ardour/ardour
Mirror of Ardour Source Code. Contribute to Ardour/ardour development by creating an account on GitHub.
18 Replies
copy the balanced-bazzite profile from
/usr/lib/tuned/profiles/
to /etc/tuned/profiles/
Copied
one sec
it should look something like this(I just have 4 custom profiles)

and then edit
/etc/tuned/ppd.conf
I ended up copying all the default profiles from there, is that cool or should it just be
balanced-bazzite
in there?so that it points to your custom profile

oh you can just copy one and edit that one
no need to clutter up the folder
after you did that you can go and edit
/etc/tuned/profiles/bazzite-custom
(or your preferred profile name)Solution
you can probably then add a
[cpu]
section and add force_latency=99
Aight, I'll try that out
it should look something like this

I did notice a
latency-performance
profile that seemed like it might be useful for me judging by its contents, so I might try that if making a custom profile doesn't work out for some reasonyou can point to that instead in
ppd.conf
something like performance=latency-performance
alright good luckThanks, I appreciate the help
Any resources in particular that you'd point to if I wanna learn more about tuned/power profile config?
honestly not much besides rhel/fedora's own docs
though if you have issues with audio you might want to take a look at pipewire stuff
just don't ask an LLM
lmao yeah way ahead of you there
I've got the profile specified in
ppd.conf
, how do I reload it (assuming it's needed) and how do I verify the currently selected profile?technically you can restart tuned and tuned-ppd, but I'd recommend just rebooting
verifying is
tuned-adm active
to debug any errors related to tuned, systemctl status tuned
, and systemctl status tuned-ppd
I see, thanks again