aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-17 13:55:03 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-17 13:55:03 -0800
commit2815f184a3feee59d243a740ace1eb8dbc632c75 (patch)
tree21248a19d1b3a99300d370d69358d3461e54658f
parent6c998da4bf9eb87b748458a3ed841191e5bdd800 (diff)
Document variable names
-rwxr-xr-xtest/cpp/qps/qps-sweep.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cpp/qps/qps-sweep.sh b/test/cpp/qps/qps-sweep.sh
index 89d373279f..7a35788849 100755
--- a/test/cpp/qps/qps-sweep.sh
+++ b/test/cpp/qps/qps-sweep.sh
@@ -37,11 +37,26 @@ fi
bins=`find . .. ../.. ../../.. -name bins | head -1`
+# Print out each command that gets executed
set -x
+#
+# Specify parameters used in some of the tests
+#
+
+# big is the size in bytes of large messages (0 is the size otherwise)
big=65536
+
+# wide is the number of client channels in multi-channel tests (1 otherwise)
wide=64
+
+# deep is the number of RPCs outstanding on a channel in non-ping-pong tests
+# (the value used is 1 otherwise)
deep=100
+
+# half is half the count of worker processes, used in the crossbar scenario
+# that uses equal clients and servers. The other scenarios use only 1 server
+# and either 1 client or N-1 clients as appropriate
half=`echo $QPS_WORKERS | awk -F, '{print int(NF/2)}'`
for secure in true false; do