diff options
author | Craig Tiller <ctiller@google.com> | 2017-10-15 22:07:45 +0000 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-10-15 22:07:45 +0000 |
commit | 4079520eaa90e7683a3136ff1208ecaa5cd734bd (patch) | |
tree | 983ddd9515068b8f2f2652dd132c10b1b3e150b6 /tools | |
parent | f2c6ceb892620fbc623d38a4df7f66143e6c5bfe (diff) |
Fix scenario_config:
- don't force all scenarios to be run on only one machine
- allow client count to scale as # of clients configured
Diffstat (limited to 'tools')
-rw-r--r-- | tools/run_tests/performance/scenario_config.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/run_tests/performance/scenario_config.py b/tools/run_tests/performance/scenario_config.py index 8372d4e4bd..64af6a687c 100644 --- a/tools/run_tests/performance/scenario_config.py +++ b/tools/run_tests/performance/scenario_config.py @@ -132,7 +132,6 @@ def _ping_pong_scenario(name, rpc_type, 'name': name, 'num_servers': 1, 'num_clients': 1, - 'spawn_local_worker_count': -2, 'client_config': { 'client_type': client_type, 'security_params': _get_secargs(secure), @@ -177,7 +176,6 @@ def _ping_pong_scenario(name, rpc_type, deep = int(math.ceil(1.0 * outstanding_calls / wide)) scenario['num_clients'] = num_clients if num_clients is not None else 0 # use as many clients as available. - scenario['spawn_local_worker_count'] = -1 - scenario['num_clients'] scenario['client_config']['outstanding_rpcs_per_channel'] = deep scenario['client_config']['client_channels'] = wide scenario['client_config']['async_client_threads'] = 0 @@ -254,7 +252,7 @@ class CXXLanguage: rpc_type='UNARY', client_type='ASYNC_CLIENT', server_type='ASYNC_SERVER', req_size=300, resp_size=50, unconstrained_client='async', outstanding=30000, channels=300, - offered_load=37500, num_clients=2, secure=False, + offered_load=37500, secure=False, async_server_threads=16, server_threads_per_cq=16, categories=[SMOKETEST] + [SCALABLE]) |