Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfs question. kernel server setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon Mar 24, 2003 6:34 pm    Post subject: nfs question. kernel server setup Reply with quote

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
View user's profile Send private message
nh8as
n00b
n00b


Joined: 01 Mar 2003
Posts: 26
Location: Norway

PostPosted: Mon Mar 24, 2003 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon Mar 24, 2003 7:08 pm    Post subject: Reply with quote

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
Code:
rpcinfo -p


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
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Mar 25, 2003 4:14 am    Post subject: Reply with quote

I saw in the nfsmount manpage that you can pass an option to specify the version to use.


Brian
Back to top
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Sun Jan 11, 2004 10:55 pm    Post subject: useful wsize and nfsvers options Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum