Fix fio fault check; Fix typos

This commit is contained in:
Mason Rowe 2020-02-05 09:03:52 -05:00
parent 5ba34f923d
commit f7b3f8efae
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
## 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

View File

@ -8,7 +8,7 @@
#
# 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
# 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
# - either compiled or installed - nor admin privileges to run.
#
@ -164,7 +164,7 @@ function format_iops {
# disk_test
# 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:
# - (none)
function disk_test {
@ -255,7 +255,7 @@ if [ -z "$SKIP_FIO" ]; then
# execute disk performance 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."
else # fio tests completed sucessfully, print results