Disabling OpenMP, gaining speedup
Posted: Fri Apr 25, 2014 3:35 am
Hi Rich,
I am totally aware that GYRE uses multi-threading in an efficient way, but I prefer to assign only one CPU to each job, and instead submit a series of jobs using SLURM.
For that, I always set OMP_NUM_THREADS=1
Our IT admin here at IvS noticed a run-time overhead due to the system calling FUTEX a lot of time. Thus, I turned OpenMP off, and recompiled gyre version 2.3, and retried the same jobs. I can tell that I did gain a factor of ~25% speedup.
The reason of this post is only to provide a feedback.
Cheers
Ehsan.
I am totally aware that GYRE uses multi-threading in an efficient way, but I prefer to assign only one CPU to each job, and instead submit a series of jobs using SLURM.
For that, I always set OMP_NUM_THREADS=1
Our IT admin here at IvS noticed a run-time overhead due to the system calling FUTEX a lot of time. Thus, I turned OpenMP off, and recompiled gyre version 2.3, and retried the same jobs. I can tell that I did gain a factor of ~25% speedup.
The reason of this post is only to provide a feedback.
Cheers
Ehsan.