@Mykle1 said in Electron CPU usage:
BCM2835
For my two raspi3:
Both of them are the BCM2835 Hardware-Versions. First BCM2835 has the problem, the other BCM2835 hasn’t. Wow… :-D
@Mykle1 said in Electron CPU usage:
BCM2835
For my two raspi3:
Both of them are the BCM2835 Hardware-Versions. First BCM2835 has the problem, the other BCM2835 hasn’t. Wow… :-D
@Sean said in Electron CPU usage:
I have a very stupid question.
In my new ATB, transition animation caused CPU usage around max 70%.(bynmon
.htop
shows less than that… around 30~50%). Without transition, near 10~20%.
But… I had not felt the performance issue before this thread. Will it be a real problem? I’m not an expert, but I think, temporally CPU usage could be high than we’ve thought. Should I really worry about this?
My ATB is coming today. I’ll made a new installation with all my modules and settings from my actual raspi. I’m very excited and I’ll give a report.
All in all it seems crazy to me, that those transitions are so cpu heavy. And in some cases (look at those nmon screenshots here) the cpu load is way to high and the mirror becomes unusable. So in that case, we should worry about that.
@wtidwell said in Electron CPU usage:
@TiemenMoesker I tried two pies with exactly the same result. My spikes are way higher than 55%, on the order of max processing.
Hm, okay. But that seems to be a little bit weird. Imagine there are f.e. 8 modules. 3 of them make a fade at the same time (compliments, feed and calendar / netatmo, …). Then max processing is over 100%. Thats the problem in my first screenshot. 320% max cpu. This can not be right.
@TiemenMoesker said in Electron CPU usage:
:( …has anyone here tried another PI. I am considering to buy another one.
I have two of them. The second Raspi 3 (I bought them at the same time) works better. But, as everybody can see, while an animation is working, there are 45-55% peaks (one animation in newsfeed). I don’t think, that this should be.
@TiemenMoesker said in Electron CPU usage:
@djsunrise19 I noticed that you have had this problem for wel over a year now. Damn. I don’t understand how it doesnt work properly… Used Noobs to install Rasbain, used auto install from MagicMirror homepage, nothing else, yet it doesn’t work.
Yes, but today, after
git pull && npm install
it becomes totally unusable. My “seconds” refreshed every 15 seconds, 320% CPU usage… I don’t know.
Yeah, totally understand. I feel the same. It has to do anything with the transitions. Another screen with the newsfeed module only. You can see cleary, when the transition starts and ends. So frustrating.
Same here. I have / had this problem since months. Today I’ve updated my mirror (because it says, there is an update). After this my mirror isn’t usable anymore. The problem is way heavier : I tried very much, but no effects. With MMv1 everything was smooth. I have 2x Raspi 3 - same behaviour.
In MMv2 something changes with the CSS transitions. But I don’t know if that is the problem.
I want to extend the module a little bit:
I tried a few things (from @tidus5 within the fetcher). But I can’t get it to work. Any hints / ideas?
@tidus5 Looks nice! Could you please share your code? :)
Ah, I see. Thank you! There is a commit, too. I’ll wait for the update!