Testing Read/Write Speed Linux using dd
- https://www.baeldung.com/linux/disk-performance-test
Testing Sequential Write Speed
dd if=/dev/zero of=/DIRECTORYTOTEST/FILENAME bs=1M count=1024 conv=fdatasync
Preview:
Testing Read Speed
# clear buffer cache
sudo sh -c "/usr/bin/echo 3 > /proc/sys/vm/drop_caches"
dd if=/DIRECTORYTOTEST/FILENAME of=/dev/null bs=1M count=1024
Delete file used for Testing
rm /DIRECTORYTOTEST/FILENAME
Last updated on December 24, 2024. For any questions/feedback, email me at blog@zinchuk.xyz.