dendrobates-t-azureus/prefetcher_reverse/run-msr-stream.sh
2021-11-10 15:12:01 +01:00

9 lines
220 B
Bash
Executable File

#!/bin/bash
PREFETCH_MSR=$1
sudo wrmsr -a 0x1a4 $PREFETCH_MSR
sudo echo wrmsr -a 0x1a4 $PREFETCH_MSR
sudo rdmsr -a 0x1a4
cargo run --release --bin stream > stream-with-${PREFETCH_MSR}-prefetcher.log
sudo rdmsr -a 0x1a4