So if I understand it correctly it is beneficial to have up to 4 cores, after that there is no added benefit.
There is, it just gets less and less. So 2nd core gives 50% speed boost, next one you might be down to 20% extra, then 10% extra etc because the overhead increases and there is only so much stuff that can actually run in parallel.
I meant in theory.
I mean, surely if you just keep adding cores forever things would start to go wonky.
Or could HOI4 use all the thousands of cores on a magical alien supercomputer?
Well, the most you could split it up would be one core per country AI. So something like 100 cores. But that might not necessarily be faster than say 16 cores. At some point the overhead of managing the cores takes more time than adding an extra core to do processing.
Generally we make code that runs as fast as it needs to run on the target platform. I don't see why any gamer should care unless they are programmers and interested in the technology.
And lastly, you have to make the distinction between real cores and hyperthreading. Hyperthreading may seem to give you more cores, but it really doesn't. It uses a trick.
yeah, hyperthreading is generally shit. Our threading code doesnt usually use that much it because its not really faster