Skip to content

Instantly share code, notes, and snippets.

@actuino
Last active March 28, 2017 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save actuino/18add31b3c3bd2343b98e5c2edd88901 to your computer and use it in GitHub Desktop.
Save actuino/18add31b3c3bd2343b98e5c2edd88901 to your computer and use it in GitHub Desktop.
Perfs of WD Labs Pi Drive

Perf Tests

Several hosts, WD Labs Pi Drive 250Gb and SSDs
The benchmark uses fio in order to simulate a DB access with several processes and small random chunk being read/writen.

The Hosts systems

Host A: Raspberry Pi Zero W

(current Raspbian)

uname -a
Linux raspi0wd 4.9.17+ #981 Fri Mar 24 14:18:06 GMT 2017 armv6l GNU/Linux

Host B: Orange Pi Pc v1.2

ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 4.10.0-sun8i

uname -a
Linux orangepipc 4.10.0-sun8i #3 SMP Thu Feb 23 19:57:03 CET 2017 armv7l armv7l armv7l GNU/Linux

Host C: Orange Pi Zero

(Legacy Kernel)
ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i

uname -a
Linux orangepizero 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l GNU/Linux

Local tests protocol

Pi Drive mounted as /mnt/temp

fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=/mnt/temp/test --bs=4k --iodepth=8 --size=1G --readwrite=randrw --rwmixread=75

Sample output:

test: (groupid=0, jobs=1): err= 0: pid=7089: Mon Mar 27 21:16:00 2017
  read : io=472068KB, bw=449221B/s, iops=109, runt=1076078msec
  write: io=158380KB, bw=150715B/s, iops=36, runt=1076078msec
  cpu          : usr=0.48%, sys=1.67%, ctx=165584, majf=0, minf=16
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=100.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.1%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=118017/w=39595/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=8

Run status group 0 (all jobs):
   READ: io=472068KB, aggrb=438KB/s, minb=438KB/s, maxb=438KB/s, mint=1076078msec, maxt=1076078msec
  WRITE: io=158380KB, aggrb=147KB/s, minb=147KB/s, maxb=147KB/s, mint=1076078msec, maxt=1076078msec

Disk stats (read/write):
  sda: ios=118009/40883, merge=6/223, ticks=6634320/2025830, in_queue=8659860, util=100.00%

All Pi Tests

Local WD Labs Pi Drive on Raspberry Pi Zero W

(bottleneck=drive)
Read 433271B/s - iops=105
Write 146052B/s - iops=35

Local WD Labs Pi Drive on Orange Pi Pc

(bottleneck=drive)
Read 449221B/s - iops=109
Write 150715B/s - iops=36

Local WD Labs Pi Drive on Orange Pi Zero

(bottleneck=drive)
Read 484061B/s - iops=118
Write 161656/s - iops=39

Local Samsung 840 SSD via a USB to SATA adapter on Raspberry Pi Zero W

Read 2714KB/s - iops=678
Write 928229/s - iops=226

Local Samsung 840 SSD via a USB to SATA adapter on Orange Pi Zero

Read 10245KB/s - iops=2561
Write 3421KB/s - iops=855

Local Samsung 840 SSD via a USB to SATA adapter on Orange Pi Pc:

(bottleneck=USB)
Read 3944KB/s - iops=986
Write 1317KB/s - iops=329

Other tests

Local WD RED 3T - Software RAID 1 - Core i7, Debian

(Bottleneck=drive+soft)
Read 732683B/s - iops 178
Write 245553B/s - iops 59

Local Sandisk Ultra SSD on Ubuntu - Dell Precision M4300

Read 20390KB/s - iops 5097
Write 6846KB/s - iops 1711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment