mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2025-06-28 01:06:54 +00:00
Fix fio fault check; Fix typos
This commit is contained in:
parent
5ba34f923d
commit
f7b3f8efae
@ -1,6 +1,6 @@
|
|||||||
## YABS Pre-Compiled Binaries
|
## YABS Pre-Compiled Binaries
|
||||||
|
|
||||||
This directory contains all of the binaries required to run the benchmarking tests. Naturally, there is a security risk to your machine and its contents by running this script since, after all, this is just a script on the internet. You'll simply have to have confidence that I don't have malicious intent and am semi-competent at writing a bash script. The script is made public so you can look at the code yourself. The static binaries were compiled using a [Holy Build Box](https://github.com/phusion/holy-build-box) compilation environment in order to ensure the most portability. The compiled binary version numbers and compilations steps are noted below. Please open an issue if the compiled version is out of date and lacking any security-related and/or performance updates.
|
This directory contains all of the binaries required to run the benchmarking tests. Naturally, there is a security risk to your machine and its contents by running this script since, after all, this is just a script on the internet. You'll simply have to have confidence that I don't have malicious intent and am semi-competent at writing a bash script. The script is made public so you can look at the code yourself. The binaries were compiled using a [Holy Build Box](https://github.com/phusion/holy-build-box) compilation environment in order to ensure the most portability. The compiled binary version numbers and compilations steps are noted below. Please open an issue if the compiled version is out of date and lacking any security-related and/or performance updates.
|
||||||
|
|
||||||
### Binaries
|
### Binaries
|
||||||
|
|
||||||
|
6
yabs.sh
6
yabs.sh
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
# Purpose: The purpose of this script is to quickly gauge the performance of a Linux-
|
# Purpose: The purpose of this script is to quickly gauge the performance of a Linux-
|
||||||
# based server by benchmarking network performance via iperf3, CPU and
|
# based server by benchmarking network performance via iperf3, CPU and
|
||||||
# overall system performance via Geekbench 4, and sequential + random disk
|
# overall system performance via Geekbench 4, and random disk
|
||||||
# performance via fio. The script is designed to not require any dependencies
|
# performance via fio. The script is designed to not require any dependencies
|
||||||
# - either compiled or installed - nor admin privileges to run.
|
# - either compiled or installed - nor admin privileges to run.
|
||||||
#
|
#
|
||||||
@ -164,7 +164,7 @@ function format_iops {
|
|||||||
|
|
||||||
# disk_test
|
# disk_test
|
||||||
# Purpose: This method is designed to test the disk performance of the host using the partition that the
|
# Purpose: This method is designed to test the disk performance of the host using the partition that the
|
||||||
# script is being run from using fio sequential and random read/write speed tests.
|
# script is being run from using fio random read/write speed tests.
|
||||||
# Parameters:
|
# Parameters:
|
||||||
# - (none)
|
# - (none)
|
||||||
function disk_test {
|
function disk_test {
|
||||||
@ -255,7 +255,7 @@ if [ -z "$SKIP_FIO" ]; then
|
|||||||
# execute disk performance test
|
# execute disk performance test
|
||||||
disk_test
|
disk_test
|
||||||
|
|
||||||
if [ -z "$DISK_RW4_TEST" ]; then # fio was killed or returned an error
|
if [ -z "$DISK_RW4_TEST_R" ]; then # fio was killed or returned an error
|
||||||
echo -e "fio disk speed tests failed. Run manually to determine cause."
|
echo -e "fio disk speed tests failed. Run manually to determine cause."
|
||||||
else # fio tests completed sucessfully, print results
|
else # fio tests completed sucessfully, print results
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user