phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
68 stars 80 forks source link

pts/cloverleaf-1.1.0: set optimial GOMP_SPINCOUNT for large systems #293

Closed ColinIanKing closed 9 months ago

ColinIanKing commented 10 months ago

For large systems of over 80 CPUs there is a large amount of memory contention in gomp_team_barrier_wait_end that impacts on performance and unnecessarily increases run time. This can be resolved by setting GOMP_SPINCOUNT to 7000 to reduce the contention. Also ensure that the OMP_WAIT_POLICY is set to active to ensure the optimial OMP wait policy is used for larger systems.