Language Selection

English French German Italian Portuguese Spanish

How much power does KDE need?

Filed under
KDE

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.

Source.

More in Tux Machines

Leaked videos, screenshots reveal an HTC One running Android Lollipop

No, you won’t get this gift in time for Christmas, but perhaps seeing an HTC One running Lollipop may make the wait slightly less painful. A batch of videos and screenshots show HTC’s flagship with the newest build of Android, though of course it’s merged with the Sense 6.0 user interface (the HTC One currently runs Sense 5.0). We got a small hint of how Lollipop looks on the One in November, but this leak lays out what the entire operating system makeover looks in clearer detail. Read more

The winning Linux kernel live patch: All of the above

Life's choices often amount to one of two options: Linux or Windows? Android or iOS? Kgraft or Kpatch? That last pair consists of the two major contenders for the technology Linux could use for live kernel patches. Now a winner is in, and it amounts to all of the above. According to a post on the official Linux kernel developer's mailing list, a kernel patching system that works with both Kgraft and Kpatch and uses "core functionality abstracted out of [those] already existing implementations" has been proposed as an addition to the Linux 3.20 kernel. Read more

UNIX Industry Banks on Linux Strategies

Struggling UNIX server makers are strengthening their Linux strategy in line with the open-source application environment. The move is aimed at maintaining remaining customers, since users are increasingly abandoning UNIX servers. However, it is receiving a lukewarm response from the market. According to industry sources on Dec. 22, server vendors such as IBM and HP are concentrating on the development of products so that the Linux operating system and related applications can be used as UNIX servers. Read more

Mageia Beta Delayed, Christmas Quiz, and 7 Best Alternatives

Today in Linux news the Mageia project announced another delay in version 5 Beta 2. The Linux Voice is running a Linux quiz for Christmas and Gary Newell offers up his list of the seven best alternative Linux distributions of the year. The Register says 2015 will be the year of Linux - on mobile. Three reviews need to be highlighted and, finally today, Matt Hartley says everyone should switch to Ubuntu MATE. Read more Also: Linux Bloat, Linux Lite, and Devuan Update