Announcement

Collapse
No announcement yet.

Can someone plz tell me - why the more threads I use, the slower water simulation is ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can someone plz tell me - why the more threads I use, the slower water simulation is ?

    From my experience, old 6-core can't be faster than 22-core, except maybe in single threaded ops. So, I was kinda surprised - 6-core 5820 is faster when solving watery stuff, than 22-core. Sometimes, twice faster, sometimes 50%. But is always faster, until me starting to limit the threads phx allowed to use.

    After spending 12-hours to simulate with different threads, I found this:

    max threads = 0 (default and it is 44-threads) 1.05mvox to 1.67mvox after wetmap starts to dry (so I can see wetmap particles amount starts to get lower)
    max threads = 4 0.72mvox to 0.76mvox
    max threads = 8 1.10mvox to 1.30mvox
    max threads = 12 1.27mvox to 1.69mvox
    max threads = 16 1.36mvox to 1.82mvox
    max threads = 20 1.36mvox to 1.96mvox
    max threads = 24 1.24mvox to 1.84mvox
    max threads = 28 1.21mvox to 1.85mvox

    So, the fastest is 20-threads, the slowest is 44 and 4.

    And just 5820 results:
    max threads = 0 1.49mvox to 2.10mvox

    The only thing came to my stupid brains - smth is very single threaded, because 5820@3.4Ghz (uncore 3.6), while my xeon 2699v4@2.4Ghz (uncore 2.6).

    Also, smoke simulations are fine - the more threads you gave the faster it will be. In houdini, my xeon is 3.5 times faster, than 5820, when simulating lava.

    P.S. Phx scene uses: wetmap/air effects, SPF=4, grid is about 15mill, water is 7mill, wetmap 150K at highest. Hope, you'll gonna find bottleneck in your watery stuff. I send svetlin logs from 6-core and my xeon. Hope, they help.
    Last edited by Paul Oblomov; 28-07-2018, 03:28 AM.
    I just can't seem to trust myself
    So what chance does that leave, for anyone else?
    ---------------------------------------------------------
    CG Artist

  • #2
    Got the logs, but I'll need more info:
    - Do you have any other particle systems like foam or splash, or it's just the liquid and the wetmap?
    - Does the sim still not scale correctly if you disable surface tension?
    - In general, try turning off all additional features 1 by 1 until is starts to work okay - then you'd know which part of the simulation does not scale well. Try turning off wetting first after you check the surface tension.
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      If you keep a log from each of these 8 runs, it would also help to very quickly figure out the problem.
      Svetlin Nikolov, Ex Phoenix team lead

      Comment

      Working...
      X