-
April 28th, 2020, 17:42 #1
Large Module load time - Mac vs Win
I have previously reported on the long delay of opening the sounds window when my sound module is loaded (it contains nearly 25,000 nodes). On my windows machine (very fast CPU, plenty of RAM, and M.2 drive), loading the initial window takes around 9 minutes.
I am getting reports from Mac users that the loading time is significantly shorter on a Mac. I have seen reports of as little as 15 seconds and 20 seconds to load the window and have access to the sound links.For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
April 28th, 2020, 17:49 #2
- Join Date
- Jan 2020
- Posts
- 222
-
April 28th, 2020, 18:38 #3
This is a very interesting development and I'm curious to see what ends up being the issue. The performance on the Mac seems to imply this isn't how things are done in Unity but something else... it would be great if some adjustments to the compiler sequence would resolve the bulk of the performance issues on Windows.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
April 28th, 2020, 18:47 #4
- Join Date
- Jan 2020
- Posts
- 222
-
April 28th, 2020, 19:20 #5
- Join Date
- Jan 2020
- Posts
- 222
I just ran the exact same process (open FGU, click Syrinscape Sounds button in side bar) in both macOS Catalina 10.15.4 and Windows 10 (current update as of April 28, 2020--not sure what it's called) under BootCamp on the exact same computer; a 2019 16" MacBook Pro. All things considered, BootCamp should be faster since the OS won't throttle the CPU like macOS does.
Same computer:
FGU with my dataset on macOS 10.15.4: 15.5 seconds
FGU with the exact same dataset on Windows 10: 4 minutes, 7 seconds
-
April 28th, 2020, 19:22 #6
- Join Date
- Dec 2018
- Posts
- 306
In another thread (sorry, I don't have the link handy) someone mentioned a significant speedup when running FG off of a ramdrive. Especially oddly, they noted that running the PROGRAM DIRECTORY off the ramdrive had a bigger impact than running the data dir... which is not what I would have predicted.
I'm speculating wildly, so take with a grain of salt... but I wonder if certain FG Lua API's (that get hit when loading lists of entities) imply filesystem system calls that are expensive on Windows. I know, for example, accessing the windows filesystem from WSL is also very very slow. Perhaps batching or caching or reading ahead in some fashion could reduce the per-call overhead of such a thing. I watched FGU with procmon and I didn't see huge numbers of FS calls to the program directory to support this theory, though, so... I dunno. Speculation. Certain FS calls being expensive on windows is a relatively well-known thing, though, and might help explain differences in cross-platform performance.
-
April 28th, 2020, 21:20 #7---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
April 28th, 2020, 21:43 #8
- Join Date
- Jan 2020
- Posts
- 222
-
April 28th, 2020, 21:48 #9---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
April 28th, 2020, 21:50 #10
- Join Date
- Jan 2020
- Posts
- 222
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks