While trying to run jack1d I noticed that I had to change some limits:
security.pam.loginLimits = [ # jackd: { domain = "@audio"; type = "-"; item = "rtprio"; value = "100"; } { domain = "@audio"; type = "-"; item = "memlock"; value = "250000"; } { domain = "@audio"; type = "-"; item = "nice"; value = "-10"; } ]; as well as assign cpu.rt_runtime_us (otherwise sched_setscheduler fails): echo 900000 > /sys/fs/cgroups/cpu,cpuacct/user.slice/cpu.rt_runtime_us Is there a systemd way to set cpu.rt_runtime_us value or is it most simple to just create a startup script assigning it? Eg nixos manual and http://www.freedesktop.org/software/systemd/man/systemd.resource-control.html mention some specific settings such as MemoryLimit, but I didnt't find a rt_runtime_us setting there. Marc Weber _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev