diff options
| -rwxr-xr-x | run_case_study_dag.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run_case_study_dag.py b/run_case_study_dag.py index e2c4607..0599bec 100755 --- a/run_case_study_dag.py +++ b/run_case_study_dag.py | |||
| @@ -56,6 +56,8 @@ def ID2PID(lookupID): | |||
| 56 | return None | 56 | return None |
| 57 | 57 | ||
| 58 | def main(pathName): | 58 | def main(pathName): |
| 59 | |||
| 60 | |||
| 59 | with open("./pids.txt", "w") as f: | 61 | with open("./pids.txt", "w") as f: |
| 60 | f.write("") | 62 | f.write("") |
| 61 | 63 | ||
| @@ -87,6 +89,9 @@ def main(pathName): | |||
| 87 | core_count = max_core+1 | 89 | core_count = max_core+1 |
| 88 | # print(parameters) | 90 | # print(parameters) |
| 89 | 91 | ||
| 92 | # Turn off power management | ||
| 93 | run('sudo echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor') | ||
| 94 | |||
| 90 | ### Allocate Cache Ways ### | 95 | ### Allocate Cache Ways ### |
| 91 | run('mount -t resctrl resctrl /sys/fs/resctrl') | 96 | run('mount -t resctrl resctrl /sys/fs/resctrl') |
| 92 | # run('sudo echo "L3:0=0000;1=0000;2=0000;3=ffff" | sudo tee /sys/fs/resctrl/schemata') | 97 | # run('sudo echo "L3:0=0000;1=0000;2=0000;3=ffff" | sudo tee /sys/fs/resctrl/schemata') |
