tfcache-comparison

run executions sequentially

6/4/2019 3:54:53 PM

Changes

run.sh 24(+12 -12)

Details

run.sh 24(+12 -12)

diff --git a/run.sh b/run.sh
index 795faeb..3c6a7e8 100644
--- a/run.sh
+++ b/run.sh
@@ -21,18 +21,18 @@ if [[ ! -z $1 ]]; then
 fi
 
 echo "$(date '+%F %T') Executing workloads in host $host for the applications $applications among the versions $versions"
-for execution in {1..10}; do
-	for user in 1 10 50; do
-		for version in $versions; do
-			version=${version%/}
-			if [[ $applications = "*" ]]; then
-				existing_applications=$(echo applications/cached/$version/*/)
-			else
-				existing_applications=$applications
-			fi
-			echo "$(date '+%F %T')  Running $execution execution with $user users of applications $existing_applications"
-			for application in $existing_applications; do
-				application=${application%/}
+for user in 1 10 50; do
+	for version in $versions; do
+		version=${version%/}
+		if [[ $applications = "*" ]]; then
+			existing_applications=$(echo applications/cached/$version/*/)
+		else
+			existing_applications=$applications
+		fi
+		echo "$(date '+%F %T')  Running $execution execution with $user users of applications $existing_applications"
+		for application in $existing_applications; do
+			application=${application%/}
+			for execution in {1..10}; do
 				if [[ ! -f applications/workloads/$application-workload-${user}user.json ]]; then
 					echo "$(date '+%F %T')     Generating workload for $application with $user users"
 					if [[ $host = "localhost" ]]; then