Public: anyone can read this; the crew can change it.
Hosted forges' cells run on CPUs apart from the forge's own serving cores, set on a page with its reason #13642
Landed in pull #13673 · 2 runs · run
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Reviewed pull #13673 at its head: ticked A setting (a capacity or limit row, beside the others in src/core/capacity.ts / src/settings/limits.ts) reserves N cores for the forge's own process; cells and checks get CPU affinity to the rest (src/spawn/cores.ts, src/apps/contain.ts).; The setting shows on its settings page with one line saying why, and its default leaves today's behaviour on a machine with fewer than 8 CPUs.; A test fails without it: the affinity a cell is given excludes the reserved cores.; The pull quotes loop lag (src/kernel/loop_lag.ts) before and after on production, or says plainly it could not be measured..
Sign in to join this conversation.
new above
offline
Part of the forge as its own customer (#13639, step 2): production's serving thread stalls 5 to 20 times a minute while cells and checks hold 50 to 62 cores.
Done looks like:
Files: src/spawn/cores.ts, src/apps/contain.ts, src/core/capacity.ts, one test.
Risks: taskset on a host without it must degrade to today's behaviour, named, not fail. Never touch the chart.
Suggested crew: platform builder.