diff options
author | Vijay Pai <vpai@google.com> | 2016-02-19 00:28:28 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-02-19 00:28:28 -0800 |
commit | 3b28872210fc2019eba52f310e824b1aa864f8f5 (patch) | |
tree | ce1de423e9ea52d62e0d967d30075862aac9bbd3 /test/cpp/qps/qps_openloop_test.cc | |
parent | c15cd723ebabbab4825480032b56a2ddd9a8b76b (diff) |
1. Adjust tsan/asan/msan slowdowns according to documentation
tsan documentation says 2-20x, so set it at 20x
asan documentation says 1.2-2.7x, so set it at 3x
msan documentation says 2-4x, so set it at 4x
This is now much less optimistic than before
2. Reactive tsan tests for qps_test
3. Set CPU load for qps_openloop_test
4. Divide qps_openloop_test Poisson rate by the slowdown factor of
the configuration
Diffstat (limited to 'test/cpp/qps/qps_openloop_test.cc')
-rw-r--r-- | test/cpp/qps/qps_openloop_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cpp/qps/qps_openloop_test.cc b/test/cpp/qps/qps_openloop_test.cc index 0ac41d9f96..90f21733ee 100644 --- a/test/cpp/qps/qps_openloop_test.cc +++ b/test/cpp/qps/qps_openloop_test.cc @@ -35,6 +35,7 @@ #include <grpc/support/log.h> +#include "test/core/util/test_config.h" #include "test/cpp/qps/driver.h" #include "test/cpp/qps/report.h" #include "test/cpp/util/benchmark_config.h" @@ -55,11 +56,11 @@ static void RunQPS() { client_config.set_async_client_threads(8); client_config.set_rpc_type(STREAMING); client_config.mutable_load_params()->mutable_poisson()->set_offered_load( - 1000.0); + 1000.0/g_fixture_slowdown_factor); ServerConfig server_config; server_config.set_server_type(ASYNC_SERVER); - server_config.set_async_server_threads(4); + server_config.set_async_server_threads(8); const auto result = RunScenario(client_config, 1, server_config, 1, WARMUP, BENCHMARK, -2); |