[MIR] tuned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tuna (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
tuned (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Jammy |
Expired
|
High
|
Unassigned |
Bug Description
== Overview ==
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
TuneD profiles:
* can be defined hierarchically, which reduces duplication and simplifies maintenance: More specialized profiles can inherit generic profiles and just change what is needed instead of duplicating the code. For example, you can built a generic profile for HTTP server upon the throughput-
* support full rollback: The system can be easily returned to the state before the profile was applied. This can be handy for testing, benchmarking, experimenting, and so on. For example, you can set up a cron rule to apply a certain profile during business hours and a different one at night.
* include a number of predefined profiles for common use cases:
For example, presets for high throughput, low latency, or powersave are distributed. Profiles optimizing performance for various products like SAP, dBase servers, and so on are also provided, and it is possible to fully customize them.
[ See https:/
== Answers to UbuntuMainInclu
= Requirements =
1. Availability
* Package is in universe: https:/
However, there is another separate package in LP with the same name:
https:/
* The version of tuned in Universe for Jammy is 2.15. However, we are requesting version 2.18 due to known bugs in 2.15 that are fixed in 2.18.
2. Rationale
* The tuned package contains a daemon that tunes system settings dynamically. It does so by monitoring the usage of several system components periodically. Tuned allows users to select profiles based on workloads, one being real-time. A user can enable the real-time profile, which has shown to reduce latencies.
* The tuned package is already in use by end users running CentOS and looking to move to Ubuntu.
* Example of using the real-time profile compared to default Ubuntu real-time kernel. Notice the last column, which is the max latency:
Ubuntu without tuned:
T:82 ( 4435) P:80 I:200 C: 449 Min: 7 Act: 9 Avg: 8 Max: 24
T:83 ( 4436) P:80 I:200 C: 434 Min: 7 Act: 9 Avg: 10 Max: 83
T:84 ( 4437) P:80 I:200 C: 420 Min: 8 Act: 12 Avg: 10 Max: 27
T:85 ( 4438) P:80 I:200 C: 405 Min: 7 Act: 8 Avg: 12 Max: 108
T:86 ( 4439) P:80 I:200 C: 391 Min: 7 Act: 8 Avg: 8 Max: 23
realtime profile with assigned IRQ affinity:
T:82 ( 4728) P:80 I:200 C: 180 Min: 2 Act: 2 Avg: 2 Max: 3
T:83 ( 4729) P:80 I:200 C: 166 Min: 2 Act: 2 Avg: 2 Max: 3
T:84 ( 4730) P:80 I:200 C: 152 Min: 2 Act: 2 Avg: 2 Max: 3
T:85 ( 4731) P:80 I:200 C: 139 Min: 2 Act: 2 Avg: 2 Max: 3
T:86 ( 4732) P:80 I:200 C: 125 Min: 2 Act: 2 Avg: 2 Max: 3
3. Security:
* The only security issues found in the NVD are for versions 2.10 and older. Tuned is Universe is currently 2.15.
4. Quality assurance:
* Manual is provided
* No debconf questions higher than medium
* No major outstanding bugs.
Bugs outstanding:
1713313 Unable to launch pkexec'ed applications on Wayland session
1774000 Fails to boot cirros QEMU image with tuned running
1838063 not start "tuned-gui"
1850228 tuned-gui fails to run on at least 19.04 and 19.10
1925765 [21.04 regression] tuned breaks networking in podman containers
* Exotic Hardware: N/A
* No Test Suite shipped with the package
* Does not rely on obsolete or demoted packages
5. UI standards:
* This is a CLI tool. Tool has normal CLI style short help and man pages
* No desktop file required as it is a CLI tool.
6. Binary Dependencies (Reported by check-mir):
# check-mir for TUNED:
Checking support status of build dependencies...
* debhelper-compat does not exist (pure virtual?)
* dh-python binary and source package is in universe
Checking support status of binary dependencies...
* ncat binary and source package is in universe
* python3-
* virt-what binary and source package is in universe
* linux-cpupower does not exist (pure virtual?)
* tuned binary and source package is in universe
* tuned binary and source package is in universe
* systemtap binary and source package is in universe
* tuned binary and source package is in universe
# check-mir for TUNA:
Checking support status of build dependencies...
* debhelper-compat does not exist (pure virtual?)
* dh-python binary and source package is in universe
Checking support status of binary dependencies...
* python3-ethtool binary and source package is in universe
* python3-
# TUNED
# Installed tuned on a VM and these are the reported dependencies:
$ sudo apt-get install tuned
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ethtool gawk libsigsegv2 ncat python3-configobj python3-decorator python3-
virt-what
Suggested packages:
gawk-doc python-
Recommended packages:
linux-cpupower
The following NEW packages will be installed:
ethtool gawk libsigsegv2 ncat python3-configobj python3-decorator python3-
virt-what
## TUNA:
$ sudo apt-get install tuna
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
python3-ethtool
The following NEW packages will be installed:
python3-ethtool tuna
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 217 kB of archives.
After this operation, 630 kB of additional disk space will be used.
7. Standards compliance:
* FHS + Debian Policy standards to the best of my knowledge
8. Maintenance
* Package owning team: The Ubuntu Kernel Team
* Debian package maintained by: Evgeni Golov, <email address hidden>
9. Background Information
* The Package descriptions explains the package well
Link to upstream project: https:/
CVE References
description: | updated |
Changed in tuned (Ubuntu): | |
importance: | Undecided → High |
no longer affects: | tuna (Ubuntu) |
Changed in tuned (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in tuna (Ubuntu): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
Changed in tuna (Ubuntu): | |
status: | New → Incomplete |
Changed in tuna (Ubuntu Jammy): | |
status: | New → Incomplete |
Changed in tuna (Ubuntu): | |
assignee: | Ioanna Alifieraki (joalif) → nobody |
Hello Joseph, can you please explain the relationship between these packages and tlp and gamemode, both of which offer similar functionality are already in main?
Thanks