Reorganize the structure of benchmarks

This commit is contained in:
Fabing Li
2024-09-13 17:35:52 +08:00
committed by Tate, Hongliang Tian
parent 7a13c0dff6
commit 32bfa76703
126 changed files with 362 additions and 282 deletions

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "lmdd result:",
"result_index": "8",
"description": "lmdd",
"title": "[EXT2] The bandwidth of copying data between files"
}

View File

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

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench lmdd test ***"
echo -n "lmdd result: " & /benchmark/bin/lmbench/lmdd if=/dev/zero of=/ext2/test_file bs=1M count=512

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Fifo latency",
"result_index": "3",
"description": "lat_fifo",
"title": "[FIFO] The cost of write+read (1B)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average fifo latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average fifo latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench fifo latency test ***"
/benchmark/bin/lmbench/lat_fifo -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "536.87",
"result_index": "2",
"description": "bw_mem fcp",
"title": "[Memory] The bandwidth of copying integers"
}

View File

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

View File

@ -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 -N 50 512m fcp

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "268.44",
"result_index": "2",
"description": "bw_mmap",
"title": "[Memory] The bandwidth of mmap"
}

View File

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

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench mmap bandwidth test ***"
dd if=/dev/zero of=/ext2/test_file bs=1M count=256
/benchmark/bin/lmbench/bw_mmap_rd 256m mmap_only /ext2/test_file

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "4.194304",
"result_index": "2",
"description": "lat_mmap",
"title": "[Memory] The cost of mmap+unmap"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average mmap latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average mmap latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench mmap latency test ***"
dd if=/dev/zero of=/ext2/test_file bs=1M count=4
/benchmark/bin/lmbench/lat_mmap 4m /ext2/test_file

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Pagefaults on ",
"result_index": "4",
"description": "lat_pagefault",
"title": "[Memory] The cost of page fault handling"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average page fault latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average page fault latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench page fault latency test ***"
dd if=/dev/zero of=/ext2/test_file bs=1M count=4
/benchmark/bin/lmbench/lat_pagefault -P 1 /ext2/test_file

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "536.87",
"result_index": "2",
"description": "bw_mem frd",
"title": "[Memory] The bandwidth of reading integers"
}

View File

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

View File

@ -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 -N 50 512m frd

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "536.87",
"result_index": "2",
"description": "bw_mem fwr",
"title": "[Memory] The bandwidth of writing integers"
}

View File

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

View File

@ -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 -N 50 512m fwr

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "Pipe bandwidth",
"result_index": "3",
"description": "bw_pipe",
"title": "[Pipes] The bandwidth"
}

View File

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

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench pipe bandwidth test ***"
/benchmark/bin/lmbench/bw_pipe -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Pipe latency",
"result_index": "3",
"description": "lat_pipe",
"title": "[Pipes] The cost of write+read (1B)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average pipe latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average pipe latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench pipe latency test ***"
/benchmark/bin/lmbench/lat_pipe -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "18 ",
"result_index": "2",
"description": "lat_ctx 2",
"title": "[Process] The cost of context switching"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average context switch latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average context switch latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench context switch latency test ***"
/benchmark/bin/lmbench/lat_ctx -P 1 18

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Process fork\\+execve",
"result_index": "3",
"description": "lat_proc exec",
"title": "[Process] The cost of fork+exec+exit"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average exec latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average exec latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench exec latency test ***"
cp /benchmark/bin/lmbench/hello /tmp/
/benchmark/bin/lmbench/lat_proc -P 1 exec

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Process fork",
"result_index": "3",
"description": "lat_proc fork",
"title": "[Process] The cost of fork+exit"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average Fork latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average Fork latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench-fork ***"
/benchmark/bin/lmbench/lat_proc -P 1 fork

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Simple syscall:",
"result_index": "3",
"description": "lat_syscall null",
"title": "[Process] The cost of getppid"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average syscall latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average syscall latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench-getpid ***"
/benchmark/bin/lmbench/lat_syscall -P 1 null

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Process fork\\+\\/bin\\/sh",
"result_index": "4",
"description": "lat_proc shell",
"title": "[Process] The cost of fork+exec+shell+exit"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average shell latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average shell latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench shell latency test ***"
cp /benchmark/bin/lmbench/hello /tmp/
/benchmark/bin/lmbench/lat_proc -P 1 shell

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "^0k",
"result_index": "2",
"description": "lat_fs -s 0k",
"title": "[Ramfs] The cost of creating/deleting small files (0KB)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Number of created/deleted files on Linux",
"unit": "number",
"value": 0,
"extra": "linux_result"
},
{
"name": "Number of created/deleted files on Asterinas",
"unit": "number",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench file system create/delete test ***"
/benchmark/bin/lmbench/lat_fs -s 0k -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "10k",
"result_index": "2",
"description": "lat_fs -s 10K",
"title": "[Ramfs] The cost of creating/deleting small files (10KB)"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Number of created/deleted files on Linux",
"unit": "number",
"value": 0,
"extra": "linux_result"
},
{
"name": "Number of created/deleted files on Asterinas",
"unit": "number",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench file system create/delete test ***"
/benchmark/bin/lmbench/lat_fs -s 10k -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Semaphore latency:",
"result_index": "3",
"description": "lat_sem",
"title": "[Semaphores] The cost of semop"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average semaphore latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average semaphore latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench semaphore latency test ***"
/benchmark/bin/lmbench/lat_sem -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Signal handler overhead:",
"result_index": "4",
"description": "lat_sig catch",
"title": "[Signals] The cost of catching a signal"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average Signal handler overhead on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average Signal handler overhead on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench-signal catch ***"
/benchmark/bin/lmbench/lat_sig -P 1 catch

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Signal handler installation:",
"result_index": "4",
"description": "lat_sig install",
"title": "[Signals] The cost of installing a signal handler"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average Signal handler install latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average Signal handler install latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench-signal install ***"
/benchmark/bin/lmbench/lat_sig -P 1 install

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Protection fault:",
"result_index": "3",
"description": "lat_sig prot",
"title": "[Signals] The cost of catching a segfault"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average protection fault latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average protection fault latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench protection fault latency test ***"
dd if=/dev/zero of=/ext2/test_file bs=1M count=256
/benchmark/bin/lmbench/lat_sig -N 100 prot /ext2/test_file

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)"
}

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

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "TCP\\/IP connection cost to 127.0.0.1:",
"result_index": "6",
"description": "lat_connect",
"title": "[TCP sockets] The latency of connect"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average TCP connection latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average TCP connection latency on Asterinas",
"unit": "µ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 connection latency test***"
/benchmark/bin/lmbench/lat_connect -s
/benchmark/bin/lmbench/lat_connect 127.0.0.1
/benchmark/bin/lmbench/lat_connect -S 127.0.0.1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "Avg xfer: ",
"result_index": "8",
"description": "bw_http",
"title": "[HTTP] The bandwidth"
}

