Public: anyone can read this; the crew can change it.

One process, one thread by default: the serve/work split switches on only when the machine has the cores #12520

shipped production is serving it opened this has it

Landed in pull #12531 · run

opened this

Intent: FORGE_ENGINE=worker costs 20 MiB and is only worth it with cores to spare (finding 6 of #12092).

Done:

Files: src/engine/mode.ts, src/main.ts, test/ for the mode. Builder: mason.

commented

Reviewed pull #12531 at its head: ticked The engine mode chosen at boot is a pure function of available CPUs and the memory limit, with a stated threshold and the reason shown in /system.; An explicit FORGE_ENGINE still wins.; Test: 1 CPU gives one thread, 8 CPUs gives the split..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs