3 ms·
Redhat and Centos have the command "tuned-adm" which has various machine profiles with settings like this. It is an official thing supported by the vendor. htt
by slyall 12y ago
Redhat and Centos have the command "tuned-adm" which has various machine profiles with settings like this. It is an official thing supported by the vendor.
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/tuned-adm.html https://access.redhat.com/site/documentation/en-US/Red_Hat_E...
eg when I run it on one of our KVM hosts.
$ tuned-adm list
Available profiles:
- throughput-performance
- laptop-ac-powersave
- virtual-guest
- latency-performance
- enterprise-storage
- default
- spindown-disk
- desktop-powersave
- virtual-host
- laptop-battery-powersave
- server-powersave
Current active profile: virtual-host
- velodrome 12y agoThis is a great feature. You also have the ability to create and use your own profiles. I wonder if they made any new improvements in RHEL 7?
- Firefishy 12y agoThe git repo is here: https://git.fedorahosted.org/cgit/tuned.git/tree/profiles https://git.fedorahosted.org/cgit/tuned.git/tree/profiles Easy enough to implement own scripts using the profiles as a basis.
- kolev 12y agoThis is a very clean approach preventing people from reinventing the wheel. I just found this, although not recently updated, which is tuned ported to Ubuntu: https://github.com/edwardbadboy/tuned-ubuntu https://github.com/edwardbadboy/tuned-ubuntu