Add lmbench select TCP test

This commit is contained in:
Yuke Peng
2024-08-26 17:33:27 +08:00
committed by Tate, Hongliang Tian
parent ce7413c0fd
commit 936da1d6df
4 changed files with 32 additions and 0 deletions

View File

@ -54,6 +54,8 @@ jobs:
- lmbench-mmap-latency - lmbench-mmap-latency
# Semaphore benchmark # Semaphore benchmark
- lmbench-semaphore - lmbench-semaphore
# Network-related benchmark
- lmbench-select-tcp
fail-fast: false fail-fast: false
timeout-minutes: 60 timeout-minutes: 60
container: container:

View File

@ -0,0 +1,7 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Select on 200 tcp fd's:",
"result_index": "6",
"description": "The latency of select TCP on a single processor."
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average select TCP latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_avg"
},
{
"name": "Average select TCP latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_avg"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench select TCP latency test ***"
/benchmark/bin/lmbench/lat_select -P 1 tcp