dd if=/dev/zero of=/tmp/testfile bs=1G count=1 oflag=dsync

Category: VPS Management

dd if=/dev/zero of=/tmp/testfile bs=1G count=1 oflag=dsync

Benchmark disk write speed by writing 1 GB of zeros with fsync

A quick disk I/O benchmark. The oflag=dsync forces synchronous writes for an accurate measurement. Delete /tmp/testfile afterward. Typical VPS NVMe speeds are 200-2000 MB/s; HDD VPS are 50-150 MB/s.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.