-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.8.0] Startup time approx 60s (restart time 21s) - seems very slow #9139
Comments
On a "first" boot (eg; a complete new install of Cura), it creates cache files for the various machine definitions. It's almost like it's doing that for every boot (hence it being a lot faster the second time starting it right after the previous one). Could you have a look if the cache files are present? |
I have observed this for months. Versions 4.6, 4.8 and even the new alpha. I just assumed Cura was slow to load, but I have to admit it's a bit annoying since programs like MS Office and other multimedia apps open considerably faster. |
I only have logs from you running 4.6 where it's super slow. (70+ seconds to load all the profiles). This should be faster with 4.8. Could you provide me with a set of (clean) logs of a single 4.8 boot? |
Thanks for your reply.
What do you mean by clean logs? I can give you the date times of the two
boots in that log if that helps.
…On Tue, 19 Jan 2021, 10:19 Jaime van Kessel, ***@***.***> wrote:
I have observed this for months. Versions 4.6, 4.8 and even the new alpha.
I just assumed Cura was slow to load, but I have to admit it's a bit
annoying since programs like MS Office and other multimedia apps open
considerably faster.
I only have logs from you running 4.6 where it's super slow. (70+ seconds
to load all the profiles). This should be faster with 4.8.
Could you provide me with a set of (clean) logs of a single 4.8 boot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFUZP6BFXYLSCKJ2BZNKXLS2VMBRANCNFSM4WGEVP5A>
.
|
@terryspitz You can delete the log files and run Cura again from scratch, that way it will be less cluttered and easier to read for us. |
Still, it's particularly slow for him. I don't have an SSD, just a hard disk, and for me Cura starts in just over 6 seconds. I have 7 printers added to Cura at the moment. A log file of Cura 4.8 would be very useful. Then we can see what it's spending so much time on. The log file from 4.6 isn't all that useful any more due to the performance optimisations made in 4.7. |
Clean startup log attached from today, startup after reboot took >30s. note log file says loading metadata took 29s: 2021-01-30 13:40:33,042 - DEBUG - [MainThread] UM.Settings.ContainerRegistry.loadAllMetadata [361]: Loading metadata into container registry took 29.157631874084473 seconds |
Okay, so for you the loading of container metadata is 29s out of 54s, just over half of the start-up time. While in Oliof's ticket it only takes 0.5s out of 10.5s, which is more like 5%. On my computer today it takes 0.9s out of 3.0s total (like 1/3rd), though already having launched Cura earlier today the files will largely be in RAM. Interesting how widely different that can be between different systems. |
My Cura 4.8, on an ssd, takes 40s to load. 2 Machines configured. |
I have the same issue on Cura 4.10 and the developer version of Windows 11. It takes 1-2 minutes for Cura to open. Other apps open quickly. |
@MatixYo; If you want to provide us with more info, please also post log files. Just stating that it also happens for you doesn't really help us much. |
It shouldn't, no. On my machine it takes 1.6 seconds to load all plugins and 1.23 seconds to load all metadata. (vs 8.2 and 64 on your system) |
I have been having this issue for months and in fact I commented myself in January. |
On Windows 10 Cura launched quickly. Now besides installing Windows 11 I also have WSL enabled (but all instances off). |
I’m having significant delays running 4.10.0. I erased my cura.log before doing this so my attached cura.log will be clean and only show the two startups that I did for comparison. I found that running Cura as an administrator is a workaround for the slow behavior. So I’ve run two scenarios for comparison: In cura.log, look at first startup, specifically these entries There were 150 ms between these two entries. The second time, [I think] the same sequence is: Which took 16 minutes. Now that I know this, I can run Cura as an administrator as a workaround. I need to do this because it isn’t just startup that is slow, its any action involving preferences including looking at profiles or managing materials. |
Is this still an issue in current Cura versions (5.8.0 and up)? Can this be closed? |
Application version
(The version of the application this issue occurs with.)
4.8.0
Platform
(Information about the operating system the issue occurs on. Include at least the operating system and maybe GPU.)
Windows 10, SSD, HP Spectre laptop
Printer
(Which printer was selected in Cura?)
Prusa i3 Mk2
Reproduction steps
Screenshot(s)
(Image showing the problem, perhaps before/after images.)
n/a
Actual results
(What happens after the above steps have been followed.)
Takes ages to start - all in the splash/loading progress screen.
The first time, it seems to spend significant time in 'loading machines'
Expected results
(What should happen after the above steps have been followed.)
Loading within maybe 5s?
Project file
(For slicing bugs, provide a project which clearly shows the bug, by going to File->Save Project. For big files you may need to use WeTransfer or similar file sharing sites. G-code files are not project files!)
No project loaded.
Log file
(See https://github.com/Ultimaker/Cura#logging-issues
to find the log file to upload, or copy a relevant snippet from it.)
cura.log
note lines
"2021-01-17 14:14:17,128 - DEBUG - [MainThread] cura.CuraApplication.run [833]: Booting Cura took 63.29980945587158 seconds" and
"2021-01-17 14:14:02,055 - DEBUG - [MainThread] UM.Settings.ContainerRegistry.loadAllMetadata [361]: Loading metadata into container registry took 37.040995597839355 seconds"
Additional information
(Extra information relevant to the issue.)
The text was updated successfully, but these errors were encountered: