sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Plugins that use CPU when idle?

    Scheduled Pinned Locked Moved Plugins
    28 Posts 7 Posters 1.1k Views 7 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.
    • B Offline
      bjornkn
      last edited by

      After having spent the last 3 weeks fixing my PC, which ended up with replacing almost all of it, except the cabinet with fans and a couple of HDDs, I have started cleaning up on the old main HDD as well.

      One thing that has been bothering me for a while is that when SU is running it constantly uses at least 10-15% of CPU, even when doing nothing, and with an empty scene.
      This does not happen when removing all the plugins (I have far too many installed currently).
      One (or more) plugin(s) are maybe running in some infinite loops?

      I'd like to get rid of this/these plugins, but finding the guilty one(s) could be a bit tedious/difficult
      The question is:
      Are there any plugins that are known to use the CPU while it really shouldn't?

      BTW, the workaround is to open the Preferences dialog before switching to another app..

      1 Reply Last reply Reply Quote 0
      • M Offline
        mac1
        last edited by

        Intersting. You can do what is called a maximum entropy search and find the problem relative quickly. Just keep splitting the # of plugins in 1/2 each time. If the first 1/2 does not fail then it must be in the 1/2 you did not load etc. If you have more than one causing the problem then it gets more dicey

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          on my machine, i noticed libfredo6.rb seems to raise the cpu about 6%

          1 Reply Last reply Reply Quote 0
          • B Offline
            bjornkn
            last edited by

            Ouch - Libfredo is such a useful and necessary plugin support file that I'd hate to remove it 😞

            I guess I should follow mac1's advice and do a "binary search". And probably check if there are any redundant/unused files there? And then just remove those that I never use..
            There's now 131 .rb files in the Plugins folder, and lots more inside subfolders..

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              I got Fredo's plugins, and SketchUp.exe uses 0% CPU when idle.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                i should have been more clear - the 6% rises only when i move the mouse over the screen

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @cadfather said:

                  i should have been more clear - the 6% rises only when i move the mouse over the screen

                  And you're saying this does not happen with any plugins installed?
                  I'd put that 6% to SketchUp - doing calculations to what entity the mouse is over etc.

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • dereiD Offline
                    derei
                    last edited by

                    It happened to me once with a model, that SU was using a entire core at maximum 😲 I wasn't doing anything, only opened the model. It was a model that had to be cleaned. After I reworked the geometry it went back to normal.
                    The model was a dwg import... so, strange things happen. But 6% of CPU is not something to worry about. As thomthom said, is normal. The only way your CPU to not work at all is to unplug the PC from power line πŸ’š (because turning it off might not work every time, as there is LAN wake up and other stuff that trigger BIOS to send signals to CPU)

                    DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      toggle units increases as well about 7%

                      Thom, yes it does not happen without plugins - what i did is eliminate plugins by halves and found lib, now found Matt's toggle units as well. there must be others.

                      in fact when all my plugins are in, the cpu shoots at 25% just by moving the mouse across..

                      EDIT: i'm more inclined to think that it is a combination of them... interesting..

                      my scf toolbars also raise the cycles.. (perhaps something to do with observers)

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        I once has a texture in a model that caused massive lags. It was a texture with a non-existing network path.

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • dereiD Offline
                          derei
                          last edited by

                          @cadfather said:

                          (perhaps something to do with observers)

                          I was writing a response having this thought, but I deleted it, when you posted yours πŸ˜„ . I'm inclined to think the same... maybe there are plugins that have observers active for watching the cursor position, or chanve view, edit/create/delete geometry... and maybe that ones are using so much CPU

                          DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                          1 Reply Last reply Reply Quote 0
                          • CadFatherC Offline
                            CadFather
                            last edited by

                            funny stuff, i know what i'm going to do as soon as i have some free time... observe! πŸ€“

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bjornkn
                              last edited by

                              It turns out that it is Twilight that keeps on working in the background all the time, even when SU is minimized.
                              I can't see why that should be necessary?
                              Removing Twilight brings SU back to 0% when idle (except of course when moving the mouse across its window or doing something else inside SU).
                              Anyone else seen this with Twilight?

                              1 Reply Last reply Reply Quote 0
                              • dereiD Offline
                                derei
                                last edited by

                                @bjornkn said:

                                It turns out that it is Twilight that keeps on working in the background all the time, even when SU is minimized.
                                I can't see why that should be necessary?
                                Removing Twilight brings SU back to 0% when idle (except of course when moving the mouse across its window or doing something else inside SU).
                                Anyone else seen this with Twilight?

                                Were you rendering something? Be aware that the rendering engine still works if you close the render window. You have to stop the render (either stop button, or right click on image and choose to stop after next pass), if you want to end it.

                                DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bjornkn
                                  last edited by

                                  @unknownuser said:

                                  Were you rendering something? Be aware that the rendering engine still works if you close the render window. You have to stop the render (either stop button, or right click on image and choose to stop after next pass), if you want to end it.
                                  No, I'm not rendering anything. If I do the CPU uses 99%. Just an empty scene, in the background or even when minimized.

                                  1 Reply Last reply Reply Quote 0
                                  • CadFatherC Offline
                                    CadFather
                                    last edited by

                                    just to clear things up - twilight is %0 on mine...

                                    wonder how many people have the same plugins settings in the entire planet..

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      @unknownuser said:

                                      @cadfather said:

                                      (perhaps something to do with observers)

                                      I was writing a response having this thought, but I deleted it, when you posted yours πŸ˜„ . I'm inclined to think the same... maybe there are plugins that have observers active for watching the cursor position, or chanve view, edit/create/delete geometry... and maybe that ones are using so much CPU

                                      There are no observers for cursor positions.

                                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • CadFatherC Offline
                                        CadFather
                                        last edited by

                                        ..maybe it isn't cursor position but it still affects the mouse movement?

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          Could be validation procs for menus and toolbars ... they seem to trigger very often.

                                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • CadFatherC Offline
                                            CadFather
                                            last edited by

                                            sounds like a good lead, it's a bit like they greying context menus..

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement