Add lmbench localhost TCP bandwidth test
This commit is contained in:
parent
9fec6ce95a
commit
316e4bf2c6
|
|
@ -57,6 +57,7 @@ jobs:
|
|||
# Network-related benchmark
|
||||
- lmbench-select-tcp
|
||||
- lmbench-http-bandwidth
|
||||
- lmbench-tcp-bandwidth-localhost
|
||||
fail-fast: false
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "0.004096 ",
|
||||
"result_index": "2",
|
||||
"description": "The bandwidth of TCP with 4096 message size in localhost."
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average TCP bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average TCP bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench TCP bandwidth test ***"
|
||||
|
||||
/benchmark/bin/lmbench/bw_tcp -s
|
||||
/benchmark/bin/lmbench/bw_tcp -m 4096 -P 1 127.0.0.1
|
||||
/benchmark/bin/lmbench/bw_tcp -S 127.0.0.1
|
||||
Loading…
Reference in New Issue