heartbeat: the Stadium's resident heat, walked a slice each tick -- CI's aarch64 BIRTH stall
The heartbeat's one input walked all 335,544 Stadium cells every tick, about 15 ms on aarch64 TCG, longer than a tick. At fast pacing it took the CPU, and a birth missed the session's 300 s on CI. That was my 11-17 change. Captain Bob ruled: sample less often, scaled by the cells, measured first, as a slice each tick; the slope inference later. - stadium_heat_walk_step() walks STADIUM_HEAT_SLICE_CELLS cells per tick (Kconfig, 5500, about 0.25 ms on aarch64 TCG). - A completed walk is one sample. - The heartbeat's load takes a sample only when a walk is done. Test first: test_stadium_node (21 checks) and test_heartbeat (13). Both failed to build before. All kernel host tests pass. Four aarch64 boots in a row pass 18/18 each, BIRTH included. The evidence is in logs/20261119-heat-slice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
+2
-1
@@ -494,6 +494,7 @@ $(eval $(call kconfig_int,STADIUM_CONTAINS_DEPTH_MAX,5))
|
||||
$(eval $(call kconfig_int,STADIUM_CAPACITY_TICK,1000))
|
||||
$(eval $(call kconfig_int,STADIUM_MEMORY_PERCENT,1))
|
||||
$(eval $(call kconfig_int,STADIUM_WORD_HEAT_QUANTUM,2048))
|
||||
$(eval $(call kconfig_int,STADIUM_HEAT_SLICE_CELLS,5500))
|
||||
$(eval $(call kconfig_int,STADIUM_WORD_COOL_RATE_Q48,21845))
|
||||
$(eval $(call kconfig_int,STADIUM_BLOCK_HEAT_QUANTUM,2048))
|
||||
$(eval $(call kconfig_int,STADIUM_BLOCK_COOL_RATE_Q48,21845))
|
||||
@@ -543,7 +544,7 @@ VM_FEATURE_FLAG_VARS := \
|
||||
HEARTBEAT_SLOPE_VALIDATION_FREQUENCY SK_PARITY_DEBUG \
|
||||
EMERGENCY_CONSOLE_ENABLED STADIUM_MAX_VM_COUNT \
|
||||
STADIUM_CONTAINS_DEPTH_MAX STADIUM_CAPACITY_TICK \
|
||||
STADIUM_MEMORY_PERCENT \
|
||||
STADIUM_MEMORY_PERCENT STADIUM_HEAT_SLICE_CELLS \
|
||||
SSM_ENTROPY_HIGH_THRESHOLD SSM_CV_HIGH_THRESHOLD \
|
||||
SSM_TEMPORAL_DECAY_THRESHOLD SSM_TEMPORAL_DECAY_LOW_THRESHOLD \
|
||||
SSM_HYSTERESIS_TICKS \
|
||||
|
||||
Reference in New Issue
Block a user