Created Thu Oct, 15 2020 at 11:28PM
The performance test will show as follows:
# dd if=/dev/zero of=/tmp/mnt/temp oflag=direct bs=128k count=16k
16384+0 records in
16384+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 32.1541 s, 66.8 MB/s
As we can see, our 128GB drive is performing reasonably well with a 66.8 MB/s write speed. let us double check with twice the size (4GB file) using the count=32k
option:
# dd if=/dev/zero of=/tmp/mnt/temp oflag=direct bs=128k count=32k
32768+0 records in
32768+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 66.7746 s, 64.3 MB/s
You can test read speeds with hdparm
utility.
$ sudo hdparm -tv /dev/sdc1
/dev/sdc1:
multcount = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 15567/255/63, sectors = 250083328, start = 2048
Timing buffered disk reads: 276 MB in 3.01 seconds = 91.54 MB/sec