Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfs sucks!
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
hifi
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 184
Location: Graz

PostPosted: Wed Jan 22, 2003 11:14 pm    Post subject: nfs sucks! Reply with quote

Hello there!

My little server was able to handle nfs operations at 9MB/s until since a few days there were only 2.5MB/s second usual. Today I tried to ask google, and found an interesting entry that the kernel-developers did a f.*** mistake and set some buffer from 4M to 32k but that using nfs3 and nfs over tcp would help. So I tried and now I'm stuck at 63K/s this isn't very funny I say. My clients come along with big knifes and trying to kill me. So please help me :O)

mfg Robert
Back to top
View user's profile Send private message
dennis
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 84

PostPosted: Wed Jan 22, 2003 11:28 pm    Post subject: Reply with quote

i had speed issues too it takes like 5 min to get my 20 gig disk remotely mounted ... i decided to use samba instead

dennis
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Thu Jan 23, 2003 12:53 pm    Post subject: Reply with quote

My nfs works at the full 100Mbit.

I just:

enabled all the nfs options in the kernel
did rc-update for netmount and portmap on the client
updated fstab on the client
emerged the required nfsd package on the server
did rc-update for nfs and portmap on the server
edited hosts.allow and exports on the server

Bingo it works.

I have 3 shares totaling 100Gb, they mount instantly. Vanilla kernel 2.4.19

Do you have good network cards and are you sure that the linux drivers for your card are solid?

I use netgear fa311 10/100 cards, very cheap but use the natsemi driver which is totally solid. 380 days uptime with no faults, only reason it got turned off was because I moved house.
Back to top
View user's profile Send private message
cpwp
n00b
n00b


Joined: 28 Aug 2002
Posts: 67
Location: Ripley, Derbyshire, UK

PostPosted: Thu Jan 23, 2003 2:58 pm    Post subject: Reply with quote

Don't know whether this is relevant, but I got quite a performance increase form adding:
Code:
rsize=8139,wsize=8139

to the fstab entries.

HTH

cpwp
Back to top
View user's profile Send private message
hifi
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 184
Location: Graz

PostPosted: Thu Jan 23, 2003 3:03 pm    Post subject: Reply with quote

TenPin wrote:
My nfs works at the full 100Mbit.

Do you have good network cards and are you sure that the linux drivers for your card are solid?



I think so, because a few days ago everything worked fine with about 9MB/s transfer speeds
Back to top
View user's profile Send private message
hifi
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 184
Location: Graz

PostPosted: Thu Jan 23, 2003 3:06 pm    Post subject: Reply with quote

cpwp wrote:


Code:
rsize=8139,wsize=8139

to the fstab entries.

cpwp


I've tried this and several other combinations of

tcp,udp,nfsvers=2/3

So I really do not know what to try next

What happens is, that on my server nfsd wastes up nearly all cpu ....
Back to top
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Mon Jan 27, 2003 7:01 am    Post subject: Reply with quote

hifi wrote:
What happens is, that on my server nfsd wastes up nearly all cpu ....


The nfs howto speaks of a similar problem, have you checked it out ?
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Tue Jan 28, 2003 1:55 am    Post subject: Reply with quote

nfs also (has always had) major security problems :op
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Tue Jan 28, 2003 8:47 am    Post subject: Reply with quote

Thats why we have nfs4, which takes care of most (if not all) security issues.
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Tue Jan 28, 2003 12:11 pm    Post subject: Reply with quote

Please make sure that you are still running portmap. Makes one hella difference I've noticed :-)
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Thu Feb 24, 2005 4:09 pm    Post subject: Reply with quote

I know this thread is ancient (as far as these forums go), but I was wondering if Sven is actually using NFS4? I was under the impression that the userland stuff for NFS4 isn't there yet. Is that wrong? Also, do you need kerberos for NFS4?
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
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