Measures71d13b5againstaa2259bon OpenTitan hw (CLI, LSP, MCP), with raw logs and drivers under docs/perf/take6-20261126/. Docs only. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
18 lines
1006 B
Bash
18 lines
1006 B
Bash
#!/usr/bin/env bash
|
|
# Author: Guoliang Chen, a Senior Digital Design Engineer
|
|
# tools/perf/rescan.py on opentitan hw itself (--trigger settings: writes nothing), both binaries, alternating.
|
|
S=$1; R=/Users/lucio/repo/lucisv; HW=/Users/lucio/repo/opentitan/hw
|
|
for ord in "base:0.66.2 head:HEAD" "head:HEAD base:0.66.2"; do
|
|
for v in $ord; do
|
|
bin=${v%%:*}; label=${v##*:}
|
|
rm -rf "$S/rescan-store/$label"
|
|
"$R/tools/guard.sh" -m 8 -t 1200 -- python3 "$R/tools/perf/rescan.py" --server "$S/bin-$bin/lucisv-server" \
|
|
--tree "$HW" --storage "$S/rescan-store/$label" --out "$S/rescan.jsonl" --label "$label" \
|
|
--trigger settings --open ip/aes/rtl/aes_cipher_core.sv --probe --runs 4 \
|
|
>> "$S/lsp-logs/rescan.$label.log" 2>&1
|
|
echo "$(date +%T) rescan $label exit=$? load=$(sysctl -n vm.loadavg) ot_porcelain=$(git -C /Users/lucio/repo/opentitan status --porcelain | wc -l | tr -d ' ')"
|
|
done
|
|
done
|
|
|
|
# Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com
|