Add lmbench-fs on ext2 in benchmark ci

This commit is contained in:
Shaowei Song
2024-09-14 06:14:08 +00:00
committed by Tate, Hongliang Tian
parent 195fe855a1
commit ceb6e2b242
9 changed files with 66 additions and 2 deletions

View File

@ -51,6 +51,8 @@ jobs:
# File-related benchmarks
- lmbench/ramfs_create_delete_files_0k_ops
- lmbench/ramfs_create_delete_files_10k_ops
- lmbench/ext2_create_delete_files_0k_ops
- lmbench/ext2_create_delete_files_10k_ops
- lmbench/ext2_copy_files_bw
# Network-related benchmark
- lmbench/tcp_loopback_bw

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "^0k",
"result_index": "2",
"description": "lat_fs -s 0k /ext2",
"title": "[Ext2] The cost of creating/deleting small files (0KB)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Number of created/deleted files on Linux",
"unit": "number",
"value": 0,
"extra": "linux_result"
},
{
"name": "Number of created/deleted files on Asterinas",
"unit": "number",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench file system create/delete test (Ext2) ***"
/benchmark/bin/lmbench/lat_fs -s 0k -P 1 /ext2

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "10k",
"result_index": "2",
"description": "lat_fs -s 10K /ext2",
"title": "[Ext2] The cost of creating/deleting small files (10KB)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Number of created/deleted files on Linux",
"unit": "number",
"value": 0,
"extra": "linux_result"
},
{
"name": "Number of created/deleted files on Asterinas",
"unit": "number",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench file system create/delete test (Ext2) ***"
/benchmark/bin/lmbench/lat_fs -s 10k -P 1 /ext2

View File

@ -4,6 +4,6 @@
set -e
echo "*** Running the LMbench file system create/delete test ***"
echo "*** Running the LMbench file system create/delete test (Ramfs) ***"
/benchmark/bin/lmbench/lat_fs -s 0k -P 1

View File

@ -4,6 +4,6 @@
set -e
echo "*** Running the LMbench file system create/delete test ***"
echo "*** Running the LMbench file system create/delete test (Ramfs) ***"
/benchmark/bin/lmbench/lat_fs -s 10k -P 1