mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 08:26:30 +00:00
Add lmbench localhost TCP bandwidth test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
9fec6ce95a
commit
316e4bf2c6
@ -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"
|
||||
}
|
||||
]
|
11
test/benchmark/lmbench-tcp-bandwidth-localhost/run.sh
Normal file
11
test/benchmark/lmbench-tcp-bandwidth-localhost/run.sh
Normal file
@ -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
|
Reference in New Issue
Block a user