← Back to team overview

yade-users team mailing list archive

Re: [Question #688575]: The speed of run is too slow ! What are the ways to run the code faster?

 

Question #688575 on Yade changed:
https://answers.launchpad.net/yade/+question/688575

    Status: Answered => Open

ehsan benabbas is still having a problem:
Thank you Bruno for you answer and a special thanks for [1]. As I
already run the original code (the one that I postet above with 20000
particles) and my PC was engaging with that, I just defined I new one
with the parameters as [1] and run this code while the previous one was
running at the same time.

[1] https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-
tutorial/script-session1.py


Name                                                    Count                 Time            Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter                                    71000          2434809.955us                   0.55%      
InsertionSortCollider                      48793           302790858.018us              68.68%      
InteractionLoop                                71000          65393251.802us                14.83%      
GlobalStiffnessTimeStepper        890               195757.733us                      0.04%      
TriaxialStressController                 71000          6225534.471us                    1.41%      
"macro_recorder"                            709               366551.038us                      0.08%      
TriaxialStateRecorder                    710               303926.099us                      0.07%      
NewtonIntegrator                          71000           63175600.748us                14.33%      
TOTAL                                                                        440886289.864us              100.00%  


Base on this table, "InsertionSortCollider" takes the most time with almost 69%, then  "InteractionLoop" and  "NewtonIntegrator" each of those with almost 15%.

I will be really appreciated if you let me know your opinion. Is this
related to my hardware, Yade implementation,  or Your script? or a
combination of those. What do I do to improve the running speed?

Thank you,
Ehsan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.