Add LMbench pipe test

This commit is contained in:
Yuke Peng 2024-07-20 21:43:20 +08:00 committed by Tate, Hongliang Tian
parent c320552ae1
commit 45a5498c04
6 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"alert_threshold": "125%",
"pattern": "Pipe bandwidth",
"field": "3"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average pipe bandwidth on Linux",
"unit": "MB/s",
"value": 0,
"extra": "linux_avg"
},
{
"name": "Average pipe 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 pipe bandwidth test ***"
/benchmark/bin/lmbench/bw_pipe -P 1

View File

@ -0,0 +1,5 @@
{
"alert_threshold": "125%",
"pattern": "Pipe latency",
"field": "3"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average pipe latency on Linux",
"unit": "ms",
"value": 0,
"extra": "linux_avg"
},
{
"name": "Average pipe latency on Asterinas",
"unit": "ms",
"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 pipe latency test ***"
/benchmark/bin/lmbench/lat_pipe -P 1