Optimize a host with TuneD
Linux, opensuse tunedTuneD project: https://tuned-project.org/
TuneD is a system tuning service for Linux. It provides a number of pre-configured tuning profiles, each optimized for unique workload characteristics, including CPU-intensive job needs, storage/network throughput responsiveness, or power consumption reduction.
Install TuneD on OpenSUSE:
sudo zypper install tuned
Enable and start the TuneD service.
sudo systemctl enable --now tuned
Created symlink /etc/systemd/system/multi-user.target.wants/tuned.service → /usr/lib/systemd/system/tuned.service.
You can now view the standard profile:
sudo tuned-adm active
Current active profile: balanced
List all TuneD profiles that are available on your system:
sudo tuned-adm list
Available profiles:
- balanced - General non-specialized tuned profile
- cpu-partitioning - Optimize for CPU partitioning
- desktop - Optimize for the desktop use-case
- latency-performance - Optimize for deterministic performance at the cost of increased power consumption
- mssql - Optimize for MS SQL Server
- network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- powersave - Optimize for low power consumption
- throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest - Optimize for running inside a virtual guest
- virtual-host - Optimize for running KVM guests
Current active profile: balanced
We can set the profile to virtual-host. This optimizes the host for running KVM guests.
sudo tuned-adm profile virtual-host
Check that the TuneD profile has been updated and that virtual-host is now active.
sudo tuned-adm activeCurrent active profile: virtual-host
Make sure there are no errors.
sudo tuned-adm verify
Verfication succeeded, current system settings match the preset profile.
See TuneD log file ('/var/log/tuned/tuned.log') for details.
Verify the log file for possible errors.