[Openmp-commits] [PATCH] D107121: [OpenMP] Fix performance regression reported in bug #51235

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 31 11:03:20 PDT 2021


protze.joachim added a comment.

@tianshilei1992 when flaky tests fail/block in the build bots, this is often triggered by unusual thread interleaving due to over-subscription.
To reproduce on my own system, it helped sometimes to oversubscribe the system by running multiple instances to the flaky test at the same time:

  for i in $(seq 20); do ./gtid.cpp.out & done

or to repeat until failing/hanging:

  while for i in $(seq 20); do ./gtid.cpp.out & done; wait; do true; done

Can you reproduce the hang on your system and verify that this change fixes the issue?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107121/new/

https://reviews.llvm.org/D107121



More information about the Openmp-commits mailing list