Language Selection

English French German Italian Portuguese Spanish

How much power does KDE need?

Filed under

Honestly, I just love hacking while traveling by train - no IRC, no ICQ, no email that steals attention. However, most of the time I don't sit near a power supply socket so my laptop runs from battery. How much do you need for running KDE? I don't mean CPU or RAM ressources, but battery power. I know that you can enhance the battery lifetime by installing more RAM into your laptop - so that the hard disk has less work to do. But how much could you save by not running KDE ?

And I had time to figure out. I've fixed busy-looping in KDE-applications already in the past, but it seems there are new offenders added to our tree on a daily basis. Even if those busy-looping applications (with short timeouts) never appear as significant in the top output - they eat processing time.. and power. For my laptop, running KDE (not doing any user interaction) requires about 1.2 W/h. Thats 10%. With other words, I could hack about 10% longer if those are fixed. Thats a lot, so I started stracing to find the worst offenders. And the hitlist is:

  • artsd. No further comment necessary, its the first thing I kill (or don't even install) anyway.

  • kded (with dnotify it seems to busy-loop due to debug-output<->directory changed trigger loop)
  • klaptopdaemon. The code just does horrible stuff, including installing event listeners everywhere for no reason. Second thing to kill if you actually use a laptop.
  • kicker. One reason is the clock, which busy-loops even if nothing is to be expected to be done. But its doing a lot more, I haven't quite figured out yet what it does, but its definitely unnecessary as long as there is no user interaction.

Over the next few weeks I might try fixing those worst offenders. Any help with that is highly appreciated.


More in Tux Machines

Why a penguin? Recapping a slice of Linux history

Linux is a surprisingly successful operating system. Despite many of its distros having no graphical interface and/or not running with popular applications like Microsoft Office or the Adobe creative suite, it’s still managed to gather more than 80 million users by some estimates, and Linux support alone pulls in more than $1 billion in revenue each year. (That’s pretty impressive for an open-source system!) All of this leads to one important question … Read more Also: Kernel 3.18.22 LTS Brings Fixes

Solus Is Now Using Linux Kernel 4.1.10, Lots of Packages Updated

Even if Solus is running a little late, it doesn't mean that its developers are not actively working on it. In fact, quite a lot of interesting stuff has been happening with Solus and all the planned changes will be available in the stable version. Read more

Android 6.0 up close: Google Now on Tap is almost amazing

Can you believe it? After months of waiting and anticipation, Google's Android 6.0 Marshmallow release is finally on its way into the world. I'll have a detailed overview of what's different with Marshmallow and why it all matters for regular users soon. First, I wanted to take an up-close look at one of Android 6.0's most interesting features: Google Now on Tap. As I mused when Google gave us our first glimpse at Now on Tap this summer, this feature really seems like the future of Android -- like something that has the potential to change the way we interact with our mobile devices. Read more

Today in Techrights