LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-09-2008, 01:56 AM   #1
cipherus
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
NFS cpu usage


I've got a Fedora 8 computer acting as my NFS server. When I try to copy files to it from other computers on the network, I get a maximum throughput of 7.1MB/s (~56Mbit). At first I was very excited because this was much faster than my previous Samba based network storage (which would max out around 2.5MB/s if I was lucky).

However I looked more into why it was only 56Mbit instead of the full 100Mbit of my lan connection, and I saw with htop that my poor 750mhz server was maxing out the cpu during the file copy. Why would NFS require so much cpu to write a file?
 
Old 06-09-2008, 02:42 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
NFS carries alot of overhead to run, there are quite a few processes to ensure integrity. The beautiful simplicity of NFS, using defined mountpoints over a network, in a stateless environment, means it is 'relatively' easy to compromise. Newer versions of NFS carry overhead to ensure they are always talking to correct client and user!

You can reduce this if you wish, look up the many posts on here....
 
Old 06-09-2008, 10:27 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Also check to make sure it's not your hard disks having high I/O issues. Usually from what I've seen, it's always Disk I/O performance issues that is the bottleneck. Basically look for high await % in top or running iostat to determine the issue. It could be that your CPU is waiting on the disks to write, etc.
 
  


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
cpu usage bhuvana Linux - General 3 06-26-2006 08:54 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09:43 PM
Getting CPU usage Nerox Programming 5 12-16-2004 03:33 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 06:55 AM


All times are GMT -5. The time now is 06:00 AM.

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