dendrobates-t-azureus/CacheObserver/run-msr-eap.sh

9 lines
236 B
Bash
Raw Normal View History

2022-01-25 14:18:03 +01:00
#!/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 exhaustive_access_pattern > eap-with-${PREFETCH_MSR}-prefetcher.log
sudo rdmsr -a 0x1a4