mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 11:23:25 +00:00
Add lmbench-fs on ext2 in benchmark ci
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
195fe855a1
commit
ceb6e2b242
2
.github/workflows/benchmark_asterinas.yml
vendored
2
.github/workflows/benchmark_asterinas.yml
vendored
@ -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
|
||||
|
@ -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)"
|
||||
}
|
@ -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"
|
||||
}
|
||||
]
|
@ -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
|
@ -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)"
|
||||
}
|
@ -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"
|
||||
}
|
||||
]
|
@ -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
|
@ -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
|
@ -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
|
Reference in New Issue
Block a user