W. H. Heydt
Posts: 12785
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Benchmarks for WD SATA adapter

Tue Mar 29, 2016 3:22 am

here are some "disk" access benchmarks for a CM in the WD SATA adapter. The "disk drive" is a Corsair 60GB SSD with a SATA-III interface:

Code: Select all

pi@pi-sata:~ $ sudo hdparm -tT /dev/sda2

/dev/sda2:
 Timing cached reads:   512 MB in  2.00 seconds = 255.93 MB/sec
 Timing buffered disk reads:  78 MB in  3.01 seconds =  25.90 MB/sec

pi@pi-sata:~ $ date; dd if=/dev/zero of=testfile bs=1M count=3072; sync; date
Mon Mar 28 17:38:19 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 122.424 s, 26.3 MB/s
Mon Mar 28 17:40:23 PDT 2016

pi@pi-sata:~ $ date; dd if=testfile of=/dev/null bs=1M count=3072; sync; date
Mon Mar 28 17:43:10 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 127.578 s, 25.2 MB/s
Mon Mar 28 17:45:18 PDT 2016

pi@pi-sata:~ $ date; dd if=testfile of=testfile2 bs=1M count=3072; sync; date
Mon Mar 28 17:46:49 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 300.737 s, 10.7 MB/s
Mon Mar 28 17:51:51 PDT 2016
For comparison, here are the same benchmarks for a Cubieboard 2. It uses an Allwinner A20 SoC, which is a dual Cortex-A7, 1GB RAM, and a built in SATA-II connector:

Code: Select all

Cubieboard 2 (Allwinner A20, ARMv7 dual core, 1GHz):
root@ddcA:~# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   838 MB in  2.00 seconds = 418.44 MB/sec
 Timing buffered disk reads: 336 MB in  3.01 seconds = 111.76 MB/sec

ddcadmin@ddcA ~ $ date; dd if=/dev/zero of=testfile bs=1M count=3072; sync; dateMon Mar 28 18:04:21 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 69.24 s, 46.5 MB/s
Mon Mar 28 18:05:33 PDT 2016

ddcadmin@ddcA ~ $ date; dd if=testfile of=/dev/null bs=1M count=3072; sync; date
Mon Mar 28 18:05:56 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 19.6092 s, 164 MB/s
Mon Mar 28 18:06:15 PDT 2016

ddcadmin@ddcA ~ $ date; dd if=testfile of=testfile2 bs=1M count=3072; sync; date
Mon Mar 28 18:06:37 PDT 2016
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB) copied, 108.737 s, 29.6 MB/s
Mon Mar 28 18:08:27 PDT 2016
As soon as I can get one, I will run the CM/WD benchmarks with a CM3, though unless there is a hardware surprise I am unaware of, I don't expect it to help terribly much. Clearly, the board interface speed (USB2 vs. SATA-II) makes a very big difference. I am expecting to get an SBC board with a native USB3 soon and I have some tests planned for that as well.

Return to “Compute Module”