From 50a9ce8debbe46ab9591c9a24e8dc02bdbc74ad7 Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Fri, 8 Feb 2019 16:30:38 +0100
Subject: [PATCH] Added tuning option for EOS performance.

---
 .../buildtree_runner/vmBootstrap/bootstrapCTA.sh              | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
index 60444000ac..15b629eb55 100755
--- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
+++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh
@@ -37,3 +37,7 @@ echo Building CTA
 mkdir -p ~/CTA-build
 (cd ~/CTA-build && cmake ../CTA; make -j 4)
 
+echo Tuning the system for EOS
+sudo bash -c "echo net.ipv4.tcp_tw_reuse = 1 >> /etc/sysctl.d/00-eos.conf"
+sudo sysctl -p
+
-- 
GitLab