← Back to team overview

yade-users team mailing list archive

[Question #244634]: only 1 core working out of 32

 

New question #244634 on Yade:
https://answers.launchpad.net/yade/+question/244634

Hi all,

I'm running  yade-1.07.0 --performance -j on a new Ubuntu machine. The machine has 32 cores (16 virtual), but no matter which number I specify with -j, yade only takes 1 core to run. 
I've checked the CPU usage from system monitor and htop and I can see that it's not always the same processors being used (which means that all the processors are working fine), but only one at the time is working at 100%, most of the others are 0%, and a couple of them are 0.7% and 1.3%.
I've run the same performance script on an old 8 cores machines: the cores are used as specified and, as expected, the velocity increases with the number of cores.

Below there is a summary of these tests.  Could anybody advise on how to run yade on the new machine using its full power?
I've seen other questions performance-related, but I couldn't find anything similar to this issue.

Thank you in advance,
Giulia



Machine 1 (old ) / it works fine
Intel® Xeon(R) CPU E5640 @ 2.67GHz × 8
8 CPUs
Memory 11.7 GB
Ubuntu: Release 12.04 (precise) 64-bit /  Kernel Linux 3.2.0-57-generic / GNOME 3.4.2

Machine 2 (new) / olny 1 core seems working at the time
Intel® Xeon(R) CPU E5-2687W v2 @ 3.40GHz x17 / 64 bit
32 CPUs (16 are virtual)
Memory 31.4 GB
Ubuntu: Release 12.04 (precise) 64-bit /  Kernel Linux 3.8.0-36-generic / GNOME 3.4.2


## Results of --performance on the old machine Intel(R) Xeon(R) CPU E5640  @ 2.67GHz

yade-1.07.0 -j1 --performance
Common time  1389.45050001 s
5037  spheres, velocity= 125.799228104 +- 1.52772418216 %
25103  spheres, velocity= 28.9268893841 +- 0.510281906599 %
50250  spheres, velocity= 15.9864885854 +- 0.582186599054 %
100467  spheres, velocity= 7.71756071881 +- 0.400700983169 %
200813  spheres, velocity= 3.60527053462 +- 0.310832434277 %
SCORE: 5725
Number of threads  1

yade-1.07.0 -j8 --performance
Common time  620.396820068 s
5037  spheres, velocity= 363.525394157 +- 2.72140610901 %
25103  spheres, velocity= 80.2610529507 +- 2.35910533497 %
50250  spheres, velocity= 47.2758417432 +- 4.3916214886 %
100467  spheres, velocity= 19.2129707502 +- 1.7208684811 %
200813  spheres, velocity= 5.58733961405 +- 1.23165788091 %
SCORE: 13726
Number of threads  8


## Results of --performance on the new machine Intel(R) Xeon(R) CPU E5-2687W v2 @ 3.40GHz

yade-1.07.0 -j1 --performance
Common time  871.648841143 s
5037  spheres, velocity= 295.422026681 +- 0.416290310199 %
25103  spheres, velocity= 56.762693143 +- 1.45726512833 %
50250  spheres, velocity= 23.7654025741 +- 3.98224463713 %
100467  spheres, velocity= 10.6473000078 +- 5.70659574497 %
200813  spheres, velocity= 4.21643107685 +- 3.74878965824 %
SCORE: 9324
Number of threads  1

yade-1.07.0 -j8 --performance
Common time  1122.72606897 s
5037  spheres, velocity= 248.66921616 +- 1.98257836461 %
25103  spheres, velocity= 36.4171758275 +- 0.844364282616 %
50250  spheres, velocity= 17.7421461687 +- 0.697983811877 %
100467  spheres, velocity= 7.73796960009 +- 0.234968825707 %
200813  spheres, velocity= 3.90143697482 +- 0.319931658112 %
SCORE: 7357
Number of threads  8

yade-1.07.0 -j16 --performance
Common time  1289.34548903 s
5037  spheres, velocity= 207.32705816 +- 6.84440463266 %
25103  spheres, velocity= 29.1056690559 +- 0.822705740909 %
50250  spheres, velocity= 15.420028786 +- 0.554940089439 %
100467  spheres, velocity= 6.96559887171 +- 1.15558114547 %
200813  spheres, velocity= 3.57708909046 +- 0.315812926686 %
SCORE: 6343
Number of threads  16

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.