diff options
author | Vijay Pai <vpai@google.com> | 2016-02-12 17:34:08 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-02-12 17:34:08 -0800 |
commit | 1a06082265d0b8a7567ab5403294252b6be610c5 (patch) | |
tree | 70edb0d3d9e8f950ea8ba3a099e0a7298fa41b55 /test/cpp | |
parent | c84cb3e00acb01b1fac9426f3e977b9ffdade937 (diff) |
Add 70% load scenario for testing with open-loop
Diffstat (limited to 'test/cpp')
-rwxr-xr-x | test/cpp/qps/qps-sweep.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/cpp/qps/qps-sweep.sh b/test/cpp/qps/qps-sweep.sh index 539da1d893..5287930590 100755 --- a/test/cpp/qps/qps-sweep.sh +++ b/test/cpp/qps/qps-sweep.sh @@ -55,7 +55,7 @@ for secure in true false; do --server_type=ASYNC_GENERIC_SERVER --outstanding_rpcs_per_channel=100 \ --client_channels=64 --bbuf_req_size=0 --bbuf_resp_size=0 \ --async_client_threads=0 --async_server_threads=0 --secure_test=$secure \ - --num_servers=1 --num_clients=0 + --num_servers=1 --num_clients=0 |& tee /tmp/qps-test.$$ # Scenario 2b: QPS with a single server core "$bins"/opt/qps_driver --rpc_type=STREAMING --client_type=ASYNC_CLIENT \ @@ -71,7 +71,15 @@ for secure in true false; do --async_client_threads=0 --async_server_threads=0 --secure_test=$secure \ --num_servers=1 --num_clients=0 - # Scenario 3: Latency at near-peak load (TBD) + # Scenario 3: Latency at near-peak load (all clients equally loaded) + "$bins"/opt/qps_driver --rpc_type=STREAMING --client_type=ASYNC_CLIENT \ + --server_type=ASYNC_GENERIC_SERVER --outstanding_rpcs_per_channel=100 \ + --client_channels=64 --bbuf_req_size=0 --bbuf_resp_size=0 \ + --async_client_threads=0 --async_server_threads=0 --secure_test=$secure \ + --num_servers=1 --num_clients=0 --poisson_load=`awk '$5 == "QPS:" \ + {print int(0.7 * $6); exit}' /tmp/qps-test.$$` + + rm /tmp/qps-test.$$ # Scenario 4: Single-channel bidirectional throughput test (like TCP_STREAM). "$bins"/opt/qps_driver --rpc_type=STREAMING --client_type=ASYNC_CLIENT \ |