2021-11-10 15:12:01 +01:00
|
|
|
#!/bin/bash
|
|
|
|
PREFETCH_MSR=$1
|
|
|
|
sudo wrmsr -a 0x1a4 $PREFETCH_MSR
|
|
|
|
sudo echo wrmsr -a 0x1a4 $PREFETCH_MSR
|
|
|
|
sudo rdmsr -a 0x1a4
|
2022-09-23 11:52:06 +02:00
|
|
|
cargo run --release --bin extra_access_pattern > extrap-with-${PREFETCH_MSR}-prefetcher.log
|
2021-11-10 15:12:01 +01:00
|
|
|
sudo rdmsr -a 0x1a4
|
|
|
|
|