Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I know that unfsd.sh is for the user space NFS and that nfsd.sh requires kernel support (insmod a .ko or two), but are there any other differences ?
What are the main advantages and disadvantages to each one ? Does one require more resources (mem, cpu) than the other ? Which one has a faster transfer rate ?
TIA for any information
Offline
The unfs server sources include a mail from Olaf Kirch about user vs. kernel NFS. Obviously, Kirch thinks that user-space NFS is a bad idea.
http://cvs.lysator.liu.se/viewcvs/viewc … iew=markup
Offline
Thanks for that link Fonz. After reading it I am left with more questions than answers, but either way I am going to give the kernel mode NFS a shot and compare it's benchmarks up against what I got with the user-space NFS.
In a nutshell I am having trouble streaming some higher bitrate videos currently, so I am looking at the NFS code to see if I can squeeze some more throughput out of it. Right now I am seeing about half the 100 Mbps link (and the receiving system doesn't support Gbps LAN).
Thanks again
Offline
Sparkss wrote:
Right now I am seeing about half the 100 Mbps link (and the receiving system doesn't support Gbps LAN).
I assume you know about the usual tuning options (rsize, wsize, noatime, etc).
Offline
You give me too much credit . No, I was not aware of any tuning opportunities with the user-space NFS. Can you point me to any documentation on those options ?
I also tried just enabling the kernel mode NFS and it didn't work, but I also did not load any kernel mode drivers for it (.ko files). I checked on the Modules FTP site but didn't see anything there that seemed to be appropriate for an NFS kernel module. I looked around and could not find any documentation on which module was required.
Thanks again for your responses and in general for all of your hard work to get us to where we are today with all of this (fun plug, general knowledge, etc)
Offline
Ok, I googled those parms and HFS tuning in general. Doing alot of reading currently. But if anyone happens to have any docs specific to the DNS-323 implementation(s) of NFS, I would be most appreciative (just in case there are any nuances to the best practice settings for our purposes).
TIA
Last edited by Sparkss (2008-05-22 19:08:24)
Offline
ok, I added the rsize, wsize, intr and noatime flags to the exports lines. I also used nfsstat to check a few things and this was the output for nfsstat -rc
Client rpc stats:
calls retrans authrefrsh
2441347 519 0
From what I read the retrans indicates a need to bump the kernel threads for the NFSD, but since I am still using a user-space NFSD I don't see how that would be an option. So unless I find some new data I guess I am off to figure out how to get the kernel level NFSD up and running. Any information and/or assistance would be greatly apprecaited
Offline
rsize,wsize,noatime etc are client options, don't belong into the exports file.
mount -t nfs -o rsize=32768,wsize=32768,noatime,tcp ippe:/mnt/HD_a2 /mnt
look here: http://dns323.kood.org/howto:ffp#nfs_ne … ile_system
and here: http://nfs.sourceforge.net/nfs-howto/
Offline
I did add them to the client side where I could. But at least one of our clients is an appliance, so I am not 100% sure I could set those options or not.
So, is TCP better to use than UDP for tranmission protocol ? (Better == Faster) ? I thought udp was more efficient, just less reliable due to it being "connection-less". Am I working off of mis-information ?
Going to read up on those links you provided (not sure why I didn't find them in my earlier searches ). Thanks again !!
Offline
so, from what I read the only way to get kernel level NFS is to compile my own kernel and include NFS support ?
---- snip ----
NFS-utils contains required utilities to activate a kernel NFS server (Kernel-level NFS support is available on the CH3SNAS, and not on the DNS-323 unless you install your own kernel). More information can be found in the Linux NFS-HOWTO at http://nfs.sourceforge.net/nfs-howto/
---- snip ----
The Sourceforge page notes that all kernels 2.6 or higher have support for NFS possible, and since we are running 2.6.12 on the DNS-323 it seems that it is possible, but not sure if it is worth the time/trouble ?
I will continue trying to tune the user-space nfs for now, but am not sure if that will actually have the results that I am looking for .
Thanks for hte links and information Fonz !!!
Offline
too bad too, wonder if I can get a Conceptronic to run in the US ? (thought they were mainly European).
Thanks again for the answers Fonz, even if they were not all exactly what I was wanting to hear, they have helped to prevent me to spending too much more time reading and interpretting (or maybe misinterpretting) all of the data out there. You helped to confirm my assessments of the various data sources I have read up on so far : That user-space NFS is about all I am going to get out of this DNS-323 for now.
Thanks again
Offline
the tuning worked out well enough that I don't feel that I need to re-work any of our setup (no new hubs/switches, cables, etc). The one file that was the hardest to stream was a 40 MBps BluRay rip (The Fifth Element Remastered) that I was streaming to our Tvix player. Most of the vids played fine, but there were 2 above 35 MBps that had issues, at least until I finished the tunning excercise . Many thanks Fonz !!!!
Offline
Is it possible to install Conceptronic firmware on the DNS323 - has anyone tried it and can you go back?
Last edited by sbrundell (2008-05-23 13:49:17)
Offline
I have Conceptronic firmware on my DNS323. It is no problem to put them on your nas.
Put the images on your harddisk and write them with
cat kernel > /dev/mtdblock2
and
cat ramdisk > /dev/mtdblock3
Do not mix the kernel images with other ramdisk images. If your flash is not successfull
you will need a serial port on your nas to recover it.
You can get the splited images here : http://rapidshare.de/files/39498123/dns … r.bz2.html
Offline
Thanks for the information. Is there less risky way to do the upgrade ? IE: do an actual FW installation just using the FWP file from Conceptronic instead of D-Link ?
I already know at least one Pro to using their FW, are there any other Pros ? and more importantly, any Cons ?
Thanks again
Offline
Just in case someone finds this old thread in the same way I did while researching kernel NFS on the DNS-323, thought I'd post an update on what I did with the suggestions outlined here...
I took the plunge and updated my DNS-323 firmware with Conceptronic's v1.03 (rapidshare link above). Then grabbed the latest release from Conceptronic's web site (v1.04RC5 upgrade):
http://download.conceptronic.net/GrabnGo/CH3SNAS/
You need to use the split images (kernel/ramdisk) initially to get the CH3SNAS firmware deployed before you can make use of the later updates (via browser-based admin console).
With that done, funplug 0.5 can be installed and kernel NFS activated (was running 0.4 previously). Everything worked a treat!
After weeks of dicking around with this and troubleshooting the compatibility issues between unfs and VMware ESX I can now say that I am completely satisfied with the setup.
I hope this serves to allay anyone's concerns about the whole process.
Offline
I think I may need to go down the Conceptronic path since I really need full nfs and unfs is giving me problems with backuppc with stale links.
But before I go messing with the firmware (and potentially bricking my NAS), I had a few questions:
1. Specifically, can you point me to a detailed step-by-step of how to do the update? (I'm not sure I 100% understand the two-step update process you are suggesting and I don't understand what you mean by "split images")
2. Once I upgrade to the Conceptronics firmware, is it possible to downgrade back to the D-Link firmware if I need/want to? (e.g., if I need to return the unit for warranty service)
3. Does this work with all version of the DNS-323? I have HW ver B1 originally with firmware 1.04 now upgraded to 1.05?
4. What are the web-interface differences between the DNS-323 firmware and the Conceptronics version? Are they significant? (i.e. are the features and interface basically the same other than minor differences in branding or displar or are there major functional or structural differences)
5. What risks (if any) do I run in bricking this unit by doing the upgrade? Is it just as safe as a native DNS-323 upgrade?
Offline
I see that puterboy's questions went unanswered. I have essentially the same questions, especially question number 1 on his list.
I've downloaded the rapidshare file and I used winrar on my pc to unpack it. It contains 4 files:
ramdisk_dlink_v1.03
ramdisk_conceptronic_v1.03
kernel_dlink_v1.03
kernel_conceptronic_v1.03
Do I ftp the unpacked Conceptronic files (kernel_conceptronic_v1.03 and ramdisk_conceptronic_v1.03) to the root of the DNS-323?
Do I then telnet in and enter supamicha's commands, but modified to read:
cat kernel_conceptronic_v1.03 > /dev/mtdblock2
cat ramdisk_conceptronic_v1.03 > /dev/mtdblock3
and then power down and restart the DNS-323?
Or is the above not right? I'm a linux newbie so I don't want to try this if I'm going to brick my DNS-323. The serial connection unbricking instructions look like far more than I'd care to take on. I imagine there are others besides puterboy and myself who could use a little more direction in getting the Conceptronic firmware installed so that we can benefit from the kernel-level NFS.
If anybody could jump in with some help, I'd be grateful.
Offline
borntochill wrote:
I see that puterboy's questions went unanswered. I have essentially the same questions, especially question number 1 on his list.
I am getting closer (hopefully) to a solution that doesn't require modifying the firmware and the potential risks that entails.
See the thread http://dns323.kood.org/forum/viewtopic. … 697#p21697 for details (especially towards the end).
Offline
I just flashed my DNS-323 with the method described above. I have revision B1. I rebooted from the prompt after performing the above commands.
Offline
rek075, did you flash the DNS-323 to the conceptronic firmware using the commands just as I had them in my last post or did you do anything different?
Offline
borntochill, rek075 says that he did cat commands just as you described. Unfortunately he tried to later upgrade his firmware through the web interface and bricked his 323.
Now I've inherited it to try to bring it back to life.....
Offline