Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/synapse/blob/main/evidence/r1-raw-block-store/measurement-57d1135/run.sh # synapse A component of the AienOS ecosystem. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `synapse / evidence / r1-raw-block-store / measurement-57d1135 / run.sh` 22 lines ยท 937 bytes Raw Blame History 1 #!/bin/bash 2 # R1 (issue #47) measurement: R1 raw block store on a preallocated O_DIRECT file vs the 3 # A2 store on ext4, same NVMe, same session, invocations interleaved R1/A2 x3. 4 set -eu 5 B=~/workspace/r1-bench 6 BIN=~/workspace/synapse-47/target/release/synapse-bench 7 OUT=$B/out 8 mkdir -p $OUT 9 wait_quiet() { while ! quietlock check >/dev/null 2>&1; do sleep 5; done; } 10 date -u +%FT%TZ > $OUT/start.txt 11 cat /proc/loadavg >> $OUT/start.txt 12 wait_quiet; $BIN floor --dir $B/floor --out $OUT/floor.json --iterations 300 13 for r in 0 1 2; do 14 wait_quiet; $BIN segments --dir $B/r1 --out $OUT/raw-r1-$r.json --reps 1 --block-device $B/device.img 2> $OUT/r1-$r.log 15 wait_quiet; $BIN segments --dir $B/a2 --out $OUT/raw-a2-$r.json --reps 1 2> $OUT/a2-$r.log 16 done 17 for f in $OUT/raw-*.json; do 18 $BIN segments-report --raw $f --floor $OUT/floor.json > ${f/raw-/report-} 19 done 20 date -u +%FT%TZ > $OUT/end.txt 21 cat /proc/loadavg >> $OUT/end.txt 22 echo DONE