kernel .config lowlatency improvements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lowlatency (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
gerald.yang | ||
Lunar |
Won't Fix
|
Undecided
|
gerald.yang | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The lowlatency kernel in Ubuntu is specifically designed to prioritize high responsiveness, making it ideal for multimedia environments like DAWs and audio processing platforms, as well as soft real-time environments.
With the introduction of a real-time kernel, it might be worth reconsidering the role of the lowlatency kernel and potentially including it as the default kernel in desktop images, focusing on its suitability for desktop-oriented usage.
To achieve this, we can enable additional configuration settings and make it more focused for a low-latency and highly responsive desktop environment.
Optionally (for the future) provide also an additional user-space package that would enable specific run-time kernel settings focused at certain preset workload profiles (e.g, web navigation, gaming, audio processing, etc.).
[Test case]
Use linux-lowlatency in a desktop environment and measure responsiveness of interactive applications.
[Fix]
Enable the following additional .config settings to make this kernel more suitable for a low-latency desktop kernel:
- CONFIG_
- CONFIG_
- CONFIG_RCU_LAZY=y: batch RCU callbacks and then flush them after a timed delay instead of executing them immediately (can provide 5~10% power-savings for idle or lightly-loaded systems, this is extremely useful for laptops / portable devices - https://<email address hidden>/)
[Regression potential]
Enabling all these settings can introduce a potential performance regression, but the kernel should result more responsive and make it more suitable for a desktop/
Changed in linux-lowlatency (Ubuntu Mantic): | |
status: | New → Fix Committed |
Changed in linux-lowlatency (Ubuntu Jammy): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
Changed in linux-lowlatency (Ubuntu Lunar): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
Changed in linux-lowlatency (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-lowlatency (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in linux-lowlatency (Ubuntu Lunar): | |
status: | In Progress → Won't Fix |
Changed in linux-lowlatency (Ubuntu Jammy): | |
status: | In Progress → Won't Fix |
This bug was fixed in the package linux-lowlatency - 6.3.0-7.7.1
---------------
linux-lowlatency (6.3.0-7.7.1) mantic; urgency=medium
* mantic/ linux-lowlatenc y: 6.3.0-7.7.1 -proposed tracker (LP: #2024476)
* Miscellaneous Ubuntu changes
- [Config] update toolchain version
[ Ubuntu: 6.3.0-7.7 ]
* mantic/linux: 6.3.0-7.7 -proposed tracker (LP: #2023297) dkms-versions -- update from kernel-versions (main/master)
* Packaging resync (LP: #1786013)
- debian/
-- Paolo Pisati <email address hidden> Tue, 20 Jun 2023 17:52:45 +0200