This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

OpenMP+gfortran performance extremely variable between dlopen's of libgomp


Hi all,

As in my last help request, I'm using gfortran 4.2.1 from Ubuntu
Gutsy's apt-get, with the patch from bug 28482 (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28482 ) applied so that I
can dlopen libgomp. I find that the performance of my subroutines
varies greatly if I reload libgomp, but if I rerun the subroutines
several times for the same load of libgomp performance is fairly
constant. Other information that may be relevant:

- The number of threads stays the same (I have OMP_DYNAMIC=False).
- The relative speedup from OpenMP (wall time / CPU time) stays
relatively constant.

I don't even know where to start looking for the source of this
behavior. Any tips?

Thanks,
Anand Patil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]