Processor Threads
#1
Hi, I´m wondering, is there a limit of processor threads where Tyflow wont scale in performance anymore? I mean, if for some reason someone is able to build a 192 cores / 384 threads monster machine with multiple processors, will Tyflow work that much faster comparing to 32 cores processors? I´m not expecting a linear 6x faster, but maybe 4 times faster?

Thanks in advance.
  Reply
#2
There's no limit, but performance will drop off once RAM speed/bus speed becomes the bottleneck. Also depending on your CPU it will drop off once all performance cores are used and efficient cores start kicking in.

For example, on my 13900k, which has 24 cores and 32 processors (8 performance cores w/hyperthreading and 16 efficient cores), performance starts to plateau once more than 16 threads are used. It doesn't drop off completely, but where 16 threads perform roughly twice as fast in some scenarios as 8 threads, 32 threads might perform something like 1.25-1.5x faster than 16.

Once you extrapolate to extreme core/thread counts, I imagine there's not much performance to gain at all - in fact you might even find that performance degrades.

Another thing to note is that tyFlow itself internally schedules thread usage based on difficulty of work, and will try to use an optimal number of threads per task, rather than the max number. You can disable this in the tyFlow CPU settings (disable threading hints), but doing so almost always leads to performance degradation. For any given simulation, you'd have to simulate about 30 million particles before the thread hinter would use 384 processors.
  Reply


Forum Jump: