Add lmbench localhost TCP latency test
This commit is contained in:
parent
34352dc0d9
commit
a84ed69f5f
|
|
@ -59,6 +59,7 @@ jobs:
|
|||
- lmbench-http-bandwidth
|
||||
- lmbench-tcp-bandwidth-localhost
|
||||
- lmbench-tcp-connect-latency
|
||||
- lmbench-tcp-latency-localhost
|
||||
fail-fast: false
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "TCP latency using 127.0.0.1:",
|
||||
"result_index": "5",
|
||||
"description": "The latency of TCP on localhost."
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average TCP latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average TCP latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench TCP latency test ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_tcp -s
|
||||
/benchmark/bin/lmbench/lat_tcp -P 1 127.0.0.1
|
||||
/benchmark/bin/lmbench/lat_tcp -S 127.0.0.1
|
||||
Loading…
Reference in New Issue