← Back to team overview

yade-dev team mailing list archive

Re: parallel collider - testing needed

 

I can confirm this behavior fort he performance test  at my machine.
I'm not sure whether it is  caused by the way I start the compiled yade:
after running  "make install" in my build folder I start yade using "python yadeparallel -j4 --performance" in the ./install/bin folder. "parallel" is the DSUFFIX I added in cmake.
I will now try to run some other script (martin-niehoff's dynamic simulation) using an equal command.


-----Ursprüngliche Nachricht-----
Von: Yade-dev [mailto:yade-dev-bounces+alexander.eulitz=iwf.tu-berlin.de@xxxxxxxxxxxxxxxxxxx] Im Auftrag von Christian Jakob
Gesendet: Mittwoch, 26. Februar 2014 08:54
An: yade-dev@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Yade-dev] 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




_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Follow ups

References