31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
|
|
# Profile: Tiny Hot Throughput Optimization
|
||
|
|
# Purpose: Maximum throughput for tiny allocations (benchmark mode)
|
||
|
|
# Use: scripts/larson.sh hakmem --profile tinyhot_tput 2 4
|
||
|
|
|
||
|
|
# Tiny Fast Path (Phase 6-3)
|
||
|
|
export HAKMEM_TINY_FAST_PATH=1
|
||
|
|
|
||
|
|
# SuperSlab Settings
|
||
|
|
export HAKMEM_TINY_USE_SUPERSLAB=1
|
||
|
|
export HAKMEM_USE_SUPERSLAB=1 # legacy alias for scripts display
|
||
|
|
export HAKMEM_TINY_SS_ADOPT=1 # Auto-enable adopt for multi-thread
|
||
|
|
|
||
|
|
# SLL Settings (Tiny hot path)
|
||
|
|
export HAKMEM_TINY_SLL_ONLY=0 # Use full Box Refactor path
|
||
|
|
export HAKMEM_TINY_FAST_CAP_0=64 # Fast cache capacity for class 0
|
||
|
|
export HAKMEM_TINY_FAST_CAP_1=64 # Fast cache capacity for class 1
|
||
|
|
export HAKMEM_TINY_REFILL_COUNT_HOT=64 # Refill count for hot classes (0-3)
|
||
|
|
|
||
|
|
# 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 (Phase 6-1.7)
|
||
|
|
export HAKMEM_TINY_PHASE6_BOX_REFACTOR=1
|