Hi,
I am working on a complex virtual world simulation, and I am also planning to build a new PC sometime before the end of the year (Once the 3080TI’s and the next gen of Ryzen comes out).
One of the main bottlenecks with my current project is instantiate and loadasync. I have a lot of paging in and out of complex scenes, etc, and I am looking for ways to alleviate this.
Obviously, the main thing would be a good CPU, so the successor to the 3950x (4950x?) coming out this year would be a good start (Even though instantiate is single-threaded, the 3950x has similar single core performance to a comparable Intel CPU, but has far better multi-threading support).
However, I have some other questions about how instantiate and loadsceneasync actually work with different types of hardware.
For example, will these two functions be faster on a fast SSD compared to a slow SSD, or a HDD? The ryzen 3950x has 20 CPU lanes, so I coud use 16 for the graphics card, and 4 for a dedicated SSD, would this speed up asset loading and instantiation, our would the CPU be the bottleneck?
Secondly, can Unity support 128GB’s of RAM? Could I load a large number of complex assets into RAM at load time, to prevent having to instantiate them at all, or is there some hard limit in Unity that would prevent it from doing this?
I know there is a “bug” or known issue with a single scene being over 4GB (due to 32-bit floating point accuracy) but splitting each scene into smaller ones (under 4GB) and loading them one at a time seems to solve this. However, is there some other issue with loading assets into RAM, or is the amount of RAM on the system the only limiting factor?
Finally, what about RAM Disks? Would instantiate/loadscenasync be noticeable faster if the build was running from a RAM Disk, or again, would the CPU be the limiting factor?
Just to clarify, I am not planning to release a game that requires 128GBs of RAM or a RAMdisk to play, I somehow doubt the majority of games have this kind of hardware, this is a concept project.
Thanks for any advice!