You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/10/27 22:36:37 UTC
[12/50] [abbrv] git commit: TS-2243 document exec_thread.affinity
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/5.0.x
Commit: cc25667caedd450fc1e0d44f740be1084b30253a
Parents: 36db28d
Author: Igor Galić <i....@brainsware.org>
Authored: Fri Oct 18 11:34:33 2013 +0200
Committer: Igor Galić <i....@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
=======