View previous topic :: View next topic |
Author |
Message |
hifi Apprentice
Joined: 17 Jul 2002 Posts: 184 Location: Graz
|
Posted: Wed Jan 22, 2003 11:14 pm Post subject: nfs sucks! |
|
|
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 |
|
|
dennis Tux's lil' helper
Joined: 06 Jun 2002 Posts: 84
|
Posted: Wed Jan 22, 2003 11:28 pm Post subject: |
|
|
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 |
|
|
TenPin Guru
Joined: 26 Aug 2002 Posts: 500 Location: Kansas City
|
Posted: Thu Jan 23, 2003 12:53 pm Post subject: |
|
|
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 |
|
|
cpwp n00b
Joined: 28 Aug 2002 Posts: 67 Location: Ripley, Derbyshire, UK
|
Posted: Thu Jan 23, 2003 2:58 pm Post subject: |
|
|
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 |
|
|
hifi Apprentice
Joined: 17 Jul 2002 Posts: 184 Location: Graz
|
Posted: Thu Jan 23, 2003 3:03 pm Post subject: |
|
|
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 |
|
|
hifi Apprentice
Joined: 17 Jul 2002 Posts: 184 Location: Graz
|
Posted: Thu Jan 23, 2003 3:06 pm Post subject: |
|
|
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 |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Mon Jan 27, 2003 7:01 am Post subject: |
|
|
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 |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Tue Jan 28, 2003 1:55 am Post subject: |
|
|
nfs also (has always had) major security problems p |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Jan 28, 2003 8:47 am Post subject: |
|
|
Thats why we have nfs4, which takes care of most (if not all) security issues. |
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Tue Jan 28, 2003 12:11 pm Post subject: |
|
|
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 |
|
|
volumen1 Guru
Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
Posted: Thu Feb 24, 2005 4:09 pm Post subject: |
|
|
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 |
|
|
|