mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Add ramfs_copy_files_bw
benchmark
This commit is contained in:
parent
2b767c774d
commit
c0e572becd
1
.github/workflows/benchmark_asterinas.yml
vendored
1
.github/workflows/benchmark_asterinas.yml
vendored
@ -51,6 +51,7 @@ jobs:
|
||||
# File-related benchmarks
|
||||
- lmbench/ramfs_create_delete_files_0k_ops
|
||||
- lmbench/ramfs_create_delete_files_10k_ops
|
||||
- lmbench/ramfs_copy_files_bw
|
||||
- lmbench/ext2_create_delete_files_0k_ops
|
||||
- lmbench/ext2_create_delete_files_10k_ops
|
||||
- lmbench/ext2_copy_files_bw
|
||||
|
8
test/benchmark/lmbench/ramfs_copy_files_bw/config.json
Normal file
8
test/benchmark/lmbench/ramfs_copy_files_bw/config.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "lmdd result:",
|
||||
"result_index": "8",
|
||||
"description": "lmdd",
|
||||
"title": "[Ramfs] The bandwidth of copying data between files"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average file copy bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average file copy bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
10
test/benchmark/lmbench/ramfs_copy_files_bw/run.sh
Normal file
10
test/benchmark/lmbench/ramfs_copy_files_bw/run.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench lmdd test ***"
|
||||
|
||||
dd if=/dev/zero of=/tmp/zero_file bs=1M count=512
|
||||
echo -n "lmdd result: " & /benchmark/bin/lmbench/lmdd if=/tmp/zero_file of=/tmp/test_file
|
@ -24,6 +24,7 @@
|
||||
"vfs_fstat_lat",
|
||||
"vfs_read_pagecache_bw",
|
||||
"vfs_select_lat",
|
||||
"ramfs_copy_files_bw",
|
||||
"ramfs_create_delete_files_0k_ops",
|
||||
"ramfs_create_delete_files_10k_ops",
|
||||
"ext2_copy_files_bw",
|
||||
|
Loading…
x
Reference in New Issue
Block a user