tuned icon indicating copy to clipboard operation
tuned copied to clipboard

Adapt tuned recommend heuristics for CentOS and Fedora server variants

Open jeremyeder opened this issue 8 years ago • 6 comments

All server variants should have throughput-performance as their out-of-the-box tuned profile. This has been the default for RHEL since 7.0 GA.

http://jperrin.org/centos/boosting-centos-server-performance/ https://twitter.com/gbraad/status/910899164535431168

jeremyeder avatar Sep 21 '17 16:09 jeremyeder

I'm uncertain how within CentOS (or fedora for that matter) we'd identify the difference between server or laptop when the underlying package set is the same.

jperrin avatar Sep 22 '17 18:09 jperrin

tuned 2.9 has the recommend.d feature.

jeremyeder avatar Oct 20 '17 19:10 jeremyeder

Jim, what about the content of /etc/os-release?

jeremyeder avatar Oct 20 '17 19:10 jeremyeder

@jperrin in Tuned at the moment you can regex match content of the /etc/system-release-cpe, output of the virt-what tool, presence of the arbitrary process or content of any file to determine the profile. If there is any difference between the server / laptop it should work. At the moment we cannot match output of the arbitrary executable, but we can add it to the next release.

yarda avatar Oct 20 '17 19:10 yarda

So we'll have to sort this out on our side, but this fix should make it easier on our side. Because we don't differentiate between install types (laptop vs server) we have to figure out either how we want to do this, or if it's worth changing.

jperrin avatar Oct 22 '17 09:10 jperrin

Feel free to do pull request or let us know how to detect it, we are ready to add/support it upstream. Also I can look onto it later myself (at the moment I do not have Fedora server / CentOS handy).

yarda avatar Oct 22 '17 10:10 yarda