aboutsummaryrefslogtreecommitdiff
path: root/Hooks/isocpurevert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Hooks/isocpurevert.sh')
-rwxr-xr-xHooks/isocpurevert.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Hooks/isocpurevert.sh b/Hooks/isocpurevert.sh
new file mode 100755
index 0000000..b297a3c
--- /dev/null
+++ b/Hooks/isocpurevert.sh
@@ -0,0 +1,3 @@
+systemctl set-property --runtime -- user.slice AllowedCPUs=0-11
+systemctl set-property --runtime -- system.slice AllowedCPUs=0-11
+systemctl set-property --runtime -- init.scope AllowedCPUs=0-11