Add LMbench lat_sem test
This commit is contained in:
parent
ce2af1eb05
commit
6430ef1841
|
|
@ -45,6 +45,8 @@ jobs:
|
|||
- lmbench-fs-create-delete-files-10k
|
||||
# Mmap-related benchmarks
|
||||
- lmbench-pagefault
|
||||
# Semaphore benchmark
|
||||
- lmbench-semaphore
|
||||
fail-fast: false
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "Semaphore latency:",
|
||||
"result_index": "3",
|
||||
"description": "The latency of semaphore on a single processor."
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average semaphore latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average semaphore latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench semaphore latency test ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_sem -P 1
|
||||
Loading…
Reference in New Issue