mirror of https://gitlab.com/Karuri/vfio
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
272 B
Bash
7 lines
272 B
Bash
4 years ago
|
#!/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
|