You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2016/12/06 17:43:43 UTC

[1/2] incubator-trafficcontrol git commit: Add notes for tuning Traffic Router to admin docs

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master b0c0592a1 -> c0321a0e2


Add notes for tuning Traffic Router to admin docs


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

Branch: refs/heads/master
Commit: ab0f4a4da77d2deb9355eee7f0c7689c9a98995b
Parents: b0c0592
Author: trevorackerman <tr...@gmail.com>
Authored: Tue Nov 29 10:45:13 2016 -0700
Committer: Dave Neuman <ne...@apache.org>
Committed: Tue Dec 6 10:43:06 2016 -0700

----------------------------------------------------------------------
 docs/source/admin/traffic_router.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/ab0f4a4d/docs/source/admin/traffic_router.rst
----------------------------------------------------------------------
diff --git a/docs/source/admin/traffic_router.rst b/docs/source/admin/traffic_router.rst
index 01ab6b3..53ca2d7 100644
--- a/docs/source/admin/traffic_router.rst
+++ b/docs/source/admin/traffic_router.rst
@@ -492,3 +492,21 @@ During the test it will provide feedback about request latency and transactions
 
 While it is running it is suggested that you monitor your Traffic Router nodes for memory and CPU utilization.
 
+Tuning Recommendations
+======================
+
+The following is an example of /opt/tomcat/bin/setenv.sh that has been tested on a multi core server running under HTTPS load test requests.
+This is following the general recommendation to use the G1 garbage collector for JVM applications running on multi core machines.
+In addition to using the G1 garbage collector the InitiatingHeapOccupancyPercent was lowered to run garbage collection more frequently which
+improved overall throughput for Traffic Router and reduced 'Stop the World' garbage collection. Note that setting the min and max heap settings
+in setenv.sh will override init scripts in /etc/init.d/tomcat.
+
+  /opt/tomcat/bin/setenv.sh::
+
+
+      #! /bin/sh
+      export CATALINA_OPTS="$CATALINA_OPTS -server"
+      export CATALINA_OPTS="$CATALINA_OPTS -Xms2g -Xmx2g"
+      export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC"
+      export CATALINA_OPTS="$CATALINA_OPTS -XX:+UnlockExperimentalVMOptions"
+      export CATALINA_OPTS="$CATALINA_OPTS -XX:InitiatingHeapOccupancyPercent=30"


[2/2] incubator-trafficcontrol git commit: This closes #119

Posted by ne...@apache.org.
This closes #119


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

Branch: refs/heads/master
Commit: c0321a0e25958782e3fef9998d4d0eef90362f58
Parents: ab0f4a4
Author: Dave Neuman <ne...@apache.org>
Authored: Tue Dec 6 10:43:20 2016 -0700
Committer: Dave Neuman <ne...@apache.org>
Committed: Tue Dec 6 10:43:20 2016 -0700

----------------------------------------------------------------------

----------------------------------------------------------------------