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

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

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

Python pxssh failed on login. could not set shell prompt