Feature: Tuned - cockpit-project/cockpit GitHub Wiki
Goal
- Tuned provides a way to apply sets of sysctls and other options to optimize performance, battery life, disk throughput, or other performance profiles. It provides an easy mechanism for users and administrators to further match their system configuration to its intended use.
- Tuned already uses DBus, and it will suggest a profile if desired, which makes adding support in Cockpit quick, clean, and easy.
Stories
-
Philip is a sysadmin at a small company which is just getting started with virtualization. They've decided to repurpose two of their existing servers as virtual hosts, and one for shared storage, but Philip isn't sure what settings he can change to get the best possible experience.
-
Louis has just installed Linux on his laptop, and the battery life is worse than it was on another operating system. He feels like there's a way to improve it, but he doesn't know what.
Workflows
Philip:
- Philip logs into the virtualization hosts via Cockpit to use the console to install packages
- He sees a button for tuning on the system page and clicks it
- He is informed that he's currently running "balanced", but a drop-down dialog informs him that there are other options available, including one for virtualization hosts, and one for throughput
- Philip selects "virtual-host" for the virtual hosts, and "throughput-performance" for the storage server
Louis:
- Louis logs into Cockpit and sees a button for tuning on the system page
- He is informed that he's currently running "balanced", but that there's an option for "powersave"
- Louis selects "powersave"
Implementation
- The only package required is "tuned", but this isn't part of the base install. It's easy enough to simply not show the widget if tuned isn't installed
- It would be nice if there were an easy way to install packages from Cockpit so we could prompt users to install it if missing