in reply to Problem in RAM usage while threading the program

Simplistically you don't get any advantage with computation bound tasks that use more threads than there are cores in the processor. For typical high end processors that will be between 8 and 16 threads.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: Problem in RAM usage while threading the program

Replies are listed 'Best First'.
Re^2: Problem in RAM usage while threading the program
by bliako (Abbot) on Dec 20, 2019 at 08:33 UTC

    that's an interesting poing because there are already supercomputers which offer unified Terrabyte-RAM and hundreds of processors. E.g. SGI's Altix UV (also the OP probably uses such a machine). And was wondering whether in such a case you approach this as one solid CPU (easy) or as multiple cores and minimise data sharing.