← Back to team overview

yade-users team mailing list archive

Re: [Question #279270]: Problem with efficiency

 

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

    Status: Open => Answered

Anton Gladky proposed the following answer:
Hi Nastya,

I am not able to reproduce the problem. There is a comparison in 1-Thread
mode:

a) Small case:
================
TCP python prompt on localhost:9000, auth cookie `sycsed'
Welcome to Yade 1.12.0
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  444.798422395
Name
Count                 Time            Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter                                      1000
10191us                2.00%
InsertionSortCollider                                 4
24270us                4.76%
InteractionLoop                                    1000
295811us               58.02%
PyRunner                                              0
0us                0.00%
NewtonIntegrator                                   1000
179569us               35.22%
TOTAL
509842us              100.00%

real    1m32.913s
user    1m32.856s
sys     0m0.128s
================
================
TCP python prompt on localhost:9000, auth cookie `scsuka'
Welcome to Yade 2015-12-16.git-8d837d1
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  444.798422302
Name
Count                 Time            Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter                                      1000
9492us                1.87%
InsertionSortCollider                                 4
17902us                3.53%
InteractionLoop                                    1000
301487us               59.45%
PyRunner                                              0
0us                0.00%
NewtonIntegrator                                   1000
178256us               35.15%
TOTAL
507140us              100.00%

real    1m30.711s
user    1m30.704s
sys     0m0.096s
================

b) Large case:
================
TCP python prompt on localhost:9000, auth cookie `kcsade'
Welcome to Yade 1.12.0
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  496.138472947
Name
Count                 Time            Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter                                      1000
76792us                1.21%
InsertionSortCollider                                 4
317825us                5.02%
InteractionLoop                                    1000
4268519us               67.38%
PyRunner                                              0
0us                0.00%
NewtonIntegrator                                   1000
1672283us               26.40%
TOTAL
6335421us              100.00%


real    3m23.575s
user    3m23.544s
sys     0m0.216s
================
TCP python prompt on localhost:9000, auth cookie `yeksud'
Welcome to Yade 2015-12-16.git-8d837d1
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  496.138472945
Name
Count                 Time            Rel. time
-------------------------------------------------------------------------------------------------------
ForceResetter                                      1000
79881us                1.23%
InsertionSortCollider                                 4
314319us                4.84%
InteractionLoop                                    1000
4373225us               67.34%
PyRunner                                              0
0us                0.00%
NewtonIntegrator                                   1000
1726648us               26.59%
TOTAL
6494074us              100.00%

real    3m32.254s
user    3m32.236s
sys     0m0.224s
================

================================================================

Tests were done without qt and export to VTK. Please check,
whether you compiled 1.20 in release, not in debug mode.

Best regards

Anton

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