[Openmp-commits] [PATCH] D28906: Fix performance issue incurred by removing monitor thread.
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 19 08:30:56 PST 2017
hbae created this revision.
This change fixes a performance issue incurred by removing monitor thread.
When the monitor thread is used, most threads in the team directly go to
sleep if the copy of bt_intervals/bt_set is not available in the cache,
and this happens at least once per thread in the wait function, making the
overall performance slightly better.
This change tries to mimic this behavior by using the bt_intervals cache,
which simply keeps the blocktime interval in terms of the platform-dependent
ticks or nanoseconds.
Repository:
rL LLVM
https://reviews.llvm.org/D28906
Files:
runtime/src/kmp.h
runtime/src/kmp_barrier.cpp
runtime/src/kmp_wait_release.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28906.84971.patch
Type: text/x-patch
Size: 4489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170119/9aae75e5/attachment.bin>
More information about the Openmp-commits
mailing list