diff --git a/ananicy.d/00-cgroups.cgroups b/ananicy.d/00-cgroups.cgroups index 3c93f386..63fdf3a0 100644 --- a/ananicy.d/00-cgroups.cgroups +++ b/ananicy.d/00-cgroups.cgroups @@ -5,3 +5,7 @@ # only difference is - meaning of N% is all CPUs, not one core. { "cgroup": "cpu90", "CPUQuota": 90 } { "cgroup": "cpu80", "CPUQuota": 80 } + +# group for high priority processes with fairly low cpu usage. +# This limits their cpu usage to avoid hungups, if they crash +{ "cgroup": "cpu30", "CPUQuota": 30 } diff --git a/ananicy.d/00-default/audio-effects-realtime/easyeffects.rules b/ananicy.d/00-default/audio-effects-realtime/easyeffects.rules new file mode 100644 index 00000000..dfeb9702 --- /dev/null +++ b/ananicy.d/00-default/audio-effects-realtime/easyeffects.rules @@ -0,0 +1 @@ +{"name": "easyeffects", "type": "audio-effect"} diff --git a/ananicy.d/00-types.types b/ananicy.d/00-types.types index 687ed895..05bd6f40 100644 --- a/ananicy.d/00-types.types +++ b/ananicy.d/00-types.types @@ -35,6 +35,8 @@ {"type":"audio-server"} +{"type":"audio-effect", "nice":-10, "cgroup":"cpu30"} + {"type":"chat"} {"type":"common-utility"}