Benchmark direct sync writes

Worst-case durable write speed: no cache, sync after each block. Note: this is not an IOPS test

dd if=/dev/zero of=/data/ddtest bs=1M count=1024 oflag=direct,dsync status=progress; rm /data/ddtest

tool
dd2 commands
tags
dddiskperformancetroubleshooting

More dd commands

  • dd if=/dev/sda of=/dev/sdb bs=64M conv=noerror,sync status=progress

    Copy a whole disk block by block. conv=noerror,sync keeps going past bad sectors and fills them with zeros

all 2 dd commands