aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/performance
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2018-08-03 14:48:26 -0700
committerGravatar murgatroid99 <mlumish@google.com>2018-08-03 14:48:26 -0700
commit5c60aa43ad0495ecfcdfee7da20b93a47be6b4ab (patch)
treed66a1b69e8af944972a8060bc4b8e17bee8306f2 /tools/run_tests/performance
parent70a8aa4a7d145b230aa007b5d3da0256a90c0141 (diff)
parent7c3d13d440debe4b67e05e186a8e8e0d2b4f4918 (diff)
Merge remote-tracking branch 'upstream/master' into node_perf_tests_again
Diffstat (limited to 'tools/run_tests/performance')
-rw-r--r--tools/run_tests/performance/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/run_tests/performance/README.md b/tools/run_tests/performance/README.md
index 2fc1a27c9b..791270ab38 100644
--- a/tools/run_tests/performance/README.md
+++ b/tools/run_tests/performance/README.md
@@ -104,3 +104,31 @@ Example memory profile of grpc-go server, with `go tools pprof`:
```
$ go tool pprof --text --alloc_space http://localhost:<pprof_port>/debug/heap
```
+
+### Configuration environment variables:
+
+* QPS_WORKER_CHANNEL_CONNECT_TIMEOUT
+
+ Consuming process: qps_worker
+
+ Type: integer (number of seconds)
+
+ This can be used to configure the amount of time that benchmark
+ clients wait for channels to the benchmark server to become ready.
+ This is useful in certain benchmark environments in which the
+ server can take a long time to become ready. Note: if setting
+ this to a high value, then the scenario config under test should
+ probably also have a large "warmup_seconds".
+
+* QPS_WORKERS
+
+ Consuming process: qps_json_driver
+
+ Type: comma separated list of host:port
+
+ Set this to a comma separated list of QPS worker processes/machines.
+ Each scenario in a scenario config has specifies a certain number
+ of servers, `num_servers`, and the driver will start
+ "benchmark servers"'s on the first `num_server` `host:port` pairs in
+ the comma separated list. The rest will be told to run as clients
+ against the benchmark server.