Intermittent-power benchmark results with realistic power failures - #76
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first full
ckpt intermittentmatrix (13 benchmarks x milp/rockclimb/schematic/schematicO3 x 10 traces) showed almost no power-failure activity: MILP finished with 0 recoveries nearly everywhere while RockClimb saw many, and 25 runs never completed. Root causes: the replayed Mementos traces are far slower than the benchmarks (an outage only every 5-50 s), and the 3.3 V wait threshold was reachable only at trace peaks (the series schottky diode drops the supply below it except when the trace exceeds ~3.5 V, 2-15% of the time).Changes:
vcc_wait.c), withconfig_board.jsoncapacity recomputed for the lower full-charge level.preprocess_traces.py --speedup, regeneratedbenchmarks/traces/*.csv): power failures now occur 0.25-1.9/s, in the range RockClimb (RTAS'22) evaluates against.cnt_waitcounter: boundaries/boots that find VCC below the threshold and sleep are now counted (this is the event RockClimb's cost model calls a wait; real brownouts remaincnt_recovery) and reported asruntime_wait_countin the intermittent CSV.results/intermittent/(per-benchmark CSVs,summary.csv,report.md, resumable driver + summarizer).Results (520 runs)
Every completed run returns the uninstrumented baseline's result. The single incomplete is stringsearch_fixed/rockclimb on trace 4 (finishes in 49-187 s on the other nine traces).
Test plan
uv run pytest tests/unit suites pass (incl.test_preprocess_traces.py).