mirror of
https://gitlab.com/Karuri/vfio.git
synced 2024-11-15 12:13:01 +00:00
7 lines
272 B
Bash
Executable File
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
|