How to test NFS speed or HDD speed

How to test NFS speed or HDD speed

> hdparm -tT /dev/sda

 Timing cached reads:   24960 MB in  2.00 seconds = 18504.33 MB/sec
 Timing buffered disk reads: 6746 MB in  3.00 seconds = 4247.95 MB/sec

for more reliable outcome

for i in 1 2 3; do hdparm -tT /dev/sda; done


>dd if=/dev/zero of=/tmp/output.img bs=8k count=256k
262144+0 records in
262144+0 records out
2147483648 bytes (2.1 GB) copied, 0.873801 s, 2.5 GB/s


at first create test folder 

> bonnie+++ -d /mnt/nfs/test/ -u root

to see some human readable report

bonnie++ -d /mnt/nfs/test/ -r 2048 -u root | bon_csv2html > /root/bonnietest.html


Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10