How to test NFS speed or HDD speed

How to test NFS speed or HDD speed

> hdparm -tT /dev/sda

/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


or

>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
 


NFS:

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




Comments

Popular posts from this blog

Reduce (shrink) and resize raw disk at Proxmox

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

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