Skip to content

Commit 0aad74f

Browse files
[Test] Push performance test mpi variation to DynamoDB table
The performance result is consistently different between Open MPI and Intel MPI
1 parent 6d3292b commit 0aad74f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/integration-tests/tests/performance_tests/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def _log_output_performance_difference(node, performance_degradation, observed_v
255255
)
256256

257257

258-
def push_result_to_dynamodb(name, result, instance, os):
258+
def push_result_to_dynamodb(name, result, instance, os, mpi_variation=None):
259259
reporting_region = METADATA_DEFAULT_REGION
260260
logging.info(f"Metadata reporting region {reporting_region}")
261261
# Create the metadata table in case it doesn't exist
@@ -274,6 +274,7 @@ def push_result_to_dynamodb(name, result, instance, os):
274274
"timestamp": int(time.time()),
275275
"result": str(result),
276276
"pcluster_version": f"v{get_installed_parallelcluster_version()}",
277+
"mpi_variation": str(mpi_variation),
277278
}
278279

279280
# Put item in the table

tests/integration-tests/tests/performance_tests/test_osu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def _check_osu_benchmarks_results(test_datadir, output_dir, os, instance, mpi_ve
239239
metric_namespace = "ParallelCluster/test_efa"
240240
evaluation_output = ""
241241
result = re.findall(r"(\d+)\s+(\d+)\.", output)
242-
push_result_to_dynamodb(f"OSU_{benchmark_name}", result, instance, os)
242+
push_result_to_dynamodb(f"OSU_{benchmark_name}", result, instance, os, mpi_version)
243243
for packet_size, value in result:
244244
with open(
245245
str(test_datadir / "osu_benchmarks" / "results" / os / instance / mpi_version / benchmark_name),

0 commit comments

Comments
 (0)