Add missing scripts
This commit is contained in:
parent
bf931bfa52
commit
0e60fd62ba
8
prefetcher_reverse/run-msr-np.sh
Executable file
8
prefetcher_reverse/run-msr-np.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/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 new_page > np-with-${PREFETCH_MSR}-prefetcher.log
|
||||||
|
sudo rdmsr -a 0x1a4
|
||||||
|
|
8
prefetcher_reverse/run-msr-rpa.sh
Executable file
8
prefetcher_reverse/run-msr-rpa.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/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 rpa_patterns > rpa-with-${PREFETCH_MSR}-prefetcher.log
|
||||||
|
sudo rdmsr -a 0x1a4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user