← Back to team overview

yade-dev team mailing list archive

Re: parallel collider - testing needed

 

There is apparently a problem with your computer/compilation option/other?
If you run an ordinary simulation with -j4 and many particles do you see
4 cores used?


yes, for normal scripts it is running 4 threads at 4 cores, but --performance assigns all threads to one core it seems...


Is there any difference at all on this machine, between -j1 and -j4?


yes, it is faster at -j1:

number of bodies 200813

Elapsed  69.9356219769  sec
Performance  2.85977295042  iter/sec
Extrapolation on 1e5 iters  9.71328083012  hours
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Name Count Time Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter 200 1069504us 1.53% InsertionSortCollider 7 21301263us 30.46% InteractionLoop 200 29700514us 42.47% NewtonIntegrator 200 17853603us 25.53% TOTAL 69924885us 100.00%

Common time  2067.0501442 s


5037  spheres, velocity= 71.3011948258 +- 0.426132271892 %
25103  spheres, velocity= 18.804595478 +- 1.73479566756 %
50250  spheres, velocity= 10.9461326398 +- 0.367180852894 %
100467  spheres, velocity= 5.45291715221 +- 0.431878602357 %
200813  spheres, velocity= 2.85102513277 +- 0.221541088185 %


SCORE: 3959
Number of threads  1





Follow ups

References