From f739c058b776d0aa36108662bdc445115c0cd661 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Mon, 28 Nov 2016 13:04:51 -0800
Subject: [PATCH] Make a better educated guess about CPU costs of a benchmark

---
 test/cpp/qps/gen_build_yaml.py |  4 ++--
 tools/run_tests/tests.json     | 44 +++++++++++++++++-----------------
 2 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py
index e4d9e7ac58..1e00e0cd2c 100755
--- a/test/cpp/qps/gen_build_yaml.py
+++ b/test/cpp/qps/gen_build_yaml.py
@@ -63,8 +63,8 @@ def guess_cpu(scenario_json):
   server = threads_of_type(scenario_json, 'server_config/async_server_threads')
   # make an arbitrary guess if set to auto-detect
   # about the size of the jenkins instances we have for unit tests
-  if client == 0: client = 8
-  if server == 0: server = 8
+  if client == 0: client = 16
+  if server == 0: server = 16
   return (scenario_json['num_clients'] * client +
           scenario_json['num_servers'] * server)
 
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index 7df7b18e3a..eca6301a9d 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -36783,7 +36783,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36825,7 +36825,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36846,7 +36846,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36888,7 +36888,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36909,7 +36909,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36951,7 +36951,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -36972,7 +36972,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37014,7 +37014,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37035,7 +37035,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37077,7 +37077,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37098,7 +37098,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37140,7 +37140,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37182,7 +37182,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37203,7 +37203,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37245,7 +37245,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37266,7 +37266,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37308,7 +37308,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37329,7 +37329,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37371,7 +37371,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37392,7 +37392,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37434,7 +37434,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
@@ -37455,7 +37455,7 @@
     "ci_platforms": [
       "linux"
     ], 
-    "cpu_cost": 8, 
+    "cpu_cost": 16, 
     "defaults": "boringssl", 
     "exclude_configs": [], 
     "flaky": false, 
-- 
GitLab