[Openmp-dev] Balanced affinity test
Churbanov, Andrey via Openmp-dev
openmp-dev at lists.llvm.org
Thu Jul 21 12:45:26 PDT 2016
Hi Chris,
Actually any test with openmp parallel region can be used for testing of this feature. I used simple “hello” test with addition of empty parallel.
What matters here:
1. setting of KMP_AFFINITY=balanced,verbose (verbose - to see how threads are bound, otherwise more complicated test is needed, probably different for each particular system);
2. running on various HW topologies with various thread numbers, and see how threads are bound. I used taskset on regular Linux Intel64 multi socket multi code HT-enabled machine to emulate various topologies.
If you meant automatic test for regular runs on different architectures, - this is problematic, because it is hard to check that threads are bound in some particular way without knowing details of a particular machine and OS. I failed to figure out how to write such a generic test, though maybe it is possible somehow.
Regards,
Andrey
From: Openmp-dev [mailto:openmp-dev-bounces at lists.llvm.org] On Behalf Of C Bergstrom via Openmp-dev
Sent: Friday, July 15, 2016 5:13 AM
To: openmp-dev <openmp-dev at lists.llvm.org>
Subject: [Openmp-dev] Balanced affinity test
The recent proposed patch for balanced affinity on AArch64 or other platforms - Does anyone have a benchmark which demonstrates the problem? I have access to most of the available AArch64 hw and would like to test/validate it.
This CR only has a patch and no test
https://reviews.llvm.org/D22365
--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20160721/6e13151b/attachment.html>
More information about the Openmp-dev
mailing list