Rename tcp_loopback_bw to tcp_loopback_bw_4k

This commit is contained in:
Fabing Li
2024-10-08 05:11:43 +00:00
committed by Tate, Hongliang Tian
parent 8e210c2241
commit 46b34aa648
5 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "0.004096 ",
"result_index": "2",
"description": "bw_tcp -l",
"title": "[TCP sockets] The bandwidth (localhost, 4KB message)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average TCP bandwidth on Linux",
"unit": "MB/s",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average TCP bandwidth on Asterinas",
"unit": "MB/s",
"value": 0,
"extra": "aster_result"
}
]

View 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