LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-12-2010, 10:59 PM   #1
aeternitas
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu Lucid 10.04 LTS
Posts: 23

Rep: Reputation: 15
High CPU utilisation on Xorg when fsck is running


Hello,

I'm running into a situation where my system's CPU utilisation jumps from near-zero (1-5% during idle runtime) to 40-60% (I've seen as high as 63%) while fsck is running on my second HD. The odd thing (to me) is that the CPU utilisation as seen by top and system monitor as being tagged to the Xorg process. I'm invoking fsck using 'sudo fsck.ext3 -cf /dev/sdb1', and once it hits the 'Checking for bad blocks (read-only test)' step is where it spikes.

The system is equipped with a P4 3.0GHz Hyper-threaded CPU, a little behind the times for sure. Running with Ubuntu 9.10 in GNOME. I've also caused the same spike in CPU usage by opening an SSH session from my mobile phone, invoking the same command as above, with the same results (further puzzling me, since I can't figure out why Xorg would get involved on a command issued by an SSH user).

Is this near the norm for this sort of command, or is something going a bit awry? I hesitate on letting this rig run with such high CPU usage, seeing as I have trouble getting memtest86 to complete (due to overheat) without starting it from a cold boot; I've seen that a bad block check like this can get rather lengthy.
 
Old 04-13-2010, 03:46 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,292

Rep: Reputation: 138Reputation: 138
Quote:
I have trouble getting memtest86 to complete (due to overheat) without starting it from a cold boot
Sounds like you have a general overheating problem; that's not normal. I'm wondering if during the fsck operation you are generating too much heat and the cpu is throttling down due to excessive heat giving you, in effect, a slower cpu and greater cpu utilization as a result. What kind of temperatures are you getting in your bios setup?

First thing I would try would be opening the case and cleaning out the dust bunnies. Especially, check out your cpu heatsink and fan and blow out any dust you find there.
 
Old 04-20-2010, 01:26 AM   #3
aeternitas
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu Lucid 10.04 LTS
Posts: 23

Original Poster
Rep: Reputation: 15
I blew out the dust, the heat sink was caked about 3/4 inch in gunk; the previous user (my fiance) wasn't that good about cleaning, and until I took her system over it just built up; half a can of compressed air later, it's clean, and that took care of those issues.

It seems that the problem with the fsck was the drive itself; I took a look over some of the logs (if I remember correctly, dmesg had the details, but I've slept since then) and quite a few blocks were getting tagged as bad, which seems to have been my root cause on fsck's runtime; my other system's 2nd HD, swapped into this system, had the same usage but much quicker runtime on the same check.
 
  


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
[SOLVED] High cpu utilisation for X process in -current rpedrica Slackware 4 09-21-2009 09:08 AM
High CPU load after upgrading to xorg 1.6.3 (-current) Poetics Slackware 5 08-27-2009 12:46 AM
High CPU usage running Xorg t.j.sorrow Suse/Novell 1 05-20-2007 09:33 AM
High Xorg CPU usage in Ubuntu ImpactDNI Linux - Software 1 10-21-2006 10:52 AM
High Xorg 6.8.2 CPU Load Corporal Linux - Software 0 12-27-2005 02:11 AM


All times are GMT -5. The time now is 03:15 AM.

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