Moe Charm (CI)
0b306f72f4
Phase 14 kickoff: Pointer-chase reduction (tcache-style intrusive LIFO)
Design and implementation plan for Phase 14 v1:
- Target: Reduce pointer-chase overhead in TinyUnifiedCache
- Strategy: Add intrusive LIFO tcache layer before array-based cache
- Inspired by glibc tcache (per-bin head pointer, intrusive next)
Approach:
- L0: tiny_tcache_env_box (ENV gate: HAKMEM_TINY_TCACHE=0/1, default OFF)
- L1: tiny_tcache_box (intrusive LIFO: push/pop with cap=64)
- Integration: Inside unified_cache_push/pop (minimal call site changes)
Expected benefits:
- tcache hit: No array access, just head pointer + intrusive next
- Better locality (LIFO vs FIFO)
- Closer to system malloc tcache behavior
A/B plan:
- Test: HAKMEM_TINY_TCACHE=0/1 on Mixed 10-run
- GO threshold: +1.0% mean
- Rollback: ENV-gated, default OFF
Files added:
- docs/analysis/PHASE14_POINTER_CHASE_REDUCTION_1_DESIGN.md
- docs/analysis/PHASE14_POINTER_CHASE_REDUCTION_1_NEXT_INSTRUCTIONS.md
Next: Implement Phase 14 v1 patches (ENV box → tcache box → integration)
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 00:32:56 +09:00
..
2025-12-15 00:32:56 +09:00
2025-12-04 16:21:54 +09:00
2025-12-03 20:42:28 +09:00
2025-12-10 14:00:57 +09:00
2025-12-04 23:31:54 +09:00
2025-11-05 12:31:14 +09:00
2025-12-13 19:01:57 +09:00
2025-12-11 21:21:40 +09:00
2025-11-05 12:31:14 +09:00
2025-12-03 20:42:28 +09:00
2025-12-04 03:09:28 +09:00
2025-11-09 23:15:02 +09:00
2025-12-03 21:57:36 +09:00
2025-11-09 18:55:50 +09:00
2025-11-09 16:49:34 +09:00
2025-12-03 20:41:34 +09:00
2025-12-03 20:41:34 +09:00
2025-12-03 20:44:18 +09:00
2025-12-04 10:38:19 +09:00
2025-12-03 21:02:04 +09:00
2025-12-04 04:15:10 +09:00
2025-11-26 14:45:26 +09:00
2025-12-04 05:40:50 +09:00
2025-11-05 12:31:14 +09:00
2025-12-03 20:41:34 +09:00
2025-12-03 20:41:34 +09:00
2025-11-26 14:45:26 +09:00
2025-12-04 10:38:19 +09:00
2025-11-05 12:31:14 +09:00
2025-12-03 18:06:24 +09:00
2025-12-03 17:23:32 +09:00
2025-12-03 11:41:34 +09:00
2025-11-13 06:50:20 +09:00
2025-11-13 06:50:20 +09:00
2025-11-13 06:50:20 +09:00
2025-11-13 06:50:20 +09:00
2025-12-04 10:38:19 +09:00
2025-12-03 20:41:34 +09:00
2025-11-05 12:31:14 +09:00
2025-12-03 17:16:19 +09:00
2025-12-03 11:20:59 +09:00
2025-12-03 20:41:34 +09:00
2025-12-03 12:11:27 +09:00
2025-12-04 11:05:06 +09:00
2025-12-04 06:12:47 +09:00
2025-12-03 09:15:59 +09:00
2025-11-05 12:31:14 +09:00
2025-12-03 20:41:34 +09:00
2025-11-10 01:59:11 +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-28 13:42:39 +09:00
2025-12-03 11:14:59 +09:00
2025-12-03 10:34:39 +09:00
2025-12-03 10:57:16 +09:00
2025-12-03 10:34:39 +09:00
2025-12-03 20:41:34 +09:00
2025-12-03 10:34:39 +09:00
2025-12-03 20:41:34 +09:00