Debug Counters Implementation - Clean History
Major Features: - Debug counter infrastructure for Refill Stage tracking - Free Pipeline counters (ss_local, ss_remote, tls_sll) - Diagnostic counters for early return analysis - Unified larson.sh benchmark runner with profiles - Phase 6-3 regression analysis documentation Bug Fixes: - Fix SuperSlab disabled by default (HAKMEM_TINY_USE_SUPERSLAB) - Fix profile variable naming consistency - Add .gitignore patterns for large files Performance: - Phase 6-3: 4.79 M ops/s (has OOM risk) - With SuperSlab: 3.13 M ops/s (+19% improvement) This is a clean repository without large log files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
36
scripts/profiles/tinyhot_tput_noadopt.env
Normal file
36
scripts/profiles/tinyhot_tput_noadopt.env
Normal file
@ -0,0 +1,36 @@
|
||||
# Profile: Tiny Hot Throughput (No Adopt)
|
||||
# Purpose: Minimize adopt/publish overhead for workloads with low adopt hit-rate
|
||||
# Use: scripts/larson.sh hakmem --profile tinyhot_tput_noadopt 2 4
|
||||
|
||||
# Tiny Fast Path
|
||||
export HAKMEM_TINY_FAST_PATH=1
|
||||
|
||||
# SuperSlab Settings
|
||||
export HAKMEM_TINY_USE_SUPERSLAB=1 # FIX: Was HAKMEM_USE_SUPERSLAB (wrong name)
|
||||
export HAKMEM_TINY_SS_ADOPT=0 # Disable adopt to avoid extra scans
|
||||
export HAKMEM_TINY_MUST_ADOPT=0
|
||||
export HAKMEM_TINY_SS_FORCE_LG=20 # 1MB to reduce VmSize pressure
|
||||
export HAKMEM_TINY_SS_CACHE=2 # Small cache to reduce mmap frequency
|
||||
export HAKMEM_TINY_SS_PRECHARGE=0
|
||||
|
||||
# SLL Settings (Tiny hot path)
|
||||
export HAKMEM_TINY_SLL_ONLY=0
|
||||
export HAKMEM_TINY_FAST_CAP_0=64
|
||||
export HAKMEM_TINY_FAST_CAP_1=64
|
||||
export HAKMEM_TINY_REFILL_COUNT_HOT=64
|
||||
|
||||
# TLS Magazine Settings
|
||||
export HAKMEM_TINY_TLS_LIST_CAP=32
|
||||
export HAKMEM_TINY_TLS_HOT_MAG_CAP=128
|
||||
|
||||
# Debug/Safety (OFF for performance)
|
||||
export HAKMEM_TINY_TRACE_RING=0
|
||||
export HAKMEM_TINY_SAFE_FREE=0
|
||||
export HAKMEM_TINY_REMOTE_GUARD=0
|
||||
export HAKMEM_DEBUG_COUNTERS=0
|
||||
|
||||
# Box Refactor
|
||||
export HAKMEM_TINY_PHASE6_BOX_REFACTOR=1
|
||||
|
||||
# Registry window (keep conservative)
|
||||
export HAKMEM_TINY_REG_SCAN_MAX=256
|
||||
Reference in New Issue
Block a user