Hi I just tested my sdcard that came with the Pine (16GB) and a Samsung EVO 64GB using a fresh Ubuntu base image, the lastest longsleep kernel (3.10.102-0-pine64-longsleep) , cpufreq governor set to performance and no modifications to the default ext4 fs options: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Pine64 Card:
Samsung EVO 64GB:
As you can see the Samsung card performs better for sequential reads/writes especially for small record sizes, and more importantly for random writes. I will test the EVO64 some more...
Samsung EVO 64GB with data=writeback option set: sudo tune2fs -o journal_data_writeback /dev/mmcblk0p2
Pine64 Card:
Code:
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Run began: Sat Jun 18 10:57:35 2016
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 1089 1639 6205 6200 6084 861
102400 16 4487 5281 16132 16142 15479 3042
102400 512 11815 13298 23110 23115 23096 9730
102400 1024 12785 12821 23101 23133 23127 9972
102400 16384 12869 12833 23200 23204 23203 11373
iozone test complete.
Samsung EVO 64GB:
Code:
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Run began: Sat Jun 18 11:16:53 2016
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 2340 3036 6793 6788 6827 3094
102400 16 8928 10921 13699 13680 13701 11189
102400 512 15670 15867 22157 21623 21658 17665
102400 1024 14191 17536 22134 21658 21944 18878
102400 16384 16842 18374 21611 21916 21188 17114
iozone test complete.
As you can see the Samsung card performs better for sequential reads/writes especially for small record sizes, and more importantly for random writes. I will test the EVO64 some more...
Samsung EVO 64GB with data=writeback option set: sudo tune2fs -o journal_data_writeback /dev/mmcblk0p2
Code:
ubuntu@pine64:~$ iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Iozone: Performance Test of File I/O
Version $Revision: 3.429 $
Compiled for 64 bit mode.
Build: linux
Run began: Sat Jun 18 11:29:59 2016
Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Record Size 16 kB
Record Size 512 kB
Record Size 1024 kB
Record Size 16384 kB
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 2319 3321 7347 7363 7357 3526
102400 16 10166 12550 14464 14432 14471 12570
102400 512 21591 21566 23143 23140 23139 21616
102400 1024 21653 21565 23097 23100 23098 21645
102400 16384 21678 21662 23084 23082 23082 21690
iozone test complete.
Come have a chat in the Pine IRC channel >>