2015-03-05, 13:54
(2015-03-05, 11:18)twelvebore Wrote: With the stock OE install, I mounted the NFS volume and 'dd'd 800MB of the movie file to /dev/null, it gave me an average speed of 6Mbyte/sec.
If you're playing movies with bit rates up to 70Mbit/s and your network is only capable of 6MBytes/sec, then that's potentially a major problem.
However, the Pi2 is easily capable of saturating the 100Mb/s network link, and it can do this without overclocking:
Code:
rpi22:~ # dd if=/storage/freenas/media/Video/test.mkv of=/dev/null
485332+1 records in
485332+1 records out
248490131 bytes (237.0MB) copied, 22.215919 seconds, 10.7MB/s
So I'd say there's something wrong with your network (router? ethernet cable?) or your NAS/NFS server, because 6MBytes/sec is way too low for a properly configured, wired, network.
Also check how you are mounting your NFS share - using larger rsize/wsize buffers and udp instead of tcp can improve throughput. This is what I have in my autostart.sh for my OS NFS mounts:
Code:
NFSOPTS=nfsvers=3,rw,intr,noatime,rsize=32768,wsize=32768,nolock,async,proto=udp
[ ! -d /storage/freenas ] && mkdir /storage/freenas
mount -t nfs 192.168.0.3:/mnt/share /storage/freenas -o $NFSOPTS &