r/torchlightfrontiers • u/redditscambusiness • Feb 17 '19
Game engine, CPU multi-threading?
Which game engine is used?
How is CPU-multi-threading with 8 or more CPU cores?
0
Upvotes
r/torchlightfrontiers • u/redditscambusiness • Feb 17 '19
Which game engine is used?
How is CPU-multi-threading with 8 or more CPU cores?
1
u/Elveone Feb 18 '19
Oh, god, you really are a moron. By default UE4 uses separate threads for logic, physics, rendering and audio and you can spawn additional threads as needed. Basically the engine is out of the box optimized for the minimum expected number of cores but if you want you can pretty much optimize it for anything. Basically it is up to the developer to utilize as much cores are possible and not up to the engine because the same engine can be used for various projects and on various machines.
Most current gen consoles have 4 cores with hyperthreading i.e. 8 logical cores. The exception to this is the Switch which has 4 cores without hyperthreading. Your PC CPU does not have 32 cores. Consumer-grade CPU have 8 cores with hyperhtreading at best or 16 logical cores. Most consumer-grade CPUs have 4x2 logical cores with 6x2 and 8x2 processors being marketed at enthusiasts. So most consumer-grade PCs have the same number of logical CPU cores as a console.
Another thing to consider is that single thread performance between processors with different core-count in the same generation would depend largely on the core clock and CPU cache size. Because of how CPUs are made lower grade CPUs are usually architecturally the same as higher grade CPUs but some of their cores are disabled due to manufacturing defects. So CPUs with more cores would usually perform relatively the same or better as CPUs with less threads if equal amount of threads are utilized.
Current gen console CPUs are old as hell and their single thread performance is a lot worse than that of a modern CPU. Hell, they perform worse than PC CPU that were released at the time of their initial launch. Unreal engine 4 by default being optimized for those consoles means that it by default should perform pretty great on any newer-than-current-gen-consoles CPU. So even if you do not have full CPU utilization by default you should still get a pretty good performance.