fork's copy-on-write still copies page tables, slowing big processes
charliermarsh · x · 2026-11-25
Following up: fork's copy-on-write seems cheap, but the CoW setup itself is expensive — on Linux you still copy the page tables only to discard them immediately. Process creation thus scales with parent memory, which gets slow for a memory-heavy process like Codex.
More from coding & agent
- Next.js Nights Berlin on Dec 2 to cover Go support, native routes, and agent-ready framework — evilrabbit_ · 2026-11-25
- OpenAI open-sources fix for Codex MCP server spawning reliability on macOS — charliermarsh · 2026-11-25
- Codex built its own Rust Command abstraction to stay on posix_spawn — charliermarsh · 2026-11-25
- Rust's std usually uses posix_spawnp under the hood — with exceptions — charliermarsh · 2026-11-25
- Codex cuts process spawn time 800x to 0.25ms via direct posix_spawn — charliermarsh · 2026-11-25
- LiveKit ships Turn Detector v1.1, cutting turn-end detection latency 15–34% — alexcovo_eth · 2026-11-25