From f6dfb2991a3f8090f288b58416240657b2a59996 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Thu, 18 Oct 2012 23:04:28 +0000 Subject: [PATCH] - script to clean up testbed run when it crashes - lowered parallel overlay connect operations - added more infiniband cluster nodes --- contrib/infiniband_cluster.hosts | 11 +++++++++++ contrib/testbed_cleanup.sh | 14 ++++++++++++++ contrib/testbed_infiniband.conf | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 contrib/testbed_cleanup.sh diff --git a/contrib/infiniband_cluster.hosts b/contrib/infiniband_cluster.hosts index 3b6ccc0dc..2fedc2814 100644 --- a/contrib/infiniband_cluster.hosts +++ b/contrib/infiniband_cluster.hosts @@ -17,3 +17,14 @@ totakura@192.168.1.17:22 totakura@192.168.1.18:22 totakura@192.168.1.19:22 totakura@192.168.1.20:22 +totakura@192.168.1.21:22 +totakura@192.168.1.22:22 +totakura@192.168.1.23:22 +totakura@192.168.1.24:22 +totakura@192.168.1.25:22 +totakura@192.168.1.26:22 +totakura@192.168.1.27:22 +totakura@192.168.1.28:22 +totakura@192.168.1.29:22 +totakura@192.168.1.30:22 + diff --git a/contrib/testbed_cleanup.sh b/contrib/testbed_cleanup.sh new file mode 100755 index 000000000..b254c43c5 --- /dev/null +++ b/contrib/testbed_cleanup.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +################################################################################### +# Script to clean a previous run of testbed which has crashed. This scripts kills # +# the peers and cleans the temporary files created for those peers # +# # +# Author: Sree Harsha Totakura # +################################################################################### + +for host in `cut -d : -f 1 < infiniband_cluster.hosts` +do + echo "ssh --> $host" + ssh $host 'pkill gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*' +done diff --git a/contrib/testbed_infiniband.conf b/contrib/testbed_infiniband.conf index 818aba097..85acf48e4 100644 --- a/contrib/testbed_infiniband.conf +++ b/contrib/testbed_infiniband.conf @@ -4,7 +4,7 @@ PORT = 12113 ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; HOSTNAME = localhost MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5 -MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 50 +MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 30 #PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args [fs] -- 2.25.1