mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 19:33:23 +00:00
Add lmbench lmdd test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e7105bb580
commit
837c7bebb6
1
.github/workflows/benchmark_asterinas.yml
vendored
1
.github/workflows/benchmark_asterinas.yml
vendored
@ -45,6 +45,7 @@ jobs:
|
||||
- lmbench-fs-create-delete-files-0k
|
||||
- lmbench-fs-create-delete-files-10k
|
||||
- lmbench-fcntl
|
||||
- lmbench-lmdd
|
||||
# Mmap-related benchmarks
|
||||
- lmbench-pagefault
|
||||
- lmbench-mmap-bandwidth
|
||||
|
7
test/benchmark/lmbench-lmdd/config.json
Normal file
7
test/benchmark/lmbench-lmdd/config.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "lmdd result:",
|
||||
"result_index": "7",
|
||||
"description": "The bandwidth of file copy."
|
||||
}
|
14
test/benchmark/lmbench-lmdd/result_template.json
Normal file
14
test/benchmark/lmbench-lmdd/result_template.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average file copy bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average file copy bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
9
test/benchmark/lmbench-lmdd/run.sh
Normal file
9
test/benchmark/lmbench-lmdd/run.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench lmdd test ***"
|
||||
|
||||
echo -n "lmdd result: " & /benchmark/bin/lmbench/lmdd if=/dev/zero of=/ext2/test_file bs=1M count=512
|
Reference in New Issue
Block a user