Add unix bandwidth test

This commit is contained in:
Yuke Peng
2024-08-02 21:27:19 +08:00
committed by Tate, Hongliang Tian
parent 60ca395f24
commit 39a66aea67
3 changed files with 30 additions and 0 deletions

View File

@ -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."
}

View File

@ -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"
}
]

View File

@ -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