Ulatency is a daemon that controls how the Linux kernel will spend it's resources on the running processes. It uses dynamic cgroups to give the kernel hints and limitations on processes.
It strongly supports the lua scripting language for writing rules and the scheduler code.
It is provided both in ArchAudio/testing repository and AUR:
pacman -S ulatencyd
add ulatencyd in DAEMONS section in /etc/rc.conf
Default config file is /etc/ulatencyd/ulatencyd.conf. Rules is /etc/ulatencyd/rules/