Beginner · Processes, services and logs · topic 18 of 57 · 25 min
Tuning profiles with tuned, and time with chrony
Explanation
tuned: performance profiles
A server can be tuned for different goals: fast database queries, low power use, or a virtual machine sharing a host. There are hundreds of kernel and disk settings behind these goals. tuned is a service that groups the settings into profiles, so you pick a goal instead of changing each setting by hand.
# dnf install -y tuned # usually already installed
# systemctl enable --now tuned
# tuned-adm active
Current active profile: virtual-guest
# tuned-adm recommend
virtual-guest
# tuned-adm list
Available profiles:
- balanced - General non-specialized tuned profile
- 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
...
# tuned-adm profile throughput-performance
# tuned-adm verify
Verification succeeded, current system settings match the preset profile.tuned-adm recommend looks at the machine (for example, is it a VM?) and suggests a profile. In exams a task may say "set the recommended tuned profile"; run recommend and then profile with its answer. The profile is remembered across reboots as long as the tuned service is enabled.
Why time must be right
Wrong time causes real trouble: log lines from different servers cannot be matched, TLS certificates look "not yet valid" or "expired", Kerberos and Active Directory logins fail when clocks differ by more than a few minutes, and scheduled jobs run at the wrong hour. NTP (Network Time Protocol) keeps clocks in sync with time servers. On RHEL the NTP client is chronyd, from the chrony package.
$ timedatectl
Local time: Mon 2026-10-19 11:20:31 IST
Universal time: Mon 2026-10-19 05:50:31 UTC
Time zone: Asia/Kolkata (IST, +0530)
System clock synchronized: yes
NTP service: active
# timedatectl set-timezone Asia/Kolkata
# timedatectl list-timezones | grep Kolkata
Asia/KolkataConfiguring chrony
The settings are in /etc/chrony.conf. A server or pool line names a time source. iburst sends a quick burst of requests at start-up so the clock syncs faster. After changes, restart chronyd and check the sources.
# grep -E '^(server|pool)' /etc/chrony.conf
pool 2.rhel.pool.ntp.org iburst
# vim /etc/chrony.conf # replace with your company's NTP server:
server ntp.example.com iburst
# systemctl restart chronyd
# chronyc sources -v
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp.example.com 2 6 17 12 +215us[ +301us] +/- 18msIn India, public NTP servers include pools such as in.pool.ntp.org, and many companies run their own internal NTP servers. Use what your network team gives you; production servers often cannot reach the internet.
Common mistakes
- Editing /etc/chrony.conf and forgetting to restart chronyd. Check with chronyc sources.
- Changing the time zone and thinking the clock is now "fixed". The time zone only changes how time is shown; sync is a separate thing.
- Choosing a tuned profile by guesswork. Use tuned-adm recommend unless you have a measured reason.
- Leaving the firewall closed on an NTP SERVER you set up (UDP port 123). Clients only need outgoing access.
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
Tuning profiles with tuned, and time with chrony · 1/6
tuned groups many performance settings into profiles.
Prefer a video by a teacher? Find free videos on “rhel tuned-adm profile chrony ntp configuration” on YouTube ↗
In real life: Login failures at a university in Chandigarh
Students at a university suddenly could not log into lab servers that check passwords against the campus directory. The admin saw that one server's clock was 9 minutes behind, because chronyd had been pointed at an old NTP server that was switched off. He changed the server line to the new campus NTP server, restarted chronyd, and logins worked again within a minute.
# chronyc tracking | grep -E 'Reference|System time'
Reference ID : 0A000005 (ntp2.campus.example.edu)
System time : 0.000214 seconds fast of NTP timePractice (0/2 done)
Which command shows the tuned profile in use?
On your lab VM: apply the recommended tuned profile, set the time zone to Asia/Kolkata, point chrony at a server you are given (or keep the pool), and prove the clock is synchronised.
Quick quiz
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- Targets: the boot goal of the systemProcesses, services and logs · same module
- systemd services and systemctlProcesses, services and logs · same module
- Management services: NTP, SNMP, syslog and TFTPComputer Networking (CCNA level) · IP services: DHCP, DNS, NAT and more
- Fine-tuning, and when not toData Science, Machine Learning and AI · Building with generative AI, and MLOps
- Cross-validation and tuning hyperparametersData Science, Machine Learning and AI · Evaluating models
- PerformanceFlutter and Dart · Animations and performance
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
Which service keeps the clock synchronised on RHEL 9?
Answer: chronyd
RHEL uses chrony; ntpd is no longer shipped.
What does iburst do on a server line?
Answer: Sends quick requests at start-up for faster first sync
iburst speeds up the initial synchronisation.
In chronyc sources, what does * mark?
Answer: The source currently used for synchronisation
* is the selected best source.
Why can wrong time break logins in a company domain?
Answer: Kerberos rejects tickets when clocks differ too much
Kerberos allows only a small clock difference (often 5 minutes).
What does stratum 1 mean for an NTP server?Related
Answer: It is directly connected to a reference clock such as GPS
Stratum 0 is the reference clock; a stratum 1 server is attached to it directly.
Your 2,000 training examples contain many inconsistent labels. What will fine-tuning likely produce?Related
Answer: A model that copies the inconsistency
The model learns whatever patterns are in the examples, including mistakes.
Where should the test set be used?Related
Answer: Once, after model and hyperparameters are chosen
Using it during tuning makes its score optimistic.
Why does const help performance?Related
Answer: Const widgets are created once and can be skipped during rebuilds
Identical const widgets are reused.
From Performance
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- This is the last topic of “Processes, services and logs”. The module exam comes next.
- Module 3 exam: Processes, services and logs · 14 questions · 25 min, without help. 6 topics of this module still to finish first.
- Then the next module, Software and networking. 57 topics left in the course before the final exam.
← Previous: Logs: journalctl, rsyslog and a persistent journal