Testing OdroidXU4 4.8 Kernels with and without UAS Support
Considering following test setup:
- cpufreq-set to performance both A7&A15 cores
- MicroSDHC 32GB EVO Plus UHS-I Grade 1 Class 10, date: 07/2016
- SSD Samsung 850 EVO 500GB, Firmware Revision EMT02B6Q
- USB3/SATA6 enclousure:
idProduct ASMT1051
(0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
)
Tested OdroidXU4 branches:
- Kernel:
ioft/linux
branch || Kernel 4.8-rc5
|| default odroidxu4_defconfig
with UAS Support
- Kernel:
tobetter/linux
branch || kernel 4.8-rc5+
|| default odroidxu4_defconfig
without UAS
1) Performance on SSD:
Command line tests:
1.- iozone -e -I -a -s 100M -r 4k -r 16k -r 32k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
- Results without uas (usb-storage modus):
KB |
reclen |
write |
rewrite |
read |
reread |
random read |
random write |
102400 |
4 |
15085 |
14353 |
16074 |
16183 |
14223 |
14199 |
102400 |
16 |
44326 |
52025 |
49768 |
49678 |
48749 |
51244 |
102400 |
32 |
76708 |
77953 |
80884 |
78109 |
78348 |
84464 |
102400 |
512 |
192734 |
200385 |
169273 |
172458 |
177746 |
209328 |
102400 |
1024 |
188233 |
207142 |
176447 |
176386 |
176189 |
211852 |
102400 |
16384 |
163030 |
215054 |
178055 |
178316 |
178484 |
215469 |
KB |
reclen |
write |
rewrite |
read |
reread |
random read |
random write |
102400 |
4 |
15919 |
18279 |
22359 |
22342 |
17333 |
21088 |
102400 |
16 |
60395 |
63605 |
71811 |
71835 |
57757 |
64621 |
102400 |
32 |
98007 |
104145 |
104709 |
104633 |
87834 |
105577 |
102400 |
512 |
211427 |
229984 |
188341 |
188498 |
185005 |
238125 |
102400 |
1024 |
255740 |
259705 |
226446 |
226927 |
224105 |
269753 |
102400 |
16384 |
260751 |
333293 |
317813 |
317566 |
317351 |
334061 |
2.- dd if=/dev/zero of=test oflag=direct bs=8M count=64 && dd if=test of=/dev/null iflag=direct bs=8M && rm test
- Results tobetter 4.8-rc5 Kernel:
536870912 bytes (537 MB, 512 MiB) copied, 3,40853 s, 158 MB/s
for Write
536870912 bytes (537 MB, 512 MiB) copied, 2,85195 s, 188 MB/s
for Read
- Results ioft 4.8-rc5 Kernel:
536870912 bytes (537 MB, 512 MiB) copied, 1,98129 s, 271 MB/s
for Write
536870912 bytes (537 MB, 512 MiB) copied, 1,86621 s, 288 MB/s
for Read
3.- hdparm -tT /dev/sda1
and hdparm -t --direct /dev/sda1
- Results tobetter 4.8-rc5 Kernel:
Timing cached reads: 872 MB in 2.00 seconds = 435.31 MB/sec
Timing buffered disk reads: 596 MB in 3.00 seconds = 198.48 MB/sec
Timing O_DIRECT disk reads: 514 MB in 3.00 seconds = 171.30 MB/sec
- Results ioft 4.8-rc5 Kernel:
Timing cached reads: 856 MB in 2.00 seconds = 427.38 MB/sec
Timing buffered disk reads: 806 MB in 3.01 seconds = 268.12 MB/sec
Timing O_DIRECT disk reads: 652 MB in 3.00 seconds = 217.14 MB/sec
4.- HELIOS LanTest (SAMBA):
- Results tobetter 4.8-rc5 Kernel:

- Results ioft 4.8-rc5 Kernel:

2) Performance on MicroSDHC
Command line tests:
1.- iozone -e -I -a -s 100M -r 4k -r 16k -r 32k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
- Results tobetter 4.8-rc5 Kernel with awesome UHS-I patch:
KB |
reclen |
write |
rewrite |
read |
reread |
random read |
random write |
102400 |
4 |
4252 |
4209 |
12177 |
12176 |
12131 |
4330 |
102400 |
16 |
19081 |
20295 |
31904 |
31571 |
32115 |
20364 |
102400 |
32 |
30360 |
30919 |
38230 |
38046 |
37685 |
31072 |
102400 |
512 |
57890 |
58322 |
65399 |
65356 |
65384 |
58563 |
102400 |
1024 |
59893 |
59565 |
67419 |
67416 |
67378 |
60509 |
102400 |
16384 |
58663 |
63522 |
75495 |
75465 |
75496 |
63752 |
- Results ioft 4.8-rc5 Kernel:
KB |
reclen |
write |
rewrite |
read |
reread |
random read |
random write |
102400 |
4 |
2159 |
2746 |
8168 |
8100 |
8166 |
2845 |
102400 |
16 |
10498 |
11342 |
15344 |
15277 |
15579 |
11504 |
102400 |
32 |
13997 |
14942 |
17800 |
17840 |
17729 |
14593 |
102400 |
512 |
19671 |
19739 |
21763 |
21764 |
21756 |
20550 |
102400 |
1024 |
19020 |
19938 |
21965 |
21982 |
21980 |
20705 |
102400 |
16384 |
20199 |
21383 |
22791 |
22776 |
22791 |
21413 |
2.- dd if=/dev/zero of=test oflag=direct bs=8M count=64 && dd if=test of=/dev/null iflag=direct bs=8M && rm test
- Results tobetter 4.8-rc5 Kernel (has UHS-I patch. dmesg like ultra high speed):
536870912 bytes (537 MB, 512 MiB) copied, 25,1051 s, 21,4 MB/s
for Write
536870912 bytes (537 MB, 512 MiB) copied, 6,92232 s, 77,6 MB/s
for Read
- Results ioft 4.8-rc5 Kernel (it doesn’t have UHS-I patch. dmesg like high speed):
536870912 bytes (537 MB, 512 MiB) copied, 35,2372 s, 15,2 MB/s
for Write
536870912 bytes (537 MB, 512 MiB) copied, 23,0035 s, 23,3 MB/s
for Read
3.- hdparm -tT /dev/mmcblk1p2
and hdparm -t --direct /dev/mmcblk1p2
- Results tobetter 4.8-rc5 Kernel:
Timing cached reads: 854 MB in 2.00 seconds = 426.94 MB/sec
Timing buffered disk reads: 180 MB in 3.02 seconds = 59.55 MB/sec
Timing O_DIRECT disk reads: 178 MB in 3.02 seconds = 59.02 MB/sec
- Results ioft 4.8-rc5 Kernel:
Timing cached reads: 814 MB in 2.00 seconds = 406.69 MB/sec
Timing buffered disk reads: 64 MB in 3.04 seconds = 21.03 MB/sec
Timing O_DIRECT disk reads: 64 MB in 3.01 seconds = 21.29 MB/sec
4.- HELIOS LanTest (SAMBA):
- Results tobetter 4.8-rc5 Kernel:

- Results ioft 4.8-rc5 Kernel:

Having:
1. Samba configuration