Add unix latency benchmark
This commit is contained in:
parent
02ad3d8cab
commit
e22d23429e
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "sock stream latency",
|
||||
"field": "5"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average unix latency on Linux",
|
||||
"unit": "ms",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average unix latency on Asterinas",
|
||||
"unit": "ms",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench unix latency test ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_unix -P 1
|
||||
Loading…
Reference in New Issue