Add lmbench lmdd test

This commit is contained in:
Yuke Peng
2024-08-22 12:27:08 +08:00
committed by Tate, Hongliang Tian
parent e7105bb580
commit 837c7bebb6
4 changed files with 31 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,7 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "lmdd result:",
"result_index": "7",
"description": "The bandwidth of file copy."
}

View 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"
}
]

View 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