Tuned is a daemon that uses udev to monitor connected devices and statically and dynamically tunes system settings according to a selected profile. Tuned is distributed with a number of predefined profiles for common use cases like high throughput, low latency, or powersave. It is possible to modify the rules defined for each profile and customize how to tune a particular device. To revert all changes made to the system settings by a certain profile, you can either switch to another profile or deactivate the tuned service.
[root@host1 ~]# systemctl status tuned ● tuned.service - Dynamic System Tuning Daemon Loaded: loaded (/usr/lib/systemd/system/tuned.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-07-12 04:52:53 UTC; 13h ago Docs: man:tuned(8) man:tuned.conf(5) man:tuned-adm(8) Main PID: 2592 (tuned) Tasks: 5 Memory: 33.9M CGroup: /system.slice/tuned.service └─2592 /usr/bin/python2 -Es /usr/sbin/tuned -l -P Jul 12 04:52:52 host1 systemd: Starting Dynamic System Tuning Daemon... Jul 12 04:52:53 host1 systemd: Started Dynamic System Tuning Daemon. [root@host1 ~]# tuned-adm list Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - hpc-compute - Optimize for HPC compute workloads - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - 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 [root@host1 ~]# tuned-adm active Current active profile: balanced [root@host1 ~]# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | head powersave powersave <omitted..>
[root@host1 ~]# tuned-adm profile throughput-performance [root@host1 ~]# tuned-adm active Current active profile: throughput-performance [root@host1 ~]# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor performance performance <omitted..>