Add several FIO tests to the benchmark CI
This commit is contained in:
parent
31ebcbf264
commit
c7404f8139
|
|
@ -54,6 +54,10 @@ jobs:
|
|||
- lmbench/ext2_create_delete_files_0k_ops
|
||||
- lmbench/ext2_create_delete_files_10k_ops
|
||||
- lmbench/ext2_copy_files_bw
|
||||
- fio/ext2_seq_write_bw
|
||||
- fio/ext2_seq_read_bw
|
||||
- fio/ext2_iommu_seq_write_bw
|
||||
- fio/ext2_iommu_seq_read_bw
|
||||
# Network-related benchmark
|
||||
- lmbench/tcp_loopback_bw_4k
|
||||
- lmbench/tcp_loopback_bw_64k
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "bw=",
|
||||
"result_index": "2",
|
||||
"description": "fio -filename=/ext2/fio-test -size=1G -bs=1M -direct=1",
|
||||
"title": "[Ext2] The bandwidth of sequential reads (IOMMU enabled on Asterinas)",
|
||||
"aster_scheme": "iommu"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average file read bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average file read bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the FIO sequential read test (Ext2) ***"
|
||||
|
||||
/benchmark/bin/fio -rw=read -filename=/ext2/fio-test -name=seqread \
|
||||
-size=1G -bs=1M \
|
||||
-ioengine=sync -direct=1 -numjobs=1 -fsync_on_close=1 \
|
||||
-time_based=1 -runtime=60
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "bw=",
|
||||
"result_index": "2",
|
||||
"description": "fio -filename=/ext2/fio-test -size=1G -bs=1M -direct=1",
|
||||
"title": "[Ext2] The bandwidth of sequential writes (IOMMU enabled on Asterinas)",
|
||||
"aster_scheme": "iommu"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average file write bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average file write bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the FIO sequential write test (Ext2) ***"
|
||||
|
||||
/benchmark/bin/fio -rw=write -filename=/ext2/fio-test -name=seqwrite \
|
||||
-size=1G -bs=1M \
|
||||
-ioengine=sync -direct=1 -numjobs=1 -fsync_on_close=1 \
|
||||
-time_based=1 -runtime=60
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "bw=",
|
||||
"result_index": "2",
|
||||
"description": "fio -filename=/ext2/fio-test -size=1G -bs=1M -direct=1",
|
||||
"title": "[Ext2] The bandwidth of sequential reads"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average file read bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average file read bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the FIO sequential read test (Ext2) ***"
|
||||
|
||||
/benchmark/bin/fio -rw=read -filename=/ext2/fio-test -name=seqread \
|
||||
-size=1G -bs=1M \
|
||||
-ioengine=sync -direct=1 -numjobs=1 -fsync_on_close=1 \
|
||||
-time_based=1 -runtime=60
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customBiggerIsBetter",
|
||||
"search_pattern": "bw=",
|
||||
"result_index": "2",
|
||||
"description": "fio -filename=/ext2/fio-test -size=1G -bs=1M -direct=1",
|
||||
"title": "[Ext2] The bandwidth of sequential writes"
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Average file write bandwidth on Linux",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average file write bandwidth on Asterinas",
|
||||
"unit": "MB/s",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the FIO sequential write test (Ext2) ***"
|
||||
|
||||
/benchmark/bin/fio -rw=write -filename=/ext2/fio-test -name=seqwrite \
|
||||
-size=1G -bs=1M \
|
||||
-ioengine=sync -direct=1 -numjobs=1 -fsync_on_close=1 \
|
||||
-time_based=1 -runtime=60
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"benchmarks": [
|
||||
"ext2_seq_write_bw",
|
||||
"ext2_seq_read_bw",
|
||||
"ext2_iommu_seq_write_bw",
|
||||
"ext2_iommu_seq_read_bw"
|
||||
]
|
||||
}
|
||||
|
|
@ -4,5 +4,5 @@
|
|||
"search_pattern": "lmdd result:",
|
||||
"result_index": "8",
|
||||
"description": "lmdd",
|
||||
"title": "[EXT2] The bandwidth of copying data between files"
|
||||
"title": "[Ext2] The bandwidth of copying data between files"
|
||||
}
|
||||
Loading…
Reference in New Issue