← 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

    Status: Answered => Solved

Giulia Macaro confirmed that the question is solved:
Sorry, maybe I didn't explained myself correctly. The machine has 32 CPU
when HyperThreading is enabled, 16 CPU when HT is disabled. So I should
be able to use to -j16 even when HT is disabled, right?

Summarizing, using the trunk [1], I've got:

Test #1 openblas installed, HT enabled
yade-Unknown -j16 --performance
Common time  1296.36890388 s
SCORE: 6332
Number of threads  16
only 1 CPU is used at 100%, the others  31 are free

Test #2 openblas installed, HT disabled, os.system("taskset -p 0xff %d" % os.getpid()) added to the script
yade-Unknown -j16 checkPerf.py  
Common time  586.632955074 s
SCORE: 15187
Number of threads  16
8 CPU are used at about 30-50%, 8 are free

Test #3 openblas uninstalled, HT disabled
yade-Unknown -j16 --performance
Common time  615.584682941 s
SCORE: 13186
Number of threads  16
16 CPU are used at about 30-50% (one of them sometimes is used up to 60 or 70%)

I don't understand why, but it seems that test #2 is faster than #3, or
maybe it's just a coincidence .  I'm happy with both.

Thank to you all for your help
Giulia

[1]
https://github.com/yade/trunk/tree/f60e0c0315595842c853a0f154121a5d4e1449a2

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