LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-07-2004, 01:12 AM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Problem with nfs speed - WAAY to slow, any ideas?


Has anyone ever heard of nfs writing *really* slowly because of some sort
of poor configuration?

My nfs writes run at around 400 kB/s, but the nfs reads run at around
10 MB/s.

For a 75 MB file, I tested:
  • nfs write: 3:07
  • nfs read: 0:07
  • scp write: 0:02
  • scp read: 0:02


Any ideas where I can begin to track this down? I assume that nfs should
be at least as fast as scp, correct? FYI: I did these tests on our new
computers - they're all 2.6/2.8GHz with 1GB RAM, & GigE NICs; they all
run through a 24-port GigE switch (all ports run at 10/100/1000) & all use
cat 5e cables (no longer than 7 ft, not that that should matter).
 
Old 01-07-2004, 06:58 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
yeah u need to add some extra commands to your mount command.
nfs can be mounted for either throughput or responce time.(responce time is default) this is because it is usually used for small files.

anyway i did a test about 1 year ago and got throughput ranging from 200k-998k(10mbit) where 200k was default and 998 was after changing transmission size.


to do this u need to add the line wsize and rsize to your mount command as an option. eg -o wsize=...........

w = write r=read

have fun
 
Old 01-07-2004, 12:00 PM   #3
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
Good idea, but I've already tried that... I tried ranges from 4096 to 32K - no change.

Any other ideas?
 
Old 01-07-2004, 08:50 PM   #4
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
bump.. I've seen this question come up a lot online (google), but I've never seen a thread that has an answer. Anyone?
 
Old 01-08-2004, 01:39 AM   #5
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
well this is how i fixed the problem, also if your benchmark is inbound increase rsize and decrease wsize as a high wsize will wast network space.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need more ideas to speed up cd-rom hubcapboy Linux - Hardware 3 10-16-2005 08:19 PM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 11:05 AM
Slow connection to the internet... Ideas? Jesterace Debian 2 01-23-2005 11:31 PM
fast encrypted NFS but slow regular NFS cazzazullu Linux - Networking 0 10-19-2004 10:08 AM
Need for Speed of NFS frkstein Linux - Networking 1 01-14-2003 07:46 PM


All times are GMT -5. The time now is 05:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration