Add lmbench unix connect latency test
This commit is contained in:
parent
069cd7932b
commit
30726ad880
|
|
@ -26,6 +26,7 @@ jobs:
|
|||
# IPC-related benchmarks
|
||||
- lmbench-unix-latency
|
||||
- lmbench-unix-bandwidth
|
||||
- lmbench-unix-connect-latency
|
||||
- lmbench-pipe-latency
|
||||
- lmbench-pipe-bandwidth
|
||||
# Syscall-related benchmarks
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "UNIX connection cost:",
|
||||
"result_index": "4",
|
||||
"description": "The latency of UNIX domain socket connection on a single processor."
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average unix connect latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average unix connect latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench unix connect latency test ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_unix_connect -s
|
||||
/benchmark/bin/lmbench/lat_unix_connect -P 1
|
||||
Loading…
Reference in New Issue