Add LMbench pipe test
This commit is contained in:
parent
c320552ae1
commit
45a5498c04
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "Pipe bandwidth",
|
||||
"field": "3"
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "Pipe latency",
|
||||
"field": "3"
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue