Access official resources from Carbon Black experts
Cb Response 4.2.1, 5.x
How to run FIOs (Flexible Input/Output benchmarking tool) to test disk performance
Follow these steps on the requested nodes or run the attached script:
Install FIOs:
yum install fio -y
Note: If CbISO is used FIOs is included in the install
Determine the Datastore Root Directory in your environment:
grep DatastoreRootDir /etc/cb/cb.conf | awk -F'=' '{print $2}'
Note: The Default Directory is /var/cb/data
Edit FIO config file
Open FIO config file:
vi /usr/share/cb/diag/basic_rw_randseq_tests.fio
Modify to use the directory you would like to test:
[global]
directory= DatastoreRootDir
Note: Replace DatastoreRootDir with location found in step 2Example:
[global]
directory=/var/cb/data
Verify there is enough disk space available (At Least 16GB) in the specified directory to perform test:
df -h DatastoreRootDir
Warning: At least 16 GB of disk space must be free to run the test
Warning: If services are not stopped when running the test, the results will not be accurate since Cb Response will also be using the disk
service cb-enterprise stop
/usr/share/cb/cbcluster stop
fio /usr/share/cb/diag/basic_rw_randseq_tests.fio --output fio_results_<NodeID>_<Date>.txt
Warning: If you abort the run using Ctrl-C or FIO fails during the run you will need to ensure you remove all FIOs files from DatastoreRootDir:
random-reads.1.0
sequential-reads.2.0
random-writes.3.0
sequential-writes.4.0
Remove FIO’s read and write files:
rm -f DatastoreRootDir/random-*
rm -f DatastoreRootDir/sequential-*
Note: Replace DatastoreRootDir with with location found in step 2
Start services
Standalone:
service cb-enterprise start
Cluster (Run on Master Only):
/usr/share/cb/cbcluster start
Upload fio_results.txt to Alliance:
/usr/share/cb/cbpost fio_results_<NodeID>_<Date>.txt
Copyright © 2005-2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.