LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   NFS Performance (http://www.linuxquestions.org/questions/linux-general-1/nfs-performance-238589/)

markham82 10-04-2004 08:29 AM

NFS Performance
 
I am running an FTP server on Red Hat 9.0. The home directories are mounted via NFS from a central file server. The directories on the file server are exported using Windows Services for Unix running on a Windows 2000 Server, SP4 machine.

But what I quickly noticed is upload transfer rates to these NFS mounted directories are severely reduced. If I upload to a non NFS mounted directory I get a transfer rate of about 3000 k/sec (this is on my local home network). But if I upload to one of the NFS mounted directories, it starts out almost that fast, but gradually decreases to a measly 250-300 k/sec or so. I mounted with options rsize=8192,wsize=8192. I tried increasing the rsize and wsize but that didn't help. Any ideas on how I can improve the performance of this setup? Thanks.

~Steve

rakriege 10-04-2004 07:49 PM

are uploading through an ISP?? if so 250- 300kb is good

Tinkster 10-04-2004 07:56 PM

Re: NFS Performance
 
Quote:

Originally posted by markham82
I am running an FTP server on Red Hat 9.0. The home directories are mounted via NFS from a central file server. The directories on the file server are exported using Windows Services for Unix running on a Windows 2000 Server, SP4 machine.

But what I quickly noticed is upload transfer rates to these NFS mounted directories are severely reduced. If I upload to a non NFS mounted directory I get a transfer rate of about 3000 k/sec (this is on my local home network). But if I upload to one of the NFS mounted directories, it starts out almost that fast, but gradually decreases to a measly 250-300 k/sec or so. I mounted with options rsize=8192,wsize=8192. I tried increasing the rsize and wsize but that didn't help. Any ideas on how I can improve the performance of this setup? Thanks.

~Steve

Use Linux instead of Windows for NFS?

I can read/write to my exported shares on my NOTEBOOK
drive with 10M/s ;)

You should be ashamed of yourself! :D


Cheers,
Tink

markham82 10-04-2004 09:31 PM

Re: Re: NFS Performance
 
Quote:

Originally posted by Tinkster
Use Linux instead of Windows for NFS?

I can read/write to my exported shares on my NOTEBOOK
drive with 10M/s ;)

You should be ashamed of yourself! :D


Cheers,
Tink

Yeah I was actually going to try that, thanks. Was trying to see if I could integrate a Windows and Linux environment. I guess technically it worked but if i'm getting that much of a reduction in performance i guess it's not practical. Thanks again.

~Steve

markham82 10-06-2004 12:39 PM

Re: Re: NFS Performance
 
Quote:

Originally posted by Tinkster
Use Linux instead of Windows for NFS?

I can read/write to my exported shares on my NOTEBOOK
drive with 10M/s ;)

You should be ashamed of yourself! :D


Cheers,
Tink


Haha you were right, I took Windows 2000 off and put Fedora Core 2 on to act as the file server. Now I can read/write to my mounted directories just as fast as if they weren't NFS mounted. Guess I learned my lesson :-P


All times are GMT -5. The time now is 05:31 AM.