Add lmbench file locking latency test

This commit is contained in:
Yuke Peng 2024-08-18 10:16:40 +08:00 committed by Tate, Hongliang Tian
parent 8ce86e4d98
commit dee0956921
4 changed files with 31 additions and 0 deletions

View File

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

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

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

View 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