mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-09 05:16:47 +00:00
Add lmbench file locking latency test
This commit is contained in:
parent
8ce86e4d98
commit
dee0956921
1
.github/workflows/benchmark_asterinas.yml
vendored
1
.github/workflows/benchmark_asterinas.yml
vendored
@ -44,6 +44,7 @@ jobs:
|
||||
- lmbench-select-file
|
||||
- lmbench-fs-create-delete-files-0k
|
||||
- lmbench-fs-create-delete-files-10k
|
||||
- lmbench-fcntl
|
||||
# Mmap-related benchmarks
|
||||
- lmbench-pagefault
|
||||
- lmbench-mmap-bandwidth
|
||||
|
7
test/benchmark/lmbench-fcntl/config.json
Normal file
7
test/benchmark/lmbench-fcntl/config.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "Fcntl lock latency:",
|
||||
"result_index": "4",
|
||||
"description": "The latency of file locking on a single processor."
|
||||
}
|
14
test/benchmark/lmbench-fcntl/result_template.json
Normal file
14
test/benchmark/lmbench-fcntl/result_template.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average file locking latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average file locking latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
9
test/benchmark/lmbench-fcntl/run.sh
Normal file
9
test/benchmark/lmbench-fcntl/run.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench-fcntl ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_fcntl -P 1
|
Loading…
x
Reference in New Issue
Block a user