~/talk

Squeezing the BEAM into 16MB

slides:none on file

Porting the full BEAM + OTP to a GRiSP nano on RTEMS with only 16MB RAM target and 3MB CPU-internal RAM is a work in progress but shows concrete wins: compiler-size flags and linker tricks shrink beam.bin from ~8.5MB to <3MB, enabling many more modules (initially 7 modules, then ~+45 after tweaks). Techniques used: allocator instrumentation, LL allocator, per-module GC runs (oddly disabling GC gained two modules), moving block storage into internal RAM, and trimming LwIP; Unicode (≈0.5MB) and bootloader contiguous-load limits still block a full shell.

AI-written summary · about

  1. 0:00Memory constrained BEAM intro
  2. 1:27Hardware design goals
  3. 4:14RAM limited to 16MB
  4. 8:11Crunch week contributions
  5. 8:55Memory allocator challenges
  6. 12:09Optimizing BEAM binary size
  7. 13:32Garbage collection impact
  8. 14:34Allocator optimizations
  9. 16:00BEAM booting on 16MB RAM
  10. 19:35Results of optimizations
  11. 21:01Unicode module hurdle
  12. 22:05Allocator evolution insights
  13. 23:31Energy-aware booting next
  14. 25:19Project progress curve
  15. 26:03Grispio platform future
  16. 27:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.