GSoC openMP task scheduling Advice
Tobias Burnus
burnus@net-b.de
Tue Apr 30 07:59:00 GMT 2013
guray.ozen wrote:
> I thought gcc tasks/threads waiting too much on the idle than intel
> compiler's threads.
Regarding busy waits, you could try to tune the values of the
GOMP_SPINCOUNT environment variable. Search for "@node GOMP_SPINCOUNT"
in
http://gcc.gnu.org/viewcvs/gcc/branches/gomp-4_0-branch/libgomp/libgomp.texi?view=co&content-type=text%2Fplain
for details.
If you have enough cores which are available, there shouldn't be a
problem with idle. (Except with tasks where one could argue that the
threads should do task stealing instead.)
Tobias,
who leaves the other questions to Jakub
More information about the Gcc
mailing list