DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-07-15 17:41:46

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

Hi!

I own two DNS-323 with the newest DLink Firmware and Fonz 0.5. I use these NAS servers mainly for streaming or MPEG2 SD content from dbox2 and dreambox set-top-boxes.

Recording and streaming went perfectly until recently. Since I have upgraded to the latest firmware and to the latest Fonz the videostreams  become interrupted often: instead of one complete stream the streams are fragmented in to several smaller pieces. Sometimes no recording whatsoever takes place.

I am using UNFS3 User-Space NFS Server with the dlink firmware. My guess is that the NFS-Utils NFS Server is much more efficient - but it requires kernel support. Kernel support is not available for the dlink firmware so I have to use the CH3SNAS firmware, right?

Questions:

- Is my assumption correct that kernel mode NFS is faster than user mode NFS?
- How can I get the CH3SNAS firmware on my DNS-323?
- Can I revert back to the original DNS-323 firmware?

Offline

 

#2 2008-07-15 18:03:20

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

xo-vision wrote:

Kernel support is not available for the dlink firmware so I have to use the CH3SNAS firmware, right?

There's another way you can try kernel-NFS (Linux 2.6.25) without touching the firmware:
http://dns323.kood.org/howto:ffp-reloaded

Offline

 

#3 2008-07-16 00:43:22

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

Hi Fonz!

After reading "This is highly experimental" I would rather stick to something less risky. Except when the performance gain would be significant!

Is there a less risky way that will give me a better performance for NFS?

PS Great work, Fonz! Without you I wouldn't use the DNS-323...

Offline

 

#4 2008-07-16 00:47:55

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

xo-vision wrote:

After reading "This is highly experimental" I would rather stick to something less risky. Except when the performance gain would be significant!

Is there a less risky way that will give me a better performance for NFS?

I assume you know about the usual NFS tuning options?

http://nfs.sourceforge.net/nfs-howto/ar01s05.html

http://dns323.kood.org/forum/p15383-200 … tml#p15383

Offline

 

#5 2008-07-16 12:28:13

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

Well, I know about the WSIZE option...

I use these option when mounting the dbox: -t nfs -o rw,soft,udp,nolock,async,rsize=8192,wsize=32768

The secret seems to be in the WSIZE: 32768 being the best value to choose. My guess is that the optimisation options with the dbox are limited. Therefore I try to find another way of optimising - i.e. the kernel mode NFS...

Offline

 

#6 2008-07-16 12:35:15

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

You should add 'noatime'. If a wireless LAN is involved, 'tcp' often performs better than 'udp'.

Offline

 

#7 2008-07-16 13:45:22

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

I have three dbox2 , one dreambox dm500 and one Gigaset M740AV connected via a Netgear managed gigabit switch (GS108T) to another GS108T which is in turn connected to two DNS-323, one dlink NSA-220 and a Readynas NV+.
Actually the whole netowrk is in fact a gigabit network (except for the notebook connections, which are 802.11n). Unfortunately the dbox has a 10 MBit half duplex interface, which is sufficient for most SD MPEG2 content. At the same time it is very sensitive to non-optimum settings.

I will try the "'noatime'" option an feedback the results!

Thanx!

Offline

 

#8 2008-07-16 23:39:09

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

PS Mount gets me this: 192.168.1.11:/mnt/HD_a2/media/video/rec/dboxc1 on /mnt/filme type nfs (rw,v3,rsi
ze=8192,wsize=32768,soft,udp,nolock,addr=192.168.1.11)

Offline

 

#9 2008-07-17 19:57:20

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

Ok - I tested on both NAS servers. Both have the same configuration, except for the harddisks: one one DNS I have two 500 Gbyte HHD's, on one I have two 1TByte HDD'S. All HDD'S are Samsungs. Both DNS's are configured for JBOD.

On one 2TByte DNS I have the probem with interrupted streams, on the 1TByte DNS I have no problems.

The only difference ist the harddisks. The 1 TBYte Samsungs should be faster though so the result is unexpected.

Any ideas?

Offline

 

#10 2008-08-03 15:07:52

w00
Member
Registered: 2007-09-07
Posts: 29

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

xo-vision wrote:

Hi!

I own two DNS-323 with the newest DLink Firmware and Fonz 0.5. I use these NAS servers mainly for streaming or MPEG2 SD content from dbox2 and dreambox set-top-boxes.

slightly OT: xo-vision, i am doing the same here. i also have some ts-streams created from older neutrino-images (3 years old?), which wont play in VLC, they do play in MediaPlayerClassic, but MPC opens streams very slowly in my setup. All currentl recorded ts-streams run fine in vlc, its about the older ones causing me trouble. So my question is which player(s) do you use to play the .ts files on xp? btw, which image u use on the dbox?

cheerio

Offline

 

#11 2008-08-04 23:26:02

xo-vision
Member
Registered: 2007-10-08
Posts: 41

Re: Better NFS Streaming Performance on DNS-323 or CH3SNAS Firmware?

Hi!

I am using the Petze image from UMP2002.
As a player I would suggest VLC (Videloan).
A very good tool for converting into almost an format is MPEG_Streamclip (i.e. TS->MPEG ... it is lossless!).

By the way: a better recording performance can be achieved by applying the full-duplex hack (including the risky hardware modification that trashed one of my boxes). Be sure to have a suitable switch (i.e. the very good Netgear GS108T). There is no need for fixing NFS performance now...

Cheers,

Chris

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB