You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/10/18 11:23:43 UTC
[jira] [Comment Edited] (TS-2243) document
proxy.config.exec_thread.affinity
[ https://issues.apache.org/jira/browse/TS-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798945#comment-13798945 ]
Igor Galić edited comment on TS-2243 at 10/18/13 9:22 AM:
----------------------------------------------------------
{code}
#if TS_USE_HWLOC
if (affinity != 0) {
int logical_ratio;
switch(affinity) {
case 3: // assign threads to logical cores
logical_ratio = 1;
break;
case 2: // assign threads to real cores
logical_ratio = pu / cu;
break;
case 1: // assign threads to sockets
default:
logical_ratio = pu / socket;
}
{code}
was (Author: i.galic):
#if TS_USE_HWLOC
if (affinity != 0) {
int logical_ratio;
switch(affinity) {
case 3: // assign threads to logical cores
logical_ratio = 1;
break;
case 2: // assign threads to real cores
logical_ratio = pu / cu;
break;
case 1: // assign threads to sockets
default:
logical_ratio = pu / socket;
}
{code}
> document proxy.config.exec_thread.affinity
> ------------------------------------------
>
> Key: TS-2243
> URL: https://issues.apache.org/jira/browse/TS-2243
> Project: Traffic Server
> Issue Type: Bug
> Components: Documentation
> Reporter: James Peach
> Fix For: Docs
>
>
> Looks like proxy.config.exec_thread.affinity is not documented. We should document this setting.
--
This message was sent by Atlassian JIRA
(v6.1#6144)