ArivenGemini wrote:
Autenil wrote:Seiden wrote:Thank you.
You're welcome
Currently, only the animation system is threaded for multicore support but I plan to add additional CPU-bound systems in future updates.
Is there an upper cap on the number of cores it supports?
Currently, we only spin up one other helper thread if you have more than one CPU. This means that
right now on Test the game generally maxes out its potential on dual-core machines. There's a few reasons for this:
- The transition to multi-core support is very complicated and will most certainly be done incrementally.
- Multi-threaded code requires a lot of synchronization and I don't want to reduce performance on single-core machines
- On my dual-core development machine, the game has used a maximum spike of about 30% of my second core. Adding more cores into the mix while the second core is still under-utilized just degrades your system performance for no reason.
I'm definitely very excited about this change and will keep working on making the additional core support take over more of the CPU-bound part of the engine as well as look into supporting more than dual-core.
LINK