37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
|
|
# 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
|