Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ## Load the config file
- source "/etc/libvirt/hooks/kvm.conf"
- ## Enable CPU governor on-demand mode
- cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
- for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "ondemand" > $file; done
- cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement