MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Electron CPU usage

    Scheduled Pinned Locked Moved Troubleshooting
    247 Posts 46 Posters 597.3k Views 42 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      roramirez Core Contributors @Mykle1
      last edited by

      @Mykle1 said in Electron CPU usage:

      Perhaps @roramirez has some input here

      What version of electron did you is installed in the system?

      Easy module development with MagicMirror Module Template

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Snille
        last edited by

        @Snille said in Electron CPU usage:

        Can you do a screenshot from a terminal running nmon?

        I think I did this correctly and I think you wanted a screenshot of each, so here they are. How do my stats look?
        0_1503361152257_1.JPG 0_1503361162219_2.JPG 0_1503361174429_3.JPG

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @wtidwell
          last edited by

          @wtidwell said in Electron CPU usage:

          I guess I can try a new SD card as well.

          Yeah, you gotta try something to eliminate all possibilities. Let me know how you make out. Good luck!

          Create a working config
          How to add modules

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            wtidwell @Mykle1
            last edited by

            @Mykle1
            I just made sure I updated to electron1.7.5 and it’s still chugging like before. I got some errors aboutHere is my nmon reading as well.
            Imgur.com/np2mv54

            I don’t know what to make of this haha

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @wtidwell
              last edited by Mykle1

              @wtidwell said in Electron CPU usage:

              I don’t know what to make of this haha

              It can be frustrating. Hang in there. We’ll try to get you sorted or at least find out what the issue is so it can be corrected.

              Now, let me look at your nmon

              Edit: Ouch! :-(

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • SnilleS Offline
                Snille Module Developer
                last edited by

                @Mykle1 Thank you! :) You can actually get all three on the same “screen”. :) But what matters is that your CPU is hovering around 5% and mine (ours) are hovering around 20%x2… That is strange.

                @wtidwell Are you rinnung a “lite” version or a full version of the OS?

                If you cant find it, make it and share it!
                Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                W Mykle1M 2 Replies Last reply Reply Quote 0
                • W Offline
                  wtidwell @Snille
                  last edited by

                  @Snille
                  I’m running a full version. I intend on reinstalling Raspian lite when I have some free time if I can’t troubleshoot it until then.

                  When I was installing electron, I tried to install it globally with the -g command like it suggested in the electron readme. However it said I didn’t have permission and I tried to repeat it with sudo and it still said the same thing. Not sure if that means anything significant. I did get it to install non globally with no errors but I dunno if that may be my problem.

                  1 Reply Last reply Reply Quote 0
                  • SnilleS Offline
                    Snille Module Developer
                    last edited by

                    @wtidwell Nah, I’m running the “lite” version of Jessie… So it’s not that… I did not do a separate install of electron actually. I used the “install-script” from MM at the beginning… It’s goning to be interesting to see if you get any better results with another SD card…

                    If you cant find it, make it and share it!
                    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      wtidwell @Snille
                      last edited by

                      @Snille
                      Speaking of hardware, and this may be a dumb question, but any chance the mouse and keyboard are causing this performance hitch? I just plugged in the ones on my desk which are the corsair strafe and logitech g600, both more intricate than normal pnp mouse and keyboard…

                      1 Reply Last reply Reply Quote 0
                      • SnilleS Offline
                        Snille Module Developer
                        last edited by

                        @wtidwell Nope, I don’t think so. I have not had any keyboard nor mouse connected since I installed it. :)

                        If you cant find it, make it and share it!
                        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                        1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Snille
                          last edited by

                          @Snille said in Electron CPU usage:

                          You can actually get all three on the same “screen”.

                          I followed your directions but only one appeared at a time. I’ll try again later if you want me to. Getting ready for work at the moment.

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • SnilleS Offline
                            Snille Module Developer
                            last edited by

                            @Mykle1 Don’t worry about it. You provided the information. :) But if you want to do it anyway, do it via SSH instead, you need to have more “screen-space” to fit all the information at the same time. Check my screenshot. The number of columns and rows are much higher. :)

                            If you cant find it, make it and share it!
                            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                            1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer
                              last edited by

                              A quick google search reveals that the Pi is mainly manufactured in Wales, UK. However, they are also being made in China, and now Japan. I can’t help but wonder if there is some small difference that would affect performance on those made in the UK and those made elsewhere

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 0
                              • SnilleS Offline
                                Snille Module Developer
                                last edited by

                                @Mykle1 Lets see…
                                Do (in SSH): cat /proc/cpuinfo

                                Paste the result from hardware and revision… :)

                                Hardware        : BCM2835
                                Revision        : a02082
                                

                                I think it’s the “last” revision that is important.

                                Pi 3 Model B	1GB	a02082 (Sony, UK)
                                Pi 3 Model B	1GB	a22082 (Embest, China)
                                

                                More info about revisions…

                                Mine is from UK it seams. :)

                                If you cant find it, make it and share it!
                                Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                Mykle1M 2 Replies Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @Snille
                                  last edited by Mykle1

                                  @Snille said in Electron CPU usage:

                                  Mine is from UK it seams. :)

                                  Here it is. It appears that mine is also from the UK. How about the other info? Does it match up to yours?

                                  processor	: 3
                                  model name	: ARMv7 Processor rev 4 (v7l)
                                  BogoMIPS	: 76.80
                                  Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
                                  CPU implementer	: 0x41
                                  CPU architecture: 7
                                  CPU variant	: 0x0
                                  CPU part	: 0xd03
                                  CPU revision	: 4
                                  
                                  Hardware	: BCM2709
                                  Revision	: a02082
                                  Serial		: 0000000028d2c528
                                  pi@Pi3:~ $ 
                                  
                                  

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 0
                                  • SnilleS Offline
                                    Snille Module Developer
                                    last edited by

                                    @Mykle1 Here is my full “list”. :)

                                    processor       : 0
                                    model name      : ARMv7 Processor rev 4 (v7l)
                                    BogoMIPS        : 76.80
                                    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                                    CPU implementer : 0x41
                                    CPU architecture: 7
                                    CPU variant     : 0x0
                                    CPU part        : 0xd03
                                    CPU revision    : 4
                                    
                                    processor       : 1
                                    model name      : ARMv7 Processor rev 4 (v7l)
                                    BogoMIPS        : 76.80
                                    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                                    CPU implementer : 0x41
                                    CPU architecture: 7
                                    CPU variant     : 0x0
                                    CPU part        : 0xd03
                                    CPU revision    : 4
                                    
                                    processor       : 2
                                    model name      : ARMv7 Processor rev 4 (v7l)
                                    BogoMIPS        : 76.80
                                    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                                    CPU implementer : 0x41
                                    CPU architecture: 7
                                    CPU variant     : 0x0
                                    CPU part        : 0xd03
                                    CPU revision    : 4
                                    
                                    processor       : 3
                                    model name      : ARMv7 Processor rev 4 (v7l)
                                    BogoMIPS        : 76.80
                                    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                                    CPU implementer : 0x41
                                    CPU architecture: 7
                                    CPU variant     : 0x0
                                    CPU part        : 0xd03
                                    CPU revision    : 4
                                    
                                    Hardware        : BCM2835
                                    Revision        : a02082
                                    Serial          : x
                                    

                                    If you cant find it, make it and share it!
                                    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                    Mykle1M 1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @Snille
                                      last edited by

                                      @Snille

                                      The only difference I see:

                                      My hardware = BCM2709
                                      Your hardware = BCM2835

                                      I’m curious to see @wtidwell results

                                      Create a working config
                                      How to add modules

                                      W 2 Replies Last reply Reply Quote 0
                                      • W Offline
                                        wtidwell @Mykle1
                                        last edited by

                                        @Mykle1
                                        @Snille
                                        I’ll do this as soon as I can, I’m still not home from the day yet but I’ll get to it later this evening.
                                        Thank you everyone for your help!

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wtidwell @Mykle1
                                          last edited by

                                          @Mykle1
                                          @Snille

                                          My hardware is also BCM2835 revision a02082 , just like Snille. I have another micro SD I think floating around somewhere in my house, I’ll try and do a clean install of rapsian stretch lite on it tomorrow and use the auto install script on that and see how that goes. Fingers crossed I just got a crappy SD card or something.

                                          Mykle1M 1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @wtidwell
                                            last edited by

                                            @wtidwell said in Electron CPU usage:

                                            Fingers crossed I just got a crappy SD card or something.

                                            How did you make out? I’ve been thinking about this issue since you started the topic. I did quite a bit of googling and there are a number of instances where people had trouble (not with MM) with performance, and heat. In many cases, those people determined that their Pi’s were faulty, after much time, frustration and troubleshooting. In those cases, they had their Pi’s replaced and the problem was solved.

                                            I hope the new SD solves your problem but I have my doubts about that. Please keep me informed and good luck.

                                            Create a working config
                                            How to add modules

                                            W 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 12
                                            • 13
                                            • 1 / 13
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy