← Back to team overview

yade-users team mailing list archive

Re: [Question #692945]: How many threads should be selected to achieve the best speed?

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
As for 1, the "2 threads per core" idea assumes hyperthreading, which is
hardware-dependent.

I tend myself to see "thread" and (logical, if hyperthreading is
enabled) "core" as interchangeable, assuming that the user will never
launch an OPENMP simulation deploying more threads than there are cores
available.

This being said, I'd be curious about more details regarding possible
differences between the --cores and -j / --threads options, when
deploying such an OPENMP simulation. Note that the doc in yade* -h
ssuggests --cores include an extra assignment of affinity, with respect
to -j / --threads.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.