trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: TS-2243 document exec_thread.affinity
Date Fri, 18 Oct 2013 09:37:52 GMT
Updated Branches:
  refs/heads/master 36db28de2 -> cc25667ca


TS-2243 document exec_thread.affinity

document proxy.config.exec_thread.affinity, according to the code in
ocore/eventsystem/UnixEventProcessor.cc 160+

n.b.: I'm not documenting the default case, that treats every value that
is not 0, 2, or 3 as `1`. I couldn't find the words.

IMO, we should error out here, rather than potentially mis-interpreting
an admin's intent.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/cc25667c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/cc25667c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/cc25667c

Branch: refs/heads/master
Commit: cc25667caedd450fc1e0d44f740be1084b30253a
Parents: 36db28d
Author: Igor Galić <i.galic@brainsware.org>
Authored: Fri Oct 18 11:34:33 2013 +0200
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Fri Oct 18 11:34:33 2013 +0200

----------------------------------------------------------------------
 doc/reference/configuration/records.config.en.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cc25667c/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index ea329e2..f2f0497 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -225,6 +225,23 @@ A value of ``0`` means no signal will be sent.
 
    The new default thread stack size, for all threads. The original default is set at 1 MB.
 
+.. ts:cv: CONFIG proxy.config.exec_thread.affinity INT 0
+
+   Bind threads to specific CPUs or CPU cores.
+
+===== ====================
+Value Effect
+===== ====================
+1     assign threads to sockets
+2     assign threads to real cores
+3     assign threads to logical cores
+0     don't assign threads to any cores
+===== ====================
+
+.. note::
+
+   This option only has an affect when Traffic Server has been compiled with ``--enable-hwloc``.
+
 Network
 =======
 


Mime
View raw message