From 55613350c4e83d96183bf9f32ebce29106f4d21f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Nov 2026 02:09:52 +0000 Subject: [PATCH] demo: CPUQuota 150%, as set on the server (#116) [skip ci] Since #151 an idle guest halts (1% of a core at the prompt), so the cap no longer has to hold back spinning sessions. Captain Bob set 1.5 cores for all sessions together on the server (2026-11-08): one busy visitor a full core, half a core always left to the wikis and Gitea. Confirmed on the server with a live session idle for 3 minutes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2 --- demo/starshipos-demo.service | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/demo/starshipos-demo.service b/demo/starshipos-demo.service index 9ad0238e..cff44643 100644 --- a/demo/starshipos-demo.service +++ b/demo/starshipos-demo.service @@ -30,13 +30,14 @@ ProtectHome=yes PrivateTmp=yes PrivateDevices=yes ReadOnlyPaths=/var/lib/starshipos-demo -# Sized for this server (3.8 GiB, both wikis, Gitea, Nexus, CI): an idle StarshipOS guest keeps a -# host core busy -- the kernel's idle loop polls (measured 2026-11-08: 100% of a core at the -# prompt, 148 MiB resident) -- so all sessions together get one core at the lowest priority, and -# the wikis and Gitea never starve; with two visitors each runs at half speed. 1 GiB holds two -# sessions with room. Raise both with the server (8 GB: MemoryMax=2G, CPUQuota=200%). +# Sized for this server (3.8 GiB, two cores; both wikis, Gitea, Nexus, CI). Since #151 an idle guest +# halts (1% of a core at the prompt, was 100%), so a session costs CPU only while its visitor runs +# something. All sessions together get 1.5 cores at the lowest priority (Captain Bob, 2026-11-08): +# one busy visitor a full core, two busy at once three-quarters each, and half a core always left +# to the wikis and Gitea. 1 GiB holds two sessions (~150 MB resident each) with room. Raise both +# with the server (8 GB: MemoryMax=2G, CPUQuota=200% or more). MemoryMax=1G -CPUQuota=100% +CPUQuota=150% Nice=19 TasksMax=200