It very easy to test your disk’s performance with dd command.
You can measure performance of write operation with below command.
1 2 3 4 |
[root@remotekernel ~]# sync; dd if=/dev/zero of=testfile bs=1M count=1024; sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 4.06852 s, 264 MB/s |