I did a few benchmarks after installing OpenWrt:
SNAPSHOT r27119-c609c3bd6e
Raw networking performance: ~750 Mbps
iperf3 from x86_64 desktop to server on gnubee
SATA disk benchmarks (a single device at a time)
TEST_DIR=/mnt/tmp
SIZE=1G
IODEPTH=16
RUNTIME=30s
PARAMS="--directory=$TEST_DIR --size=$SIZE --iodepth=$IODEPTH --time_based --runtime=$RUNTIME --ramp_time=2s --direct=1 --verify=0 --ioengine=libaio --group_reporting=1"
{
sync ; sleep 10 ; fio $PARAMS --name=write_bw --bs=1M --rw=write --numjobs=1 ; echo ;
sync ; sleep 10 ; fio $PARAMS --name=write_io --bs=4K --rw=randwrite ; echo ;
sync ; sleep 10 ; fio $PARAMS --name=read_bw --bs=1M --rw=read --numjobs=1 ; echo ;
sync ; sleep 10 ; fio $PARAMS --name=read_io --bs=4K --rw=randread ; echo ;
} > bench-fio.txt
Results:
Seagate green 1TB (spinning) - EXT4
write_bw: IOPS=75, BW=76.3MiB/s
cpu: usr=4.53%, sys=4.99%, ctx=2224
drive util=99.05%
write_io: IOPS=833, BW=3337KiB/s
cpu: usr=8.71%, sys=26.15%, ctx=3982
drive util=89.63%
read_bw: IOPS=79, BW=79.7MiB/s
cpu: usr=0.45%, sys=6.48%, ctx=2404
drive util=99.96%
read_io: IOPS=148, BW=597KiB/s
cpu: usr=1.45%, sys=1.81%, ctx=4512
drive util=99.94%
Crucial MX500 (SSD) - EXT4
write_bw: IOPS=158, BW=159MiB/s
cpu: usr=9.33%, sys=10.60%, ctx=4688
drive util=83.72%
write_io: IOPS=2105, BW=8422KiB/s
cpu: usr=26.14%, sys=61.66%, ctx=59665
drive util=23.39%
read_bw: IOPS=153, BW=154MiB/s
cpu: usr=1.53%, sys=11.78%, ctx=4634
drive util=94.28%
read_io: IOPS=6550, BW=25.6MiB/s
cpu: usr=44.41%, sys=55.54%, ctx=311
drive util=90.73%
Crucial BX120 (SSD) - XFS
write_bw: IOPS=157, BW=158MiB/s
cpu: usr=10.13%, sys=10.60%, ctx=4754
drive util=83.87%
write_io: IOPS=2184, BW=8742KiB/s
cpu: usr=32.56%, sys=29.77%, ctx=65382
drive util=24.53%
read_bw: IOPS=153, BW=154MiB/s
cpu: usr=1.69%, sys=12.35%, ctx=4645
drive util=93.98%
read_io: IOPS=6921, BW=27.0MiB/s
cpu: usr=44.86%, sys=55.12%, ctx=295
drive util=87.53%