LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2004, 08:38 PM   #1
joeclark
LQ Newbie
 
Registered: Dec 2003
Location: Iowa
Posts: 7

Rep: Reputation: 0
NFS Performance Tuning


I am attempting to use NFS as a server on an older laptop (400MHzish) with Mandrake 8.2 with 3Com 10/100 card. The client is a LynxOS machine, appx. 200 MHz PPC. I am hoping to write a file over NFS from a process that takes a large amount of CPU time. The mount works all right with rsize & wsize set to 1024 (but not at 2048 or larger), but even at rsize=1024, NFS causes this CPU-busy process to lose data while (I assume) waiting for blocking IO calls.

It seems that this busy-ness is exacerbated if I also at the same time make frequent (= every four seconds or so) NFS FSSTAT (via statfs system calls) to determine directory free space. I suppose this is simply because the IO is further slowed down by the additional requests....

Anyone know of other ways to tweak performance? I though of the async option, but LynxOS does not have that option.

Yeah, I know the better option is probably to separate the file-writing from the process via some IPC mechanism....just wondering if there's another way.
 
Old 03-16-2004, 03:42 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
dont make rsize & wsize equal to each other, have the server with a high wsize and low rsize. And have the client with a high rsize and low wsize.


Or even better use smb, i know microsoft and all but it is much better then nfs
 
Old 03-16-2004, 08:08 PM   #3
joeclark
LQ Newbie
 
Registered: Dec 2003
Location: Iowa
Posts: 7

Original Poster
Rep: Reputation: 0
Well, if I use the defaults on both server (Linux) and client (LynxOS), the mount does not work -- tends to hang the client machine for long periods of time; when writing data to from client->server, there are a very large amount of IP reassembly ICMP errors (bad network drivers???), so I must use a client-side rsize of 1024 (that's all I've found that works). I wasn't sure that I could set the rsize and/or wsize on the server -- is that a valid /etc/exports option?

I tried Mandrake 10 today, by the way, and it suffers the same bad performance (I think it's a client problem, so that didn't really surprise me).

SMB: Yeah, would be nice. I'm not sure that LynxOS has a decent client for it...

Thanks for your reply. -- Joe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem/RAID Performance Tuning/Optimization comsatcat Linux - General 1 06-05-2004 09:54 AM
memory/performance tuning guide? wijnands Linux - Newbie 2 05-07-2004 03:14 PM
network performance tuning Skunk_Face Linux - Networking 1 04-16-2004 05:50 AM
ACID maintenance and performance tuning using sql mikmok Linux - General 0 03-02-2004 12:16 PM
maintenance and performance tuning? groovin Linux - General 3 06-30-2003 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration