eMMC and SD I/O tests

Tests executed with:

Result: best of 3 runs

ext4 FS on eMMC

Result:

F2FS FS on eMMC, without encryption nor compression

Result:

F2FS FS on eMMC, with encryption and no compression

Result:

F2FS FS on eMMC, with compression and without encryption

Test easily compressed data. Result: best out of 3 runs.

mkdir -p compressed                                                                         
mkdir -p noncompressed                                                                      
chattr -R +c -V compressed/                                                                 
chattr -R -c -V noncompressed/ 
yes easy-to-compress-string | dd of=compressed/zero bs=4098 count=50000 conv=fsync 
204863118 bytes (205 MB, 195 MiB) copied, 4.13678 s, 49.5 MB/s 
yes easy-to-compress-string | dd of=noncompressed/zero bs=4098 count=50000 conv=fsync 
204886284 bytes (205 MB, 195 MiB) copied, 11.7659 s, 17.4 MB/s 

Same test with difficult to compress data: compression does not increase performance

cat /dev/urandom | dd of=compressed/zero bs=4098 count=50000 conv=fsync
204800032 bytes (205 MB, 195 MiB) copied, 14.2572 s, 14.4 MB/s
cat /dev/urandom | dd of=noncompressed/zero bs=4098 count=50000 conv=fsync
204800032 bytes (205 MB, 195 MiB) copied, 13.313 s, 15.4 MB/s

ext4 on SD card

Result:

ext4 on SD card (Sandisk extreme 128G A2 U3)

Result: