Skip to content

TuneD - System Performance Tuning Profiles Cheatsheet

TuneD - System Performance Tuning Profiles Cheatsheet

TuneD is a daemon that applies performance tuning profiles to a Linux system. Instead of hand-editing dozens of kernel parameters, CPU governors, disk schedulers, and sysctls, you activate a profile — throughput-performance, latency-performance, powersave, virtual-guest, and more — and TuneD applies a coherent, tested set of settings. It can also recommend a profile based on the machine’s role and adapt dynamically. It is standard on RHEL/Fedora and available across distros.

Installation

PlatformCommand
RHEL/Fedorasudo dnf install tuned (often preinstalled)
Debian/Ubuntusudo apt install tuned
Enable servicesudo systemctl enable --now tuned
Verifytuned-adm --version

Core Commands (tuned-adm)

CommandDescription
tuned-adm activeShow the currently active profile
tuned-adm listList all available profiles
tuned-adm profile NAMESwitch to a profile
tuned-adm recommendRecommend a profile for this system
tuned-adm profile_info NAMEShow what a profile does
tuned-adm offDisable tuning (revert)
tuned-adm verifyCheck that settings are applied

Common Built-in Profiles

ProfileOptimizes for
balancedGeneral-purpose default
throughput-performanceMax throughput (servers, HPC)
latency-performanceLow, deterministic latency
network-latencyLatency-sensitive networking
network-throughputHigh network throughput
powersaveBattery/energy saving
virtual-guest / virtual-hostVMs / hypervisors
desktopInteractive desktop use
# Put a database server into throughput mode
sudo tuned-adm profile throughput-performance
tuned-adm active

What a Profile Changes

AreaExamples
CPUGovernor (performance/powersave), C-states, energy perf bias
DiskI/O scheduler, readahead
Kernelsysctl (vm.swappiness, net buffers, dirty ratios)
PowerALPM, USB autosuspend
Transparent Huge Pagesenable/disable

tuned-adm profile_info throughput-performance shows the exact settings.

Custom Profiles

Profiles live in /etc/tuned/ (custom) and /usr/lib/tuned/ (stock). You can create one that inherits a stock profile and overrides a few values.

# /etc/tuned/myapp/tuned.conf
[main]
include=throughput-performance

[cpu]
governor=performance

[sysctl]
vm.swappiness=10
net.core.somaxconn=4096

[vm]
transparent_hugepages=never
sudo tuned-adm profile myapp
SectionControls
[main] include=Base profile to inherit
[cpu]Governor, energy bias
[sysctl]Kernel parameters
[disk]Scheduler, readahead
[vm]THP, dirty ratios

Dynamic Tuning & Roles

FeatureNote
recommendPicks a profile from hardware/role heuristics
Dynamic tuningAdjusts some settings based on load
no-daemon modeApply once without the daemon
PluginsMonitor/tuning plugins per subsystem

Verifying & Reverting

# Confirm settings actually took effect
sudo tuned-adm verify

# See what changed vs baseline
tuned-adm profile_info $(tuned-adm active | awk '{print $NF}')

# Revert all tuning
sudo tuned-adm off

TuneD vs Manual Tuning

AspectTuneDHand-editing sysctl/governors
CoherenceTested, coherent profile setsAd-hoc, error-prone
SwitchableOne commandManual revert
CustomInherit + overrideFull manual
Best forRepeatable, role-based tuningOne-off deep tweaks

TuneD sets governors via the same mechanism as cpupower; for NUMA placement pair with numactl.

Resources