From b6574e308b9ab50abe2afe8a9f7b057b24529749 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 9 May 2026 09:39:12 +0200 Subject: [PATCH] =?UTF-8?q?docs(specs):=20perf=20baseline=20=E2=80=94=20fi?= =?UTF-8?q?x=20transient-service=20phrasing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The existing left4me-script-sandbox helper uses systemd-run in transient service mode (--unit=, no --scope). Spec wrongly said '--scope'. No semantic change — the design's --slice= and -p OOMScoreAdjust= guidance is identical for service vs scope mode. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../specs/2026-05-09-l4d2-server-host-perf-baseline-design.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/specs/2026-05-09-l4d2-server-host-perf-baseline-design.md b/docs/superpowers/specs/2026-05-09-l4d2-server-host-perf-baseline-design.md index 04b9190..196dfc0 100644 --- a/docs/superpowers/specs/2026-05-09-l4d2-server-host-perf-baseline-design.md +++ b/docs/superpowers/specs/2026-05-09-l4d2-server-host-perf-baseline-design.md @@ -115,12 +115,12 @@ IOWeight=10 ### Sandbox slice + OOM placement -Edit `deploy/files/usr/local/libexec/left4me/left4me-script-sandbox` to add to the `systemd-run --scope` invocation: +Edit `deploy/files/usr/local/libexec/left4me/left4me-script-sandbox` to add to the `systemd-run` invocation (transient service mode — the existing helper uses `--unit=` without `--scope`): - `--slice=l4d2-build.slice` - `-p OOMScoreAdjust=500` -Existing `CPUQuota=200%` and `RuntimeMaxSec=3600` stay. Cgroup weight (slice) and CPU quota (per-scope) compose: weight handles contention, quota handles the absolute ceiling. +Existing `CPUQuota=200%` and `RuntimeMaxSec=3600` stay. Cgroup weight (slice) and CPU quota (per-unit) compose: weight handles contention, quota handles the absolute ceiling. ### Host sysctls