Disk Read & Write Performance On Linux Operating System Using HRPARM Hard Disk Parameter

Published: 07 June 2023
on channel: Lalatendu Swain
46
0

Run hdparm as follows, to measure the READ speed of a storage drive device /dev/sda:
lsblk
sudo hdparm -Tt /dev/sda

Why it's required ?

By monitoring disk performance, you can pinpoint any issues and take appropriate measures to optimize performance.


"hdparm": It is a command-line utility in Linux used for various disk-related operations and performance measurements.
"-Tt": These are options passed to the hdparm command. "-T" measures the device's read cache speed, and "-t" measures the device's read speed from the disk directly.

dd - convert and copy a file

Run the following command to test the WRITE speed of a disk:
sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
Run the following command to find out the READ speed from buffer:
dd if=tempfile of=/dev/null bs=1M count=1024



Linux and Unix Test Disk I/O Performance With dd Command ?


Watch video Disk Read & Write Performance On Linux Operating System Using HRPARM Hard Disk Parameter online without registration, duration hours minute second in high quality. This video was added by user Lalatendu Swain 07 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 46 once and liked it 0 people.