Moe Charm (CI)
7adbcdfcb6
Phase 54-60: Memory-Lean mode, Balanced mode stabilization, M1 (50%) achievement
## Summary
Completed Phase 54-60 optimization work:
**Phase 54-56: Memory-Lean mode (LEAN+OFF prewarm suppression)**
- Implemented ss_mem_lean_env_box.h with ENV gates
- Balanced mode (LEAN+OFF) promoted as production default
- Result: +1.2% throughput, better stability, zero syscall overhead
- Added to bench_profile.h: MIXED_TINYV3_C7_BALANCED preset
**Phase 57: 60-min soak finalization**
- Balanced mode: 60-min soak, RSS drift 0%, CV 5.38%
- Speed-first mode: 60-min soak, RSS drift 0%, CV 1.58%
- Syscall budget: 1.25e-7/op (800× under target)
- Status: PRODUCTION-READY
**Phase 59: 50% recovery baseline rebase**
- hakmem FAST (Balanced): 59.184M ops/s, CV 1.31%
- mimalloc: 120.466M ops/s, CV 3.50%
- Ratio: 49.13% (M1 ACHIEVED within statistical noise)
- Superior stability: 2.68× better CV than mimalloc
**Phase 60: Alloc pass-down SSOT (NO-GO)**
- Implemented alloc_passdown_ssot_env_box.h
- Modified malloc_tiny_fast.h for SSOT pattern
- Result: -0.46% (NO-GO)
- Key lesson: SSOT not applicable where early-exit already optimized
## Key Metrics
- Performance: 49.13% of mimalloc (M1 effectively achieved)
- Stability: CV 1.31% (superior to mimalloc 3.50%)
- Syscall budget: 1.25e-7/op (excellent)
- RSS: 33MB stable, 0% drift over 60 minutes
## Files Added/Modified
New boxes:
- core/box/ss_mem_lean_env_box.h
- core/box/ss_release_policy_box.{h,c}
- core/box/alloc_passdown_ssot_env_box.h
Scripts:
- scripts/soak_mixed_single_process.sh
- scripts/analyze_epoch_tail_csv.py
- scripts/soak_mixed_rss.sh
- scripts/calculate_percentiles.py
- scripts/analyze_soak.py
Documentation: Phase 40-60 analysis documents
## Design Decisions
1. Profile separation (core/bench_profile.h):
- MIXED_TINYV3_C7_SAFE: Speed-first (no LEAN)
- MIXED_TINYV3_C7_BALANCED: Balanced mode (LEAN+OFF)
2. Box Theory compliance:
- All ENV gates reversible (HAKMEM_SS_MEM_LEAN, HAKMEM_ALLOC_PASSDOWN_SSOT)
- Single conversion points maintained
- No physical deletions (compile-out only)
3. Lessons learned:
- SSOT effective only where redundancy exists (Phase 60 showed limits)
- Branch prediction extremely effective (~0 cycles for well-predicted branches)
- Early-exit pattern valuable even when seemingly redundant
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 06:24:01 +09:00
..
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-12-11 21:32:40 +09:00
2025-12-13 05:10:45 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-12-16 15:01:56 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-10 22:57:26 +09:00
2025-12-08 21:30:21 +09:00
2025-11-26 13:14:18 +09:00
2025-12-07 03:12:27 +09:00
2025-12-08 21:30:21 +09:00
2025-12-07 03:12:27 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-12-08 21:30:21 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-12-07 03:12:27 +09:00
2025-11-26 13:14:18 +09:00
2025-12-16 05:35:11 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-27 04:51:59 +09:00
2025-12-10 23:30:32 +09:00
2025-11-27 04:51:59 +09:00
2025-11-27 03:41:07 +09:00
2025-11-27 03:18:33 +09:00
2025-12-14 05:59:43 +09:00
2025-11-27 04:51:59 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-08 21:30:21 +09:00
2025-12-08 21:30:21 +09:00
2025-12-11 21:21:40 +09:00
2025-12-11 19:17:30 +09:00
2025-11-26 14:45:26 +09:00
2025-12-11 19:11:44 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-12-12 06:13:15 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-07 03:12:27 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-27 07:30:32 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-13 05:35:46 +09:00
2025-11-26 14:45:26 +09:00
2025-12-03 20:42:28 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-05 12:31:14 +09:00
2025-12-13 05:35:46 +09:00
2025-12-10 14:00:57 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-12 01:14:13 +09:00
2025-12-12 18:40:08 +09:00
2025-11-26 13:14:18 +09:00
2025-12-12 16:26:42 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-12-09 21:50:15 +09:00
2025-11-05 12:31:14 +09:00
2025-12-09 21:50:15 +09:00
2025-11-26 14:45:26 +09:00
2025-12-11 22:45:14 +09:00
2025-11-05 12:31:14 +09:00
2025-12-11 20:05:09 +09:00
2025-12-11 21:37:57 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-17 06:24:01 +09:00
2025-12-10 22:57:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 18:46:11 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-14 00:05:11 +09:00
2025-12-13 22:03:27 +09:00
2025-12-13 22:03:27 +09:00
2025-12-13 18:46:11 +09:00
2025-12-14 00:05:11 +09:00
2025-12-13 22:42:22 +09:00
2025-12-13 22:42:22 +09:00
2025-12-14 00:05:11 +09:00
2025-12-14 00:05:11 +09:00
2025-12-14 00:26:57 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 00:26:57 +09:00
2025-12-14 01:46:18 +09:00
2025-12-14 02:57:35 +09:00
2025-12-14 01:46:18 +09:00
2025-12-14 01:54:21 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 00:48:03 +09:00
2025-12-14 00:48:03 +09:00
2025-12-14 00:48:03 +09:00
2025-11-05 12:31:14 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 05:13:29 +09:00
2025-12-14 05:13:29 +09:00
2025-12-14 05:13:29 +09:00
2025-12-14 05:13:29 +09:00
2025-12-14 05:36:57 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 05:59:43 +09:00
2025-12-14 05:52:32 +09:00
2025-12-14 06:44:04 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 00:32:25 +09:00
2025-12-14 06:59:35 +09:00
2025-12-14 06:59:35 +09:00
2025-12-14 06:59:35 +09:00
2025-12-14 05:52:32 +09:00
2025-12-14 08:11:20 +09:00
2025-12-14 07:18:59 +09:00
2025-12-14 07:18:59 +09:00
2025-12-14 08:56:09 +09:00
2025-12-14 08:56:09 +09:00
2025-12-14 08:11:20 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-14 20:48:34 +09:00
2025-12-14 16:28:23 +09:00
2025-12-14 16:28:23 +09:00
2025-12-14 16:28:23 +09:00
2025-12-14 17:38:21 +09:00
2025-12-14 17:09:57 +09:00
2025-12-14 17:09:57 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-14 18:34:08 +09:00
2025-12-14 18:34:08 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-14 19:05:50 +09:00
2025-12-14 19:05:50 +09:00
2025-12-14 19:59:15 +09:00
2025-12-14 19:59:15 +09:00
2025-12-14 20:29:28 +09:00
2025-12-14 20:29:28 +09:00
2025-12-14 20:44:42 +09:00
2025-12-14 20:29:28 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-14 20:55:25 +09:00
2025-12-14 20:59:23 +09:00
2025-12-14 21:17:48 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 01:28:50 +09:00
2025-12-15 01:28:50 +09:00
2025-12-15 01:28:50 +09:00
2025-12-15 01:57:38 +09:00
2025-12-15 02:19:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 05:25:47 +09:00
2025-12-15 05:25:47 +09:00
2025-12-15 05:25:47 +09:00
2025-12-15 11:28:40 +09:00
2025-12-15 11:28:40 +09:00
2025-12-15 05:53:58 +09:00
2025-12-15 05:25:47 +09:00
2025-12-15 05:53:58 +09:00
2025-12-15 05:55:22 +09:00
2025-12-15 05:55:22 +09:00
2025-12-15 11:28:40 +09:00
2025-11-26 14:45:26 +09:00
2025-12-15 11:28:40 +09:00
2025-12-15 11:28:40 +09:00
2025-12-15 12:50:16 +09:00
2025-12-15 12:50:16 +09:00
2025-12-15 12:50:16 +09:00
2025-12-15 18:29:06 +09:00
2025-12-15 19:32:24 +09:00
2025-12-15 21:36:30 +09:00
2025-12-15 21:36:30 +09:00
2025-12-15 22:27:19 +09:00
2025-12-15 21:36:30 +09:00
2025-12-15 22:27:19 +09:00
2025-12-15 22:27:19 +09:00
2025-12-16 05:35:11 +09:00
2025-12-15 22:27:19 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-11-26 14:45:26 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 06:12:17 +09:00
2025-12-16 06:12:17 +09:00
2025-12-16 06:12:17 +09:00
2025-12-16 06:33:41 +09:00
2025-12-16 06:33:41 +09:00
2025-12-16 07:31:15 +09:00
2025-12-16 07:31:15 +09:00
2025-12-16 07:31:15 +09:00
2025-12-16 15:01:56 +09:00
2025-12-16 15:01:56 +09:00
2025-12-16 15:01:56 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-12 18:40:08 +09:00
2025-12-12 18:40:08 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-12 06:52:14 +09:00
2025-12-12 07:17:52 +09:00
2025-12-12 06:20:14 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-09 21:50:15 +09:00
2025-11-28 13:42:39 +09:00
2025-11-28 13:42:39 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-12-11 23:51:48 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-12-04 16:21:54 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-11 23:07:26 +09:00
2025-12-12 16:26:42 +09:00
2025-12-10 22:57:26 +09:00
2025-12-11 01:01:15 +09:00
2025-12-11 15:29:59 +09:00
2025-12-12 06:09:12 +09:00
2025-11-26 13:14:18 +09:00
2025-12-07 03:12:27 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-12-08 21:30:21 +09:00
2025-12-11 20:49:39 +09:00
2025-12-11 21:32:40 +09:00
2025-11-26 14:45:26 +09:00
2025-12-13 18:46:11 +09:00
2025-12-08 21:30:21 +09:00
2025-12-09 21:50:15 +09:00
2025-12-09 21:50:15 +09:00
2025-11-26 14:45:26 +09:00
2025-11-26 14:45:26 +09:00
2025-12-12 16:26:42 +09:00
2025-12-12 16:26:42 +09:00
2025-11-28 13:42:39 +09:00
2025-12-12 18:40:08 +09:00
2025-12-12 03:12:28 +09:00
2025-11-26 13:14:18 +09:00
2025-11-26 13:14:18 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-05 12:31:14 +09:00
2025-11-26 14:45:26 +09:00
2025-12-12 06:09:12 +09:00