- Retained as A/B options; not enabled by default in mainline.
Recommended “Perf‑Main” preset (opt‑in, no bench macros)
- Environment (Tiny‑Hot biased but general):
-`HAKMEM_TINY_TLS_SLL=1`
-`HAKMEM_TINY_REFILL_MAX=96`
-`HAKMEM_TINY_REFILL_MAX_HOT=192`
-`HAKMEM_TINY_SPILL_HYST=16`
-`HAKMEM_TINY_BG_REMOTE=0` (keep targeted remote drain off by default)
- Keep Quick/FrontCache/Ultra OFF unless explicitly A/B tested
How to try Perf‑Main locally
- Build benches: `make bench_fast`
- Run tiny‑hot triad (no bench macros): `bash scripts/run_tiny_hot_triad.sh 60000`
- Run random‑mixed matrix: `bash scripts/run_random_mixed_matrix.sh 100000`
Notes
- LD_PRELOAD/app mode remains conservative (LD_SAFE staging). Tiny‑only and pass‑through modes are recommended for stability. The bench‑only optimizations are intentionally not applied in LD mode.