Add lmbench fifo latency test

This commit is contained in:
Yuke Peng
2024-08-16 17:35:07 +08:00
committed by Tate, Hongliang Tian
parent 715733f551
commit c2a8342752
5 changed files with 32 additions and 1 deletions

View File

@ -29,6 +29,7 @@ jobs:
- lmbench-unix-connect-latency
- lmbench-pipe-latency
- lmbench-pipe-bandwidth
- lmbench-fifo-latency
# Syscall-related benchmarks
- lmbench-getpid
- lmbench-fstat

View File

@ -0,0 +1,7 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Fifo latency",
"result_index": "3",
"description": "The latency of fifo on a single processor."
}

View File

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

View File

@ -2,6 +2,6 @@
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "lmdd result:",
"result_index": "6",
"result_index": "8",
"description": "The bandwidth of file copy."
}