sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    Faster Autosave!

    已排程 已置頂 已鎖定 已移動 SketchUp Feature Requests
    sketchup
    30 貼文 11 Posters 19.4k 瀏覽 11 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • N 離線
      numerobis
      最後由 編輯

      I don't get it... Why is the autosave so incredible slow?!? it's much slower than a normal save.

      This is really quite annoying especially with bigger files... right now i'm working on a file that has ~100MB and every autosave takes nearly 1 min!
      it's the same with small files - i have tested this with a file that normally saves in 1 second - the autosave need 10-15s!!!

      (sketchup v7 / win7x64)

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 離線
        TIG Moderator
        最後由 編輯

        So... why not disable autosave completely and manually save before every major change or 5 minutes, OR set autosave to have a considerable time gap, so that you do get some autosaved versions for the occasions when it all goes terribly wrong and splats... and you haven't done a manual save lately...
        Also remember to 'Purge' unused dross, so that you aren't saving something that's twice the size it needs to be, and also occasionally run the 'Fix' tool in case there's so tangled data in the database tripping things up...

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • N 離線
          numerobis
          最後由 編輯

          yes... sure, i can do this - but the question for me is: Why has it to be soooo sloooow?!?
          i can't see any reason why it should be noticable slower than a normal save.

          and compared to other 3d apps like 3dsmax the normal saving is very slow too...

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            Clearly these ARE issues that need addressing by Google... I was simply proffering a 'fix' for now...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • N 離線
              numerobis
              最後由 編輯

              thanks! 😄 😉

              1 條回覆 最後回覆 回覆 引用 0
              • N 離線
                numerobis
                最後由 編輯

                btw. ...the other joke is, that the autosave function only seems to be active if you are working on the model.
                when i have sketchup open but work for some time in another program and come back to sketchup, after the first click in the model the autosave starts...
                THIS is very annoying! Why can't this be done when i'm not working on model?!? There has been much time to do the saving before i came back! 😒

                1 條回覆 最後回覆 回覆 引用 0
                • dereiD 離線
                  derei
                  最後由 編輯

                  Indeed the autosave function would need some tweaking... at times, my sketchup crashes and I could not figure a pattern, because making same commands later on did not crashed the program.
                  I have reasons to suspect that if autosaving and some resources-consuming operations are happening at the same time, it might crash SU.

                  DESIGNER AND ARTIST DEREI.UK

                  1 條回覆 最後回覆 回覆 引用 0
                  • jgbJ 離線
                    jgb
                    最後由 編輯

                    I too found autosave annoyingly slow. And I also found in V8, it is faster than it used to be, but manual save seems faster than autosave.

                    I brought this up a very long time ago, and also suggested a possible fix to speed it up dramatically.

                    UNDO has a stack of 100 operations (I counted). That has got to be a whole lot smaller than the model file.
                    SU should create the Autosave file from the UNDO stack, by user specified (short) time interval as is done now, and when the stack nears 100 (or XX) operations. The Autosave UNDO file just keeps building till the next manual save.
                    A manual save clears the Autosave UNDO file.
                    Then if SU abends, the recovery is to apply the Autosave UNDO file to the last saved file, but in reverse, as a "REDO".
                    That way almost all the work is recoverable and the autosaves should be almost unnoticeable.


                    jgb

                    1 條回覆 最後回覆 回覆 引用 0
                    • jbacusJ 離線
                      jbacus
                      最後由 編輯

                      @jgb said:

                      I too found autosave annoyingly slow. And I also found in V8, it is faster than it used to be, but manual save seems faster than autosave.

                      It would be great if you guys could help to quantify this– in our lab (and in the code) 'save' and 'autosave' are expected to take the same time. With a couple caveats:

                      1. If you have "Automatically check models for problems" and "Automatically fix problems when they are found" enabled in "Preferences > General > Check Models for Problems" you may experience differences depending on the validity state of the model.

                      2. Autosave always happens when you aren't expecting it. Doesn't matter how you've set the timer, it just won't sync with your mental state while modeling.

                      If you feel like Autosave takes longer than Save, try timing it to see if you're right. It would be useful data for us to have.

                      john
                      .

                      "...exaggerate the essential and leave the obvious unclear." --Vincent Van Gogh

                      John Bacus
                      jbacus@sketchup.com

                      1 條回覆 最後回覆 回覆 引用 0
                      • kenK 離線
                        ken
                        最後由 編輯

                        Try this plugin by TIG. I set my autosave to 30 minutes and use the archiver.rb plugin. So a search and check it out, it is fast.

                        Ken

                        Fight like your the third monkey on Noah's Ark gangway.

                        1 條回覆 最後回覆 回覆 引用 0
                        • Bob JamesB 離線
                          Bob James
                          最後由 編輯

                          Archiver
                          http://rhin.crai.archi.fr/rld/plugin_details.php?id=20

                          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                          1 條回覆 最後回覆 回覆 引用 0
                          • jbacusJ 離線
                            jbacus
                            最後由 編輯

                            @unknownuser said:

                            Try this plugin by TIG. I set my autosave to 30 minutes and use the archiver.rb plugin. So a search and check it out, it is fast.

                            Ken

                            This looks like a tool that is similar to SketchUp's existing "Save A Copy As...", though it automatically names the file for yu so you don't have to navigate a dialog. Are you saying that this script saves large SketchUp models faster than a simple "Save" operation?

                            john
                            .

                            "...exaggerate the essential and leave the obvious unclear." --Vincent Van Gogh

                            John Bacus
                            jbacus@sketchup.com

                            1 條回覆 最後回覆 回覆 引用 0
                            • mitcorbM 離線
                              mitcorb
                              最後由 編輯

                              This may be off topic, but related. I rarely get a fix report in Validity Check. Maybe I ain't mean enough. Should Validity problems be a frequent occurrence? How frequent?
                              Moderator, feel free to move this.

                              I take the slow, deliberate approach in my aimless wandering.

                              1 條回覆 最後回覆 回覆 引用 0
                              • kenK 離線
                                ken
                                最後由 編輯

                                @jbacus said:

                                @unknownuser said:

                                Try this plugin by TIG. I set my autosave to 30 minutes and use the archiver.rb plugin. So a search and check it out, it is fast.

                                Ken

                                This looks like a tool that is similar to SketchUp's existing "Save A Copy As...", though it automatically names the file for yu so you don't have to navigate a dialog. Are you saying that this script saves large SketchUp models faster than a simple "Save" operation?

                                john
                                .

                                I can select the archiver selection and go back to work as fast as the mouse can move to another tool. It is quick.

                                Ken

                                Fight like your the third monkey on Noah's Ark gangway.

                                1 條回覆 最後回覆 回覆 引用 0
                                • TIGT 離線
                                  TIG Moderator
                                  最後由 編輯

                                  I was asked ages ago to set up a timer to remind you to archive every 10 minutes BUT it's annoying to get dialogs popping up in the middle of something and reworking it to be automatic AND wait until you've stopped some complex operation is also making it into just the bastard-child-of-AutoSave ???

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • jbacusJ 離線
                                    jbacus
                                    最後由 編輯

                                    @unknownuser said:

                                    I can select the archiver selection and go back to work as fast as the mouse can move to another tool. It is quick.

                                    Well, I've looked at the code, and it looks like it is doing a "model.save" to do the actual archiving operation. Which is the same code path that SketchUp executes from the File menu. Not sure why that would be faster.

                                    TIG: Can you explain what your script is doing differently?

                                    john
                                    .

                                    "...exaggerate the essential and leave the obvious unclear." --Vincent Van Gogh

                                    John Bacus
                                    jbacus@sketchup.com

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Bob JamesB 離線
                                      Bob James
                                      最後由 編輯

                                      I did a Save on one of my large models and it took 90 seconds. I then made a copy of the file, opened it and uses Archiver: it took 80 seconds.

                                      I guess I don't see much advantage of Archiver over a regular Save.

                                      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • TIGT 離線
                                        TIG Moderator
                                        最後由 編輯

                                        Archiver simply uses the model.save(name) API method to save a 'tmp' snapshot of the SKP at that second, it then copies it to an 'Archives' subfolder, renaming it with an additional date-stamp etc and erases the tmp version.
                                        It shouldn't make any significant difference to the built-in autosave timings - it even has to copy/delete the file into the subfolder too... however, it does seem a little quicker 😕

                                        TIG

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • jbacusJ 離線
                                          jbacus
                                          最後由 編輯

                                          As I said earlier in this thread, "Check Validity" (if enabled in preferences) can cause a save to take longer. If a model is checked for invalid geometry, then that geometry is fixed... it doesn't have to be fixed again the next time you save a model. This might account for a small difference in save speed (~10%) between successive operations.

                                          My guess is that optimization of the rendering pipeline has allowed you to work on increasingly large models (Bob: 80-90s save times! How large is your model?) and you're now beginning to feel a new performance bottleneck. Of course, there will always be a performance bottleneck somewhere in the system.

                                          john
                                          .

                                          "...exaggerate the essential and leave the obvious unclear." --Vincent Van Gogh

                                          John Bacus
                                          jbacus@sketchup.com

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • thomthomT 離線
                                            thomthom
                                            最後由 編輯

                                            @jbacus said:

                                            My guess is that optimization of the rendering pipeline has allowed you to work on increasingly large models

                                            Yup - I find working on 500K face models and more without much trouble. It's usually depending on transparency use and textures.
                                            👍 👍

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement