From 68cf70b41c392ebb8fcb9afd77fb77acc033b10f Mon Sep 17 00:00:00 2001 From: Eric Cano <Eric.Cano@cern.ch> Date: Tue, 8 Aug 2017 17:21:39 +0200 Subject: [PATCH] Moved mhvtl's tape to tmpfs. This makes the system tests faster on HDD backed systems as mhvtl is an heavy user of fsync. Fsync cost can go up to 100ms on HDD (+vm + hyperV). --- .../buildtree_runner/recreate_buildtree_running_environment.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh index 5a5378338f..ed722256e5 100755 --- a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh +++ b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh @@ -8,9 +8,11 @@ echo Wiping mhvtl and kubernetes library info... systemctl stop mhvtl || true sleep 2 rm -rf /etc/mhvtl +umount /opt/mhvtl || true rm -rf /opt/mhvtl rm -rf /opt/kubernetes/CTA/library mkdir -p /opt/mhvtl +mount -t tmpfs -o size=512m tmpfs /opt/mhvtl ################################################################################ ### puppet:///modules/hg_cta/00-cta-tape.rules -- GitLab