You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/04/18 00:31:17 UTC
[jira] [Reopened] (TS-2624) CPU affinity assumes linear mapping
[ https://issues.apache.org/jira/browse/TS-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom reopened TS-2624:
-------------------------------
Backport to Version: 4.2.1
I'd like to back port the following piece to 4.2.x:
{code}
diff --git a/mgmt/Makefile.am b/mgmt/Makefile.am
index db485c8..b1a3e33 100644
--- a/mgmt/Makefile.am
+++ b/mgmt/Makefile.am
@@ -104,7 +104,7 @@ traffic_manager_LDADD = \
$(top_builddir)/iocore/eventsystem/libinkevent.a \
$(top_builddir)/proxy/shared/liberror.a \
$(top_builddir)/proxy/shared/libdiagsconfig.a \
- @LIBRESOLV@ @LIBEXPAT@ @LIBPCRE@ @LIBTCL@ @LIBCAP@ \
+ @LIBRESOLV@ @LIBEXPAT@ @LIBPCRE@ @LIBTCL@ @LIBCAP@ @hwloc_LIBS@ \
-lm
# Must do it this way or the dependencies aren't detected.
{code}
> CPU affinity assumes linear mapping
> -----------------------------------
>
> Key: TS-2624
> URL: https://issues.apache.org/jira/browse/TS-2624
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Phil Sorber
> Assignee: Phil Sorber
> Fix For: 5.0.0
>
>
> The current CPU affinity code assumes that Core/PU mappings are linear, when they can also be interleaved. We should consult HWLOC and use some of the other convenience functions there to properly map threads.
--
This message was sent by Atlassian JIRA
(v6.2#6252)