Checking disk speed with the DD command
The following guide describes how to quickly check the speed of our disk using the dd command.
The command will work for both Debian systems, Ubuntu and Centos
The whole thing comes down to the issue of one command in the console.

We log in to the terminal of our server, computer or wherever we want to check speed and we give a command:
dd if=/dev/zero of=/tmp/test bs=64k count=16k conv=fdatasync
We get the result:
This is the result for the SSDNVME disk:
16384+0 przeczytanych recordów
16384+0 zapisanych recordów
skopiowane 1073741824 bajty (1,1 GB), 1,1295 s, 951 MB/s
Now for comparison, the result from the usual SSD disk:
16384+0 przeczytanych rekordów
16384+0 zapisanych rekordów
skopiowane 1073741824 bajtów (1,1 GB, 1,0 GiB), 2,631 s, 408 MB/s
And as a curiosity a completely new ordinary HDD disk:
16384+0 przeczytanych recordów
16384+0 zapisanych recordów
skopiowane 1073741824 bajty (1,1 GB), 7,47575 s, 144 MB/s
There is a huge difference like the True Disk? 🙂