User Tools

Site Tools


dd

Laptop Throughput (Streaming I/O)

One gigabyte was written for the test, first with the cache activated (hdparm -W1 /dev/sda):

<code>root@grml ~ # dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=direct </file>

Then, with the cache deactivated (hdparm -W0 /dev/sda):

<code>root@grml ~ # dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=direct </file>

Laptop Latency

In this test, 512 bytes were written one thousand times, first with the cache activated (hdparm -W1 /dev/sda):

<code>root@grml ~ # dd if=/dev/zero of=/root/testfile bs=512 count=1000 oflag=direct </file>

Then, with the cache deactivated (hdparm -W0 /dev/sda): One thousand accesses required 11.18 seconds, meaning one access took 11.18 ms.

<code>root@grml ~ # dd if=/dev/zero of=/root/testfile bs=512 count=1000 oflag=direct </file>

dd.txt · Last modified: 2020/07/08 18:20 (external edit)