vfio-guide/cpu_mode_performance.sh
Karuri M. Karuri 5084074d05 Initial commit
2020-09-10 20:29:02 +03:00

7 lines
272 B
Bash
Executable File

#!/bin/bash
## Enable CPU governor performance mode
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor