Add memory-related benchmarks
This commit is contained in:
parent
922176641c
commit
0021f3014c
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "134.22",
|
||||
"field": "2"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average memory copy bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average memory copy bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench memory-copy bandwidth test ***"
|
||||
|
||||
/benchmark/bin/lmbench/bw_mem -P 1 128m fcp
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "268.44",
|
||||
"field": "2"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average memory read bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average memory read bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench memory-read bandwidth test ***"
|
||||
|
||||
/benchmark/bin/lmbench/bw_mem -P 1 256m frd
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "268.44",
|
||||
"field": "2"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average memory write bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average memory write bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench memory-write bandwidth test ***"
|
||||
|
||||
/benchmark/bin/lmbench/bw_mem -P 1 256m fwr
|
||||
Loading…
Reference in New Issue