Menu

Test the Disk I/O on your VPS

1 min read June 23, 2013 at 7:59pm on Tutorials

There are a few commands that allow you to test the disk I/O speeds on your virtual machine. Please note that scores do vary and are not a completely accurate assessment of disk I/O.

dd if=/dev/zero of=/tmp/test bs=64k count=16k conv=fdatasync

Example output:

[root@server~]# dd if=/dev/zero of=/tmp/test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 4.89845 seconds, 219 MB/s
[root@server~]#

You can also use hdparm – if it’s not installed, you will need to install it via yum:

yum install hdparm

Then run:

hdparm -t /dev/sda1

Example output:

[root@server~]# hdparm -t /dev/sda1
/dev/sda1: Timing buffered disk reads: 1158 MB in 3.01 seconds = 385.34 MB/sec
[root@server~]#

Get started today. SIGN UP

Services

Client

Copyright Kazila 2017 © All Rights Reserved