ioping.sh – shell wrapper for ioping disk I/O latency benchmark & monitoring tool
ioping.sh is a shell wrapper script for ioping – a disk I/O latency monitoring and benchmarking tool which allows you to measure real time disk I/O, disk seek rate, disk sequential speeds.
Usage:
chmod +x ioping.sh ./ioping.sh |
Download: ioping.zip
Example output
Install
./ioping.sh ----------------------------------------- ioping.sh 0.9.8 - http://vbtechsupport.com by George Liu (eva2000) ----------------------------------------- ioping.sh 0.9.8 MENU ----------------------------------------- 1. Install ioping 2. Re-install ioping 3. Run ioping default tests 4. Run ioping custom tests 5. Exit ----------------------------------------- Enter option [ 1 - 5 ] 1 ----------------------------------------- *************************************************** Download ioping-0.6.tar.gz *************************************************** ioping-0.6.tar.gz [found] *************************************************** Installing ioping 0.6 *************************************************** ioping-0.6/ioping.c ioping-0.6/ioping.1 ioping-0.6/ioping.spec ioping-0.6/Makefile rm -f -f ioping.o ioping cc -std=c99 -g -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.6\" -c -o ioping.o ioping.c cc -o ioping ioping.o -std=c99 -g -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -lm mkdir -p /usr/local/bin install -m 0755 ioping /usr/local/bin mkdir -p /usr/local/share/man/man1 install -m 644 ioping.1 /usr/local/share/man/man1 *************************************************** ioping 0.6 installation complete *************************************************** |
Default tests
./ioping.sh ----------------------------------------- ioping.sh 0.9.8 - http://vbtechsupport.com by George Liu (eva2000) ----------------------------------------- ioping.sh 0.9.8 MENU ----------------------------------------- 1. Install ioping 2. Re-install ioping 3. Run ioping default tests 4. Run ioping custom tests 5. Exit ----------------------------------------- Enter option [ 1 - 5 ] 3 ----------------------------------------- *************************************************** ioping code.google.com/p/ioping/ ioping.sh 0.9.8 shell wrapper script by George Liu (eva2000) http://vbtechsupport.com *************************************************** *************************************************** Disk Schedulers & Read Ahead (Queue Size x 2): *************************************************** [/dev/sda] - Read Ahead: 256 noop anticipatory deadline [cfq] ---------------------------------- *************************************************** ********************************** dd (sequential disk speed test)... ********************************** dd if=/dev/zero of=testfilex bs=64k count=16k conv=fdatasync 16384+0 records in 16384+0 records out 1073741824 bytes (1.1 GB) copied, 2.51162 s, 428 MB/s ************************ starting ioping tests... *************************************************** ioping disk I/O test (default 1MB working set) *************************************************** disk I/O: /dev/sda --- /dev/sda (device 20.0 Gb) ioping statistics --- 5 requests completed in 4010.2 ms, 575 iops, 2.2 mb/s min/avg/max/mdev = 0.1/1.7/8.2/3.2 ms ********************************************** seek rate test (default 1MB working set) ********************************************** seek rate: /dev/sda --- /dev/sda (device 20.0 Gb) ioping statistics --- 1291 requests completed in 3011.6 ms, 663 iops, 2.6 mb/s min/avg/max/mdev = 0.0/1.5/28.8/3.4 ms ********************************************** sequential test (default 1MB working set) ********************************************** ----------------------- sequential: /dev/sda --- /dev/sda (device 20.0 Gb) ioping statistics --- 1885 requests completed in 3001.6 ms, 1723 iops, 430.8 mb/s min/avg/max/mdev = 0.1/0.6/23.3/1.8 ms ----------------------- sequential cached I/O: /dev/sda --- /dev/sda (device 20.0 Gb) ioping statistics --- 3957 requests completed in 3001.0 ms, 3229 iops, 807.2 mb/s min/avg/max/mdev = 0.0/0.3/58.5/1.3 ms |
Custom tests
./ioping.sh ----------------------------------------- ioping.sh 0.9.8 - http://vbtechsupport.com by George Liu (eva2000) ----------------------------------------- ioping.sh 0.9.8 MENU ----------------------------------------- 1. Install ioping 2. Re-install ioping 3. Run ioping default tests 4. Run ioping custom tests 5. Exit ----------------------------------------- Enter option [ 1 - 5 ] 4 ----------------------------------------- Run custom request size 4 32 64 256 (KB) test ? [y/n]: y ################################ ioping disk I/O test (custom 4 32 64 256 (KB) request size) ################################ *************************************** [/dev/sda] ioping disk I/O test: 4K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 5 requests completed in 4005.4 ms, 6693 iops, 26.1 mb/s min/avg/max/mdev = 0.1/0.1/0.2/0.0 ms *************************************** [/dev/sda] ioping disk I/O test: 32K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 5 requests completed in 4011.2 ms, 594 iops, 18.6 mb/s min/avg/max/mdev = 0.2/1.7/7.6/2.9 ms *************************************** [/dev/sda] ioping disk I/O test: 64K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 5 requests completed in 4002.6 ms, 4682 iops, 292.6 mb/s min/avg/max/mdev = 0.2/0.2/0.3/0.0 ms *************************************** [/dev/sda] ioping disk I/O test: 256K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 5 requests completed in 4029.7 ms, 184 iops, 45.9 mb/s min/avg/max/mdev = 0.3/5.4/12.5/4.8 ms ################################ ioping seek rate test (custom 4 32 64 256 (KB) request size) ################################ *************************************** [/dev/sda] ioping seek rate test: 4K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 1311 requests completed in 3001.6 ms, 677 iops, 2.6 mb/s min/avg/max/mdev = 0.0/1.5/19.6/3.3 ms *************************************** [/dev/sda] ioping seek rate test: 32K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 881 requests completed in 3002.3 ms, 498 iops, 15.6 mb/s min/avg/max/mdev = 0.1/2.0/21.1/4.1 ms *************************************** [/dev/sda] ioping seek rate test: 64K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 806 requests completed in 3013.2 ms, 450 iops, 28.1 mb/s min/avg/max/mdev = 0.1/2.2/23.6/4.2 ms *************************************** [/dev/sda] ioping seek rate test: 256K test *************************************** --- /dev/sda (device 20.0 Gb) ioping statistics --- 769 requests completed in 3000.1 ms, 393 iops, 98.2 mb/s min/avg/max/mdev = 0.1/2.5/29.9/5.1 ms |