Comment 13 for bug 1657494

Revision history for this message
aaaa (aaa123123) wrote :

In my case plank was not shooting more than 2,3% of CPU but the total CPU time over all days running would be comparable to Xorg or irq/38-nvidia !!
e.g. the "TIME+" column of top after 25 days since last boot is:

23:07.23 xfce4-sensors-p
12:22.58 xfce4-terminal
115:28.76 Xorg
41:46.98 irq/38-nvidia

I think I have found the root of my plank woes: the trash can. I have removed it and plank is back to sanity. Before that plank's load was equal to my Xorg's load!!!!

Prior to that I made sure that Clippy was also removed.

(VERSION: I downloaded plank-0.11.4 and compiled locally - fedora, kernel 4.18.)

I am going to make a poisonous comment but it is meant for good: In the olden days we used to make fun at micro$$of programmers who managed to produce crappy code. At first I thought it was a matter of competence but after some years I realised that their total ignoring of all lessons of handling resources as wisely (and miserly) as possible was deliberate. They wanted to, they told them so: waste the resources. The more wasteful your application is the more bonus you will get. Something along these lines. At that time, the free software movement, Linux and the handful of window managers existent, were the exact opposite. They cared about not wasting resources and would be proud to run X11 on a pocket calculator just to prove this point.

But then came exotic linux software and all software engineering gentlemanship went down like a flop. It would be unfair to equate close-source/private companies tactics with linux ecosystem but sure we are catching up on wasting resources! Please please please stop that. Whenever you are spawning a timer think again. Whenever you are working on a feature which keeps checking a folder every 500ms please THINK AGAIN! Or at least give us the option to disable it or warn us that this will be wasting CPU cycles or bomb your harddisk. I feel have woken into a bad dream please can you wake me out of it????