Views:
4,839β
Votes: 1β
β
Solution
Tags:
power-management
cpu
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1187749
Title:
How should I setup Tuned-adm?
ID:
/2019/11/10/How-should-I-setup-Tuned-adm_
Created:
November 10, 2019
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
The two processes donβt really conflict with each other. ondemand.service
focuses on setting the CPU Frequency Scaling governor.:
$ systemctl status ondemand
β ondemand.service - LSB: Set the CPU Frequency Scaling governor to "ondemand"
Loaded: loaded (/etc/init.d/ondemand; bad; vendor preset: enabled)
Active: active (exited) since Thu 2019-10-31 05:30:09 MDT; 1 weeks 3 days ago
Docs: man:systemd-sysv-generator(8)
Oct 31 05:30:08 alien systemd[1]: Starting LSB: Set the CPU Frequency Scaling governor to "o
Oct 31 05:30:09 alien systemd[1]: Started LSB: Set the CPU Frequency Scaling governor to "on
Tuned on the other hand focuses on optimizing performance of storage devices (including swap):
The Tuned Project
Tuned is a system tuning service for Linux. It:
- monitors connected devices using the udev device manager
- tunes system settings according to a selected profile
- supports various types of configuration like sysctl, sysfs, or kernel boot command line parameters, which are integrated in a plug-in architecture
- supports hot plugging of devices and can be controlled from the command line or through D-Bus, so it can be easily integrated into existing administering solutions: for example, with Cockpit
- can be run in no-daemon mode with limited functionality (for example, no support for D-Bus, udev, tuning of newly created processes, and so on) for systems with reduced resources
- stores all its configuration cleanly in one place β in the Tuned profile β instead of having configuration on multiple places and in custom scripts
There should be no problem keeping ondemand
service running or disabling it before installing tuned
.