Systemd Startup For KDE Plasma 5.21 Has Helped Uncover Bugs, Other Improvements

Written by Michael Larabel in KDE on 1 October 2020 at 06:38 AM EDT. 30 Comments
KDE
While Plasma 5.20 isn't shipping until later this month, already for Plasma 5.21 down the pipe is a big change and that is the optional support for systemd starting up of the Plasma session. This can lead to faster startup/load times and other improvements while even the process of bringing up the systemd support helped uncover other KDE bugs.

Longtime KDE developer David Edmundson who was involved in this process of optional startup support via systemd has provided a deep dive on the process. This KDE Plasma 5.21 feature (not the imminent 5.20) allows for using systemd startup in place of the conventional boot scripts though those boot scripts will continue to be supported into the future for still being able to run the KDE desktop without systemd.

By making use of systemd for Plasma startup there is more control over process startup, greater enforcements over shutting down of processes, cgroup / resource limits support, enhanced logging, and other improvements that have long been desired.

Getting this systemd startup support to where it is today though has led to a lot of low-level code improvements for KDE, cleaning up its boot architecture, KWin changes, and more. Edmundson noted on the topic of speed, "A lot of the prep work over the past few years to get to this state has made absolutely massive differences. The splitting found bugs dead code and potential optimisations that add up to magnitudes of difference."

The fundamentals of the KDE Plasma systemd startup should all be working while additional features are still likely to come. Edmundson concluded his blog post with, "I strongly believe the benefits it offers are very real, and look forward to hearing feedback from users using it."
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week