View previous topic :: View next topic |
Author |
Message |
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Mar 24, 2003 6:34 pm Post subject: nfs question. kernel server setup |
|
|
I have just setup an nfs server and it is working, but I believe it is using the standalone nfsd daemon insted of the compiled in nfs server. The install instructions did not say, they only refer to the nfsd. Also looking at the /etc/init.d/nfs script it calls nfsd. Do I modify the script to call the kernel's daemon? The kernel help during make menuconfig says that the kernel version is faster than the stand alone daemon, but still needs other support, but the docs don't specify which ones where it says to look . Since it is on an old slow box in a small cluster of old slow boxes any speed improvement would be beneficial.
Thanks for any help, Brian |
|
Back to top |
|
|
nh8as n00b
Joined: 01 Mar 2003 Posts: 26 Location: Norway
|
Posted: Mon Mar 24, 2003 7:00 pm Post subject: |
|
|
I have noe idea, but you'll get nfs running in standalone pretty smooth if you change the blocksize's to something that your system supports nice..
But, in stead of starting a new tread, I just bumb this up, and ask I little question of mine here also, how do I run nfs version 3? _________________ Say no to Americas war on Iraq! |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Mar 24, 2003 7:08 pm Post subject: |
|
|
if you have the latest nfs-utils it is included. If your refering to specifying to use version 3 protocols, then I don't know, I believe it is automatic. If you check
You should see that both protocolss are available on the same port. If the programmer was not asleep at the time of coding there should be code to check and use the best proto available.
Brian |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Tue Mar 25, 2003 4:14 am Post subject: |
|
|
I saw in the nfsmount manpage that you can pass an option to specify the version to use.
Brian |
|
Back to top |
|
|
Kraymer Guru
Joined: 27 Aug 2003 Posts: 349 Location: Germany
|
Posted: Sun Jan 11, 2004 10:55 pm Post subject: useful wsize and nfsvers options |
|
|
Hi there!
I upgraded my server from 2.4.20 to 2.6.1 and nfs is definitely working slower However, looking for someone else with that problem, I found this nice thread and added "wsize=16384,nfsvers=3" to my client's fstab, and speed increased by about 2 MB/s. It still isn't as fast as before (which I really can't understand) but it may help you as well.
Greets
Sebastian |
|
Back to top |
|
|
|