mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Add unix bandwidth test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
60ca395f24
commit
39a66aea67
7
test/benchmark/lmbench-unix-bandwidth/config.json
Normal file
7
test/benchmark/lmbench-unix-bandwidth/config.json
Normal 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."
|
||||||
|
}
|
14
test/benchmark/lmbench-unix-bandwidth/result_template.json
Normal file
14
test/benchmark/lmbench-unix-bandwidth/result_template.json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
9
test/benchmark/lmbench-unix-bandwidth/run.sh
Normal file
9
test/benchmark/lmbench-unix-bandwidth/run.sh
Normal 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
|
Reference in New Issue
Block a user