วิธีทดสอบความเร็วในการอ่าน/การเขียนไฟล์ขนาด 1GByte ของฮาร์ดดิสก์ด้วยคำสั่ง dd บน Linux
ทดสอบความเร็วในการเขียนไฟล์ขนาด 1GB
[root@linux ~]# dd if=/dev/zero of=filetest.bin bs=1000000 count=1000
1000+0 records in
1000+0 records out
1000000000 bytes (1.0 GB) copied, 9.14284 seconds, 109 MB/s
ทดสอบความเร็วในการอ่านไฟล์ขนาด 1GB
[root@linux ~]# dd if=filetest.bin of=/dev/zero bs=1000000 count=1000
1000+0 records in
1000+0 records out
1000000000 bytes (1.0 GB) copied, 1.31867 seconds, 758 MB/s
if— input file (ต้นทาง)of— output file (ปลายทาง)bs— block size (ขนาดต่อ block ในหน่วย bytes)count— จำนวน block
ผลที่ได้จะแสดงเวลาและความเร็ว MB/s ที่ส่วนท้ายของ output