summaryrefslogtreecommitdiffstats
path: root/debian/rlimits
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rlimits')
-rw-r--r--debian/rlimits/95-pipewire.conf4
-rw-r--r--debian/rlimits/README8
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/rlimits/95-pipewire.conf b/debian/rlimits/95-pipewire.conf
new file mode 100644
index 0000000..47f9ab4
--- /dev/null
+++ b/debian/rlimits/95-pipewire.conf
@@ -0,0 +1,4 @@
+# Default limits for users of pipewire
+@pipewire - rtprio 95
+@pipewire - nice -19
+@pipewire - memlock 4194304
diff --git a/debian/rlimits/README b/debian/rlimits/README
new file mode 100644
index 0000000..58d4ad2
--- /dev/null
+++ b/debian/rlimits/README
@@ -0,0 +1,8 @@
+Setting pipewire real-time priority limits
+---------------------------------------
+
+The debian/rlimits/95-pipewire.conf defines the real-time priority limits
+for the system group "pipewire" as recommended by upstream.
+This file is installed in /etc/security/limits.d/.
+
+See https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Performance-tuning#rlimits