LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-05-2006, 09:55 AM   #1
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
nfsd & high system cpu %


We're running nfsd with 6 threads. However each thread appears to be using up to 20% of the cpu. I'm at 80% cpu busy for system only. No wonder stuff is slow.

We're also running an oracle db in case that matters. But it appears to be behaving nicely.

Thoughts on why nfsd would be using so much resource.
 
Old 06-05-2006, 11:37 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"80% CPU" does not mean that "the system is running so slow." The CPU is the one resource that you almost never wait for. It's a good thing if utilization is pegging 99.9% whenever there's anything to do.

Look elsewhere. Try hdparm and see if DMA is turned on. Look at top and vmstat 10 displays and see what the various processes in the system are waiting on.
 
Old 06-05-2006, 12:00 PM   #3
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
I should have posted that the load average is between 10 and 20, and top shows nfsd at the top 6 or so cpu users. These are SCSI drives I'm dealing with.

vmstat shows plenty of memory available, no paging going on.
iostat looks okay.
sar -b shows average throughput. Here is a sample of the sar -b output:
tps rtps wtps bread/s bwrtn/s
10:30:03 AM 214.43 572.96 36.31 50.93 781.87
10:40:02 AM 168.26 488.50 34.88 49.47 765.73
10:50:02 AM 85.19 331.58 37.07 31.77 820.65
11:00:04 AM 86.73 346.14 35.53 84.62 748.65


This is running on an old kernel. RHES AS2.1 update5 (2.4.9 e49) in case that helps.

Thanks!!!!

Last edited by DotHQ; 06-05-2006 at 12:01 PM.
 
Old 06-06-2006, 02:23 PM   #4
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Another tidbit. Oracle also runs on this machine. If I stop the oracle instance everything gets better.
So, I guess this is a database issue. Sure has me scratchin the ole noggin.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High CPU Temp Mojojo Linux - Hardware 4 12-19-2004 12:10 PM
Why do I have a High System CPU Usage Bottleneck linuxboy69 Linux - Software 3 09-02-2004 03:55 PM
sendmail -- cpu load high & log huge !! ranger_nemo Linux - Software 2 06-08-2004 12:06 PM
System load/cpu monitor & log for RH9 krzysw Red Hat 1 05-08-2004 07:06 PM
GKRELLM & CPU too High AceTech747 Linux - Hardware 8 01-04-2004 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:22 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