← Back to team overview

yade-users team mailing list archive

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

 

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

Anton Gladky proposed the following answer:
Hi Giulia,

2014-02-26 19:16 GMT+01:00 Giulia Macaro <question244634@xxxxxxxxxxxxxxxxxxxxx>:
> 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.

well, using "virtual" cores for intensive processes can slow down the
performance. Usually I switch off HyperThreading for machines, which
suppose to be used for Yade and any other DEM software.

> 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.

Please, show your CMakeCache.txt

Anton

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