← 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

Giulia Macaro posted a new comment:
Sorry Christian, I've seen  your reply after I had sent mine.

I've added os.system("taskset -p 0xff %d" % os.getpid()) to the top of the checkPerf.py script and run it again with the trunk version.
Openblas is still installed, but now HyperThreading is disabled.  

Before:
yade-Unknown -j16 --performance
Common time  1296.36890388 s
SCORE: 6332
Number of threads  16

Now (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

Definitely better!  But still only 8 out of 16 CPU are used, between 30 and 50%.  Instead 8 cores were never used for the entire time that yade was running.
Is there anything else I could do?

Thanks

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