mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 17:03:23 +00:00
Add lmbench fifo latency test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
715733f551
commit
c2a8342752
1
.github/workflows/benchmark_asterinas.yml
vendored
1
.github/workflows/benchmark_asterinas.yml
vendored
@ -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
|
||||
|
7
test/benchmark/lmbench-fifo-latency/config.json
Normal file
7
test/benchmark/lmbench-fifo-latency/config.json
Normal 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."
|
||||
}
|
14
test/benchmark/lmbench-fifo-latency/result_template.json
Normal file
14
test/benchmark/lmbench-fifo-latency/result_template.json
Normal 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"
|
||||
}
|
||||
]
|
9
test/benchmark/lmbench-fifo-latency/run.sh
Normal file
9
test/benchmark/lmbench-fifo-latency/run.sh
Normal 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
|
@ -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."
|
||||
}
|
||||
|
Reference in New Issue
Block a user