Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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_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


The git repo is here: https://git.fedorahosted.org/cgit/tuned.git/tree/profiles

Easy enough to implement own scripts using the profiles as a basis.


This 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


This 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: