SSD Benchmarking
hdparm -Tt /dev/sda
cd /path/to/SSD
# Measure write speed
dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
# Measure read speed with clear the buffer-cache
echo 3 > /proc/sys/vm/drop_caches
dd if=tempfile of=/dev/null bs=1M count=1024
# Now that the last file is in the buffer, repeat the command to see the speed of the buffer-cache
dd if=tempfile of=/dev/null bs=1M count=1024
# Delete the temp file
rm tempfile