Pages

Work

Disk Benchmarking A simple command to do real-world disk write test in linux is: dd bs=1M count=512 if=/dev/zero of=test conv=fdatasync This creates a file named ‘test’ with all zeroes in it. The flag conv=fdatasync tells dd to sync the write to disk before it exits. Without this flag, dd will perform the write but some of it will remain in memory, not giving you an accurate picture of the true write performance of the disk.

No comments: