Writing /data/wwwroot/root.unknown.sk/wdtv/wiki/data/meta/network_filesystems_and_data_transfering.meta failed
 
Writing /data/wwwroot/root.unknown.sk/wdtv/wiki/data/cache/4/4a0115a443b76a9f2f4c95c016dae95b.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /data/wwwroot/root.unknown.sk/wdtv/wiki/data/cache/4/4a0115a443b76a9f2f4c95c016dae95b.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /data/wwwroot/root.unknown.sk/wdtv/wiki/data/cache/4/4a0115a443b76a9f2f4c95c016dae95b.xhtml failed

I think is better write a script for this testing and add it to firmware release and people will get result and we will see which adapter and combinantion is best

How to start NFS under Windows
MS NFS is providing about 8MB aka 64mbit troughtput (confirmed by sasa)
How to start alternative NFS server or
Winnfsd
SOSSNT
AlegroNFS source code
Cygwin NFSd have lower performance
haneWIN NFS Server for Windows

Also see this HowTo guide for information on setting up Microsoft's Services for Unix (which includes both an nfs server and client). Two things:



add here real performance information pls

New Driver or Adapter Speed testing

Test A) NFS reading throughput test (PC→WDTV)

$ time cat /mnt/pc_nfs_share/movie1.avi > /dev/null
   real    4m 13.10s
   user    0m 1.04s
   sys     0m 24.93s

or

$ time dd if=/mnt/pc_nfs_share/movie1.avi of=/dev/null bs=8k
$ time dd if=/mnt/pc_nfs_share/movie1.avi of=/dev/null bs=16k

save real values <filesize in MB> / [real values]=( (4min*60) + 13sec) = 2.766 MB/s * 8 = ~22mbit/s
Test

B) SMB/CIFS reading throughput test (PC→WDTV) its same like in NFS case but in this you will read from Windows/CIFS share. We dont need to known how slow is NTFS writting. We need to know which adapter+module providing best performance. And we can then think howto increase it or if is enougth for IP video streamming.

or

Hi, if you have windows you can use putty.exe to telnet to the WDTV: Just set IP address of WDTV as the Host Name and select Telnet as the connection type and click on Open. When asked for login, type “root”.

Then you can access your nfs or cifs shares in /tmp/boot directory:

cd /tmp/boot

list the content of directory:

ls -l

write the whole path you are in:

pwd

change the directory:

cd directoryname

and test speed of network with some file:

time cat videofile.avi > /dev/null

you get something like this: # time cat divx6hd.avi > /dev/null real 0m 5.16s user 0m 0.02s sys 0m 1.32s

then you calculate the speed of network transfer: 1)*8/1000000 = and the result is in Mbps

Make sure the file is on network share and not on local WDTV storage and is big enough (~100MB). You should test each file only once to make sure it is transferred over network and not copied from WDTV cache.

droopysk 2009/03/12 09:15

or you can try wget http tranfer test but you need local webserver or very fast and near internet webserver only very fast internet lines are usefull becouse you may provide lower results and bottleneck is your ISP connection and not usb lan adapter

wget -O /dev/null xxx.xxxx.com/big.jpg 
--2009-03-12 16:57:21--  http://xxx.xxxx.com.jpg
Resolving xxx.xxxx.com... xx.xx.xx.xx
Connecting to xxx.xxx.xx|xx.xx.xx.xx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2418473 (2.3M) [image/jpeg]
Saving to: `/dev/null'

100%[======================================>] 2,418,473   --.-K/s   in 0.006s

2009-03-12 16:57:22 (382 MB/s) - `/dev/null' saved [2418473/2418473]

Shares from OSX

Testing configuration

  • iMac with OSX 10.5.6 with samba sharing of folder in root (even journaled)
  • Airport extreme (ethernet wired to iMac and WDTV).
  • Apple USB/Ethernet adapter (plugged directly in USB port of WDTV).
  • Passive HUB in other USB port of WDTV with 2 USB HFS+ disks and 1 USB FAT32 flash drive (the latter with the ext3-boot firmware) attached.
  • WDTV firmware ext3-boot 0.8.5.3:

Testing enviroment (TSST Corp 2GB USB2 FAT32 flash drive, LaCie 500MB USB2 HFS+ drive,

  • via FTP to HFS+ disks - read 19,6Mb/s write 30Mb/s
  • via FTP to FAT32 flash 2GB drive - read 15,85Mb/s write 12Kb/s ???

via Streaming

  • 720p MKV nominal BitRate 5070Kbps 5refFrames OK
  • 720p MKV BitRate 7252Kbps 6refFrames OK
  • 1080p MKV nominal BitRate 4000Kbps 8refFrames OK (some pixelation at decoding)
  • 1080p MKV nominal BitRate 6000Kbps 1refFrame OK

Notes:

  • Only samba sharing of a folder in the root directory of the iMac works
    (for example xmount 192.168.1.36/SharedDirectory ShareName CIFS), other deeper nested shares like Users/folder/SharedDirectory do not work.
  • Both guest or user/password access works.
  • NFS sharing (via NFS Manager SW) doesn't seem to work.
  • MediaLibrary on the WDTV side can be On or OFF.
  • No symbolic links within the shared folder work for the WDTV.
  • Placing the ext3boot firmware on a HFS+ drive doesn't work.

Netdata 2009/03/08 18:55

How to enable NFS under MacOSX

Copy performance Tests

usb key model - firmware name (like pivot fw 0.3) - storage type FLASH USB2/USB-HDD Ext3 - copy speed from PC→WDTV(storage) and your nickname thx

All tests using ext3-boot-0.3 distribution and a USB2 hard drive, using a 200-meg file. Test stats performed using “time dd … bs=16384” and calculating bits/sec. I used a 200meg file to minimize caching (the box has 128 meg of memory, of which 70meg is commonly cache buffers).

  • hfs+: Read speed 50mbit/s, write speed 70mbit/s
    • copy file 3.6mbit/s (odd, right? You'd think it would move at least 25mbit….)
  • ext2: Read speed 11mbit/s, write speed 8mbit/s
    • copy file 5mbit/s
  • ntfs: Read speed (ntfs read-only driver) 6mbit/s
  • ntfs-3g driver: 4.2mbit/s Read speed 2.8mbit/s
  • fat32 on cheap usb stick (Feiya Technology Corp) - read speed 50mbit/s write speed 1.1mbit/s

Ok, please ignore the following network tests, which were with the Linksys USB200M ethernet dongle. It was _lousy_.

  • cifs-mounted file share: read speed 2mbit/s, write speed 1.1mbit/s
  • nfs-mounted file share: (cygwin nfs-server. nfs v2–no idea why v3 isn't working yet)
    1. mounted with nolock,udp: read speed 3.5mbit/s write speed 2.3mbit/s
    2. mounted with nolock,tcp: read speed 1.7mbit/s write speed 1.2mbit/s
  • samba share from xp
    1. to/from hfs+ partition read speed 6.6mbit/s write speed 20mbit/s
    2. to/from tmpfs (memory) read speed 17mbit/s write speed 20mbit/s

My new network dongle is a Trendnet TU2-ET100. It performs SOO much better. (which is curious, since they both use the same kernel driver, asix.ko).

  • cifs-mounted file share: read speed 20mbit/s, write speed 4mbit/s (why is writing so much slower? Weird)
  • nfs-mounted file share: read speed 33mbit/s, write speed 22mbit/s (oh yea)
  • samba share from xp
    1. to/from ext3 partition: nfs-mounted file share: read speed 3.5mbit/s, write speed 14mbit/s (again, going to the wdtv box is faster)

Zorander 2009/02/18 08:51

Samba (is this still required I think is added to firmware 0.3 - if is true this section should be removed

Required Librairies :

libresolv.so.0
libresolv-0.9.28.so
libcups.so.2
libssl.so.0.9.7
libcrypto.sos.0.9.7

Directory /var : read and write

Directory /usr : for configuration and sbin files !

Login : nobody Password : test

works in read mode only ( no chmod 777 with my distro, we must use Zorander distro with ext3 support for write i think )

Files : http://www.mediafire.com/?zroxyx4gp0w — updated admin 2009/02/15 20:28 looks like better ?:)?


1) filesize in bytes)/(real time in seconds
 
network_filesystems_and_data_transfering.txt · Last modified: 2009/04/19 14:07 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki