odroid@odroid:~$ uname -a
Linux odroid 4.4.0-rc1 #4 SMP PREEMPT Wed Nov 18 17:53:26 KST 2015 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ zcat /proc/config.gz | grep USB_UAS
CONFIG_USB_UAS=m
odroid@odroid:~$ lsmod
Module Size Used by
cfg80211 210902 0
cpufreq_userspace 1716 0
cpufreq_ondemand 8810 0
cpufreq_powersave 1065 0
cpufreq_conservative 6754 0
joydev 9349 0
mousedev 10616 0
evdev 11785 0
input_leds 2852 0
uas 13763 0
usb_storage 47236 1 uas
cdc_ether 4814 0
usbnet 23844 1 cdc_ether
r8152 32400 0
leds_pwm 3135 0
ipv6 333279 42
autofs4 24109 2
odroid@odroid:~$ sudo mount /dev/sda1 /media/hdd
[ 120.020691] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
odroid@odroid:~$ cd /media/hdd/
odroid@odroid:/media/hdd$ sudo dd if=/dev/zero of=test oflag=direct bs=8M count=64
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 4.61635 s, 116 MB/s
odroid@odroid:/media/hdd$ sudo dd if=test of=/dev/null iflag=direct bs=8M
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 4.54198 s, 118 MB/s
odroid@odroid:/media/hdd$ sudo hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 638 MB in 2.00 seconds = 318.73 MB/sec
Timing buffered disk reads: 342 MB in 3.01 seconds = 113.51 MB/sec
odroid@odroid:/media/hdd$ zcat /proc/config.gz | grep USB_UAS
# CONFIG_USB_UAS is not set
odroid@odroid:/media/hdd$ lsmod
Module Size Used by
cfg80211 210902 0
cpufreq_userspace 1716 0
cpufreq_ondemand 8810 0
cpufreq_powersave 1065 0
cpufreq_conservative 6754 0
joydev 9349 0
mousedev 10616 0
evdev 11785 0
input_leds 2852 0
usb_storage 47236 1
cdc_ether 4814 0
usbnet 23844 1 cdc_ether
r8152 32400 0
leds_pwm 3135 0
ipv6 333279 40
autofs4 24109 2
odroid@odroid:/media/hdd$ sudo dd if=/dev/zero of=test oflag=direct bs=8M count=64
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 4.51778 s, 119 MB/s
odroid@odroid:/media/hdd$ sudo dd if=test of=/dev/null iflag=direct bs=8M
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 4.44664 s, 121 MB/s
odroid@odroid:/media/hdd$ sudo hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 1480 MB in 2.00 seconds = 740.93 MB/sec
Timing buffered disk reads: 356 MB in 3.01 seconds = 118.18 MB/sec
odroid@odroid:/media/hdd$ sudo dd if=/dev/zero of=test oflag=direct bs=8M count=64
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 3.22502 s, 166 MB/s
odroid@odroid:/media/hdd$ sudo dd if=test of=/dev/null iflag=direct bs=8M
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 3.47056 s, 155 MB/s
odroid@odroid:/media/hdd$ sudo hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 640 MB in 2.00 seconds = 319.46 MB/sec
Timing buffered disk reads: 394 MB in 3.01 seconds = 131.04 MB/sec
odroid@odroid:/media/hdd$ sudo dd if=/dev/zero of=test oflag=direct bs=8M count=64
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 3.1917 s, 168 MB/s
odroid@odroid:/media/hdd$ sudo dd if=test of=/dev/null iflag=direct bs=8M
64+0 records in
64+0 records out
536870912 bytes (537 MB) copied, 3.52293 s, 152 MB/s
odroid@odroid:/media/hdd$ sudo hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 1478 MB in 2.00 seconds = 740.41 MB/sec
Timing buffered disk reads: 408 MB in 3.01 seconds = 135.46 MB/sec
odroid wrote:Ummm...
The UAS driver might not be working correctly or something wrong in the ARM platform.
Brian.K wrote:Tested on CloundShell for XU4
odroid wrote:Good point !
There is a GL3321G in our cloudshell as a USB-SATA bridge controller.
According to the GL3321G datasheet, it supports the USB Attached SCSI (UAS) and USB Attached SCSI Protocol (UASP).
So we might need to find missing items to activate it.
darkbahamut@odroid:/media/darkbahamut/895e1fce-7ac1-4826-813e-4e02e546e3c1$ dd if=test of=/dev/null iflag=direct bs=8M
256+0 records in
256+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 6.75137 s, 318 MB/s
jobenvil wrote:I have done several time ago some UAS performance tests, if you are interested. I updated it, today, with 4.9.17@mdjr:
http://xu4.keltike.de/
Return to Hardware and peripherals
Users browsing this forum: No registered users and 2 guests