View File

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

View File

@ -0,0 +1,13 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench HTTP latency test ***"
dd if=/dev/zero of=test_file bs=1M count=64
echo "test_file" > file_list
/benchmark/bin/lmbench/lmhttp &
/benchmark/bin/lmbench/lat_http 127.0.0.1 < file_list
/benchmark/bin/lmbench/lat_http -S 127.0.0.1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "TCP latency using 127.0.0.1:",
"result_index": "5",
"description": "lat_tcp",
"title": "[TCP sockets] The latency of write+read"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average TCP latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average TCP latency on Asterinas",
"unit": "µ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 latency test ***"
/benchmark/bin/lmbench/lat_tcp -s
/benchmark/bin/lmbench/lat_tcp -P 1 127.0.0.1
/benchmark/bin/lmbench/lat_tcp -S 127.0.0.1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Select on 200 tcp fd's:",
"result_index": "6",
"description": "lat_select",
"title": "[Network] The cost of select (TCP fds)"
}

View File

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

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

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "UDP latency using 127.0.0.1:",
"result_index": "5",
"description": "lat_udp",
"title": "[UDP sockets] The latency of write+read"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average UDP latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average UDP latency on Asterinas",
"unit": "µ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 UDP latency test ***"
/benchmark/bin/lmbench/lat_udp -s
/benchmark/bin/lmbench/lat_udp -P 1 127.0.0.1
/benchmark/bin/lmbench/lat_udp -S 127.0.0.1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customBiggerIsBetter",
"search_pattern": "sock stream bandwidth",
"result_index": "5",
"description": "bw_unix",
"title": "[Unix sockets] The bandwidth"
}

View File

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

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench unix bandwidth test ***"
/benchmark/bin/lmbench/bw_unix -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "UNIX connection cost:",
"result_index": "4",
"description": "lat_connect",
"title": "[Unix sockets] The latency of connect"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average unix connect latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average unix connect latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench unix connect latency test ***"
/benchmark/bin/lmbench/lat_unix_connect -s
/benchmark/bin/lmbench/lat_unix_connect -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "sock stream latency",
"result_index": "5",
"description": "lat_unix",
"title": "[Unix sockets] The latency of write+read"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average unix latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average unix latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -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

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Fcntl lock latency:",
"result_index": "4",
"description": "lat_fcntl",
"title": "[VFS] The cost of record locking/unlocking via fcntl"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average file locking latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average file locking latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench-fcntl ***"
/benchmark/bin/lmbench/lat_fcntl -P 1

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Simple fstat",
"result_index": "3",
"description": "lat_syscall fstat",
"title": "[VFS] The cost of fstat"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average fstat latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average fstat latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench fstat latency test ***"
touch test_file
/benchmark/bin/lmbench/lat_syscall -P 1 fstat test_file

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Simple open\\/close",
"result_index": "3",
"description": "lat_syscall open",
"title": "[VFS] The cost of open+close"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average open latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average open latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,10 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench open latency test ***"
touch test_file
/benchmark/bin/lmbench/lat_syscall -P 1 open test_file

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "150%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "Simple read:",
"result_index": "3",
"description": "lat_syscall read",
"title": "[VFS] The cost of read (/dev/zero)"
}

Some files were not shown because too many files have changed in this diff Show More