Perform multicore performance test took only 1 core to work

Asked by Hien Nguyen

Hello,

I have Yade-1.07.0 which I compiled from source. I want to test its performance up to 3 cores by running
yade-1.07.0 -j3 --performance
and in the same time I look at system monitor, I found that from beginning to the end, only one core is used for this performance test (I have 8-core PC). (See attached image: http://i.imgur.com/XtYzL4o.png)

System info:
Ubuntu 12.04 64 bit
Yade 1.07.0 compiled normally (OpenMP successfully included)
bogomips : 4789.08
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
stepping : 3
microcode : 0x12
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
----------------------------------

Did I do the right thing? I also see there is --threads/--cores syntax, how to use them?
And then how to correctly perform a multicore performance check with Yade?

Thanks in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

https://bugs.launchpad.net/yade/+bug/1304878
can be your case.

Anton

2014-04-29 11:21 GMT+02:00 Hien Nguyen <email address hidden>:
> I have Yade-1.07.0 which I compiled from source. I want to test its performance up to 3 cores by running
> yade-1.07.0 -j3 --performance
> and in the same time I look at system monitor, I found that from beginning to the end, only one core is used for this performance test (I have 8-core PC). (See attached image: http://i.imgur.com/XtYzL4o.png)
>
> System info:
> Ubuntu 12.04 64 bit

Revision history for this message
Jérôme Duriez (jduriez) said :
#2

A simple way to solve this, (if, as I also think, Anton's suggestion holds in your case) is to compile with DLINSOLV=OFF

Can you help with this problem?

Provide an answer of your own, or ask Hien Nguyen for more information if necessary.

To post a message you must log in.