@@ -77,7 +77,22 @@ maximum-capacity-system-baseline-query:
77
77
$SHELL_WRAPPER timeout 1h ./testnet/tools/icos_deploy.sh $TESTNET --git-revision "$GIT_REVISION" --no-boundary-nodes
78
78
cd ./scalability
79
79
80
- $SHELL_WRAPPER python3 experiments/run_system_baseline_experiment.py --use_random_payload=True --num_canisters 2 --testnet $TESTNET --wg_subnet 2 --wg_testnet $TESTNET --datapoints 100,3500,4500,5500,7500,8500,12000,17200,40000
80
+ # First run, no caching
81
+ # -------------------------------------------------
82
+
83
+ $SHELL_WRAPPER python3 experiments/run_system_baseline_experiment.py --use_random_payload=True --num_canisters 2 --testnet $TESTNET --wg_subnet 2 --wg_testnet $TESTNET --datapoints 100,3500,4500,5500,7500,12000,17200,40000
84
+
85
+ TIMESTAMP=$(find results/"$GIT_REVISION" -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | sort -nr | head -1)
86
+ $SHELL_WRAPPER python3 common/generate_report.py --base_dir="results/" --git_revision="$GIT_REVISION" --timestamp="$TIMESTAMP"
87
+ $SHELL_WRAPPER python3 common/notify_dashboard.py --base_dir="results/" --git_revision="$GIT_REVISION" --timestamp="$TIMESTAMP" --is_max_capacity_run="True" --branch="$CURRENT_BRANCH" --gitlab_job_id="$CI_JOB_ID"
88
+
89
+ # Allow the system some time to recover from previous benchmark
90
+ sleep 60
91
+
92
+ # Second run, with caching
93
+ # -------------------------------------------------
94
+
95
+ $SHELL_WRAPPER python3 experiments/run_system_baseline_experiment.py --num_canisters 2 --testnet $TESTNET --wg_subnet 2 --wg_testnet $TESTNET --datapoints 100,3500,4500,5500,7500,12000,17200,40000
81
96
82
97
TIMESTAMP=$(find results/"$GIT_REVISION" -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | sort -nr | head -1)
83
98
$SHELL_WRAPPER python3 common/generate_report.py --base_dir="results/" --git_revision="$GIT_REVISION" --timestamp="$TIMESTAMP"
@@ -86,8 +101,10 @@ maximum-capacity-system-baseline-query:
86
101
find . -name 'workload-generator*stderr.txt' -print0 | xargs -0 pigz
87
102
cd -
88
103
104
+ # Upload results from both run (the entire folder of that GIT revision)
89
105
$SHELL_WRAPPER rclone --config="${CI_PROJECT_DIR}/.rclone.conf" copyto "scalability/results/$GIT_REVISION" "performance-testing:performance-testing-results/$GIT_REVISION"
90
106
107
+
91
108
# BENCHMARK SUITE maximum_capacity_system_baseline with update calls
92
109
maximum-capacity-system-baseline-update :
93
110
extends : .benchmark-test
0 commit comments