This is an automated email from the ASF dual-hosted git repository.
sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/6.2.x by this push:
new 07b27c4 TS-4719: Make AIO threads interleave memory across NUMA
nodes.
07b27c4 is described below
commit 07b27c49c05f8f7c664f01b79414180958854dc0
Author: Phil Sorber <[email protected]>
AuthorDate: Mon Aug 15 21:13:26 2016 -0600
TS-4719: Make AIO threads interleave memory across NUMA nodes.
(cherry picked from commit e5261f4d5edf557fe03571b46eacc61d430425e3)
---
iocore/aio/AIO.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/iocore/aio/AIO.cc b/iocore/aio/AIO.cc
index 10e8a93..446335c 100644
--- a/iocore/aio/AIO.cc
+++ b/iocore/aio/AIO.cc
@@ -186,6 +186,10 @@ struct AIOThreadInfo : public Continuation {
{
(void)event;
(void)e;
+#if TS_USE_HWLOC
+ hwloc_set_membind_nodeset(ink_get_topology(),
hwloc_topology_get_topology_nodeset(ink_get_topology()),
HWLOC_MEMBIND_INTERLEAVE,
+ HWLOC_MEMBIND_THREAD);
+#endif
aio_thread_main(this);
delete this;
return EVENT_DONE;
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].