lumbda/whitepaper
russell@unturf.com d8dd4fd393 whitepaper §6.6.4: Fix 3 soak results — GC bounded at 20k HTTP requests
Extended the HTTP-under-GC validation from the original 5,000
requests to 20,000 requests per cell. All four cells still hold:

  asm no-GC + snapshot   ~240 req/s   peak 96 KB    growth 0 KB
  asm GC    + snapshot   ~235 req/s   peak 120 KB   growth 0 KB
  asm no-GC + no snap    ~470 req/s   peak 185 MB   growth 185 MB
  asm GC    + no snap    ~450 req/s   peak 1,084 KB growth 972 KB

Cell 4 (GC + no snapshot) is the real validation target. 972 KB of
growth over 20,000 requests = one chunk filled once, after which
the collector cycles through reclaimed space. No monotonic leak,
no OOM, no crash. Naive mark-sweep is now a correct (not optimal)
allocator for long-running asm servers that don't manage arenas.

The paper's soak commentary explicitly calls this out and also
notes two remaining rough edges we've observed but not yet
debugged: (a) at 50k requests with the no-GC + no-snap case
saturating the 512 MB vcap right before cell 4 starts, cell 4's
server sometimes fails to initialize — looks process-environment
rather than GC, no clean explanation yet; (b) the hash-set
benchmark on the GC build still surfaces an occasional
unbound-variable error at ~1 MB/iter workloads.

Reproduce: make bench-gc-http defaults to 5k now; soak uses
`REQUESTS=20000 CONCURRENCY=16 bash tests/bench-gc-http.sh`.
2026-04-18 19:52:38 -04:00
..
diagrams whitepaper §6.6.3: collaborative adaptive meta-GC results 2026-04-18 11:35:27 -04:00
uncommonlisp-whitepaper.pdf whitepaper §6.6.4: Fix 3 soak results — GC bounded at 20k HTTP requests 2026-04-18 19:52:38 -04:00
uncommonlisp-whitepaper.rst whitepaper §6.6.4: Fix 3 soak results — GC bounded at 20k HTTP requests 2026-04-18 19:52:38 -04:00
WHITEPAPER.pdf Add whitepaper: Feedback Is All You Need 2026-04-14 13:32:42 -04:00
WHITEPAPER.rst Add whitepaper: Feedback Is All You Need 2026-04-14 13:32:42 -04:00
whitepaper.style Add whitepaper: Feedback Is All You Need 2026-04-14 13:32:42 -04:00