diff --git a/test/benchmark/lmbench-unix-bandwidth/config.json b/test/benchmark/lmbench-unix-bandwidth/config.json new file mode 100644 index 00000000..6123079e --- /dev/null +++ b/test/benchmark/lmbench-unix-bandwidth/config.json @@ -0,0 +1,7 @@ +{ + "alert_threshold": "125%", + "alert_tool": "customBiggerIsBetter", + "search_pattern": "sock stream bandwidth", + "result_index": "5", + "description": "The bandwidth of UNIX domain socket communication on a single processor." +} \ No newline at end of file diff --git a/test/benchmark/lmbench-unix-bandwidth/result_template.json b/test/benchmark/lmbench-unix-bandwidth/result_template.json new file mode 100644 index 00000000..df9e2f24 --- /dev/null +++ b/test/benchmark/lmbench-unix-bandwidth/result_template.json @@ -0,0 +1,14 @@ +[ + { + "name": "Average unix bandwidth on Linux", + "unit": "MB/s", + "value": 0, + "extra": "linux_avg" + }, + { + "name": "Average unix bandwidth on Asterinas", + "unit": "MB/s", + "value": 0, + "extra": "aster_avg" + } +] \ No newline at end of file diff --git a/test/benchmark/lmbench-unix-bandwidth/run.sh b/test/benchmark/lmbench-unix-bandwidth/run.sh new file mode 100644 index 00000000..3752cded --- /dev/null +++ b/test/benchmark/lmbench-unix-bandwidth/run.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# SPDX-License-Identifier: MPL-2.0 + +set -e + +echo "*** Running the LMbench unix bandwidth test ***" + +/benchmark/bin/lmbench/bw_unix -P 1 \ No newline at end of file