I had a chance to test the WesternDigital My Book Desktop External Hard Drive 8TB USB HDD.
My friend bought it from Amazon at US$200 to build his own NAS because he doesn't like Seagate HDD.
Its VID/PID is
1058:25ee Western Digital Technologies, Inc.
and it is not compatible with the current Linux UAS driver.
But the Samba performance is quite great.
Downloading an 8GB file to my laptop from XU4.
Uploading from laptop to XU4.
Helios LanTest (3GB transfer option)
1.1GB write/read test
Code: Select all
root@odroidxu4:/srv/dev-disk-by-label-WD-8TB# dd if=/dev/zero of=test oflag=direct bs=8M count=128
128+0 records in
128+0 records out
1073741824 bytes (1.1 GB) copied, 6.83797 s, 157 MB/s
root@odroidxu4:/srv/dev-disk-by-label-WD-8TB# dd if=test of=/dev/null iflag=direct bs=8M
128+0 records in
128+0 records out
1073741824 bytes (1.1 GB) copied, 7.30801 s, 147 MB/s
iozone test
Code: Select all
root@odroidxu4:/srv/dev-disk-by-label-WD-8TB# 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 32 bit mode.
Build: linux
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England, Vikentsi Lapa.
Run began: Sun Jul 23 09:46:21 2017
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 11961 12917 13657 13407 975 1697
102400 16 36688 46307 48070 48766 3995 6688
102400 512 99193 170704 142096 144098 58088 105747
102400 1024 128864 168531 138373 147353 76938 128194
102400 16384 133294 145069 126976 129849 137700 141307
iozone test complete.
Another proof that generic NAS performance is not affected by the UAS feature significantly.