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.
(current Raspbian)
uname -a
Linux raspi0wd 4.9.17+ #981 Fri Mar 24 14:18:06 GMT 2017 armv6l GNU/Linux
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
(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
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%
(bottleneck=drive)
Read 433271B/s - iops=105
Write 146052B/s - iops=35
(bottleneck=drive)
Read 449221B/s - iops=109
Write 150715B/s - iops=36
(bottleneck=drive)
Read 484061B/s - iops=118
Write 161656/s - iops=39
Read 2714KB/s - iops=678
Write 928229/s - iops=226
Read 10245KB/s - iops=2561
Write 3421KB/s - iops=855
(bottleneck=USB)
Read 3944KB/s - iops=986
Write 1317KB/s - iops=329
(Bottleneck=drive+soft)
Read 732683B/s - iops 178
Write 245553B/s - iops 59
Read 20390KB/s - iops 5097
Write 6846KB/s - iops 1711