Large designs unable to calculate volume - Printable Version +- Hazeron Forums (https://hazeron.com/mybb) +-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=17) +---- Forum: Prerelease Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=21) +---- Thread: Large designs unable to calculate volume (/showthread.php?tid=2659) Pages:
1
2
|
Large designs unable to calculate volume - jakbruce2012 - 03-06-2022 Large volume designs that worked last universe cause the volume calculation to lock up. This issue seems to appear randomly between 28 million and 30 million cubic meters, and all designs above this will not work. Confirmed on the laptop with 16GB of ram as well as the desktop with 64GB of ram. The desktop can occasionally make it to 31 million without locking up. Ram usage settles out around 10-11GB on each before CPU usage drops to 0%. Also tested this issue using a single hull cube, this also causes the issue when the cube is above 28-20 million cubic meters. Screenshot here of situation, been sitting in this state for about an hour, ram usage gradually decreasing with time from peak usage. No signs of progress in the studio. https://www.dropbox.com/s/63d3dzvj1zweq4l/frozen%20studio.PNG?dl=0 RE: Large designs unable to calculate volume - Rockinsince87 - 03-06-2022 Perhaps this is the effect of the recent update? Quote:Maximum Ship Model Size Reduced RE: Large designs unable to calculate volume - jakbruce2012 - 03-06-2022 (03-06-2022, 08:16 PM)Rockinsince87 Wrote: Perhaps this is the effect of the recent update?Negative. This issue existed in 2021, just before the shutdown. Appeared with the last update of starship. This particular ship was compiled and built ingame just prior to shutdown. I will be testing online at some point as well, just waiting for a day that Haxus is online in case it eats the cluster. RE: Large designs unable to calculate volume - jakbruce2012 - 03-21-2022 Upon further experimentation, across multiple machines there seems to be a trend. Cache size appears to be a factor for maximum calculable volume. My laptop on an i7-7300HQ has 6MB cache, compiles up to approximately 21M cubic meters without crashing. My desktop with i7-6700k has 8MB cache, and compiles up to approximately 28M cubic meters, sometimes 29M if I try a few times. Aa empire member's machine I was working with on this issue has an i7-10700F with 16MB of cache, and was able to get about 42M cubic meters, however they were also runnning an instance of the game at the same time. Question. Is the process for calculating the volume of a craft/building using a recursive algorithm, and what kind of error reporting back to the program do you get if the CPU runs out of stack and or cache to spend on the process? On windows it seems to just lock up, or kick to primeval world if near the limit. From what I heard on discord linux will auto kill the process when it runs out of memory. Does anyone else have CPUs with larger Caches to test with? Been using cubes in the design studio for this so far, centered on the origin. Spheres seemed to perform worse. Has anyone tried refreshing obstructions on a large ship on AMD machine yet? Maybe intel specific issue? RE: Large designs unable to calculate volume - Giovanni - 03-22-2022 I don't know if this data point will help, but with an intel i7-9750H with a 12MB L3 cache, my limit seems to be about 34M cubic meters. I draw a 100 x 1000 x 350 block, comes out to a bit less than 35M cubic meters. That works about 60% of the time. If I increase by 10% and try 100 x 1100 x 350, that has failed every time I tried so far. RE: Large designs unable to calculate volume - QuakeIV - 03-25-2022 Originally Jack theorized there is a recursion depth issue, however I connected to AuSceneClient while it was running with GDB, and it looks more like a thread deadlock issue, all the threads get stuck waiting on mutexes (well, futex underneath calls into QMutex). Its possible that what is really happening is that staying in the cache reduces the odds of the deadlock, but as soon as you get into main memory the delays are such that the deadlock is more likely to happen. This would also explain why the failure to finalize is unpredictable, if some kind of race condition is underlying it. RE: Large designs unable to calculate volume - jakbruce2012 - 03-25-2022 Oh man... you're going to need to show me how to do that some time. That's neat. RE: Large designs unable to calculate volume - QuakeIV - 03-26-2022 Here is the state after it appears to deadlock for reference: Code: (gdb) info threads RE: Large designs unable to calculate volume - Athena - 03-26-2022 It's worse than it was before. I can't calculate designs I made and finalized three weeks ago lmao. RE: Large designs unable to calculate volume - Vhwatgoes - 03-26-2022 I'd like to add on to the OP that even under normal circumstances, calculating volume on large designs can take a prohibitive about of time and require a fair amount of RAM. Also currently, calculating large designs, or performing anything intensive that may hang the app for a few minutes such as a complex jig cut, ejects me into a preview world where I cannot return to the designer, effectively soft-crashing me. |