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