LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2004, 03:46 PM   #1
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Rep: Reputation: 15
Linux running at 80% CPU power for no reason


After toying around with Mandrake and a little with Ubuntu, I decided to try out the FC - especially since everyone has been recommending it to me.

After I installed FC2 and rebooted, I noticed that it was taking incredibly long to load. Infact, it takes a disgusting amount of time. I finally got to the desktop, and the system lags! I checked the system moniter and my CPU is running at an average of 80% constantly! Nothing was happening, and the CPU was working like a dog...what on earth is up?

System specs:
AMD64 3400+ (yes, I have the amd_64 version of FC2)
2 GB RAM (only 157 mb of this was being used when I checked it out)
80 GB Harddrive
Radeon 9700 128 MB

I'm really not in the mindset to head back to Mandrake - so any help given is appreciated! Thanks!
 
Old 10-27-2004, 03:48 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try running "top" at a bash prompt then press P to sort by CPU usage - which proccess is eating all of your CPU?
 
Old 10-27-2004, 03:48 PM   #3
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
open a terminal like xterm or konsole, and type

top

and it will list all the things running, you can tell from there what is using up all your cpu
 
Old 10-27-2004, 04:38 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
my 2 cents: first, i've noticed a lot of people talking about sluggish cpu performance in the 2.6.x kernels, you might do a little reading on that subject if FC2 uses one (which i don't know). second, if you're looking for a stable, fast, and secure setup, my personal recommendation is slackware + fluxbox. i know that's not you question though, so ignore it if you like.
 
Old 10-27-2004, 05:00 PM   #5
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
Alright, I managed to get a terminal up and checked out "top"

I found that "X" was sucking up most of the processing power, along with "gnome-panel". Also, I noticed that anything I ran immediatly jumped to taking about 25% processing power (such as "gnome-terminal" or "gnome-sys-monitor").
 
Old 10-27-2004, 10:37 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
yea there must be something wrong with x settup
check logs i guess and look for errors or strange output
i'm running kernel 2.6.3 right now x usage moves between 2.00 and .25%
firefox is taking between 2.00 and .50%
ksysguard to check usage is using 2.50%
 
Old 10-27-2004, 10:55 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
thats a total of 6.5%CPU.. where the other 73.5% you said was being used ?

anyways.. fedora is a bloated distro.. if you want performance, go for gentoo.
 
Old 10-27-2004, 11:10 PM   #8
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by qwijibow
thats a total of 6.5%CPU.. where the other 73.5% you said was being used ?

anyways.. fedora is a bloated distro.. if you want performance, go for gentoo.
No no, that was the other guy giving examples of what his computer runs at.

Someone told me to try this:

chmod -x /etc/init.d/cpuspeed

and then restart. We'll see what happens.

I'm worried about going to something like gentoo or slackware because my knowledge of Linux is still at the beginner stage - and I'm fairly sure both those distribitions demand a bit more than that.
 
Old 10-27-2004, 11:41 PM   #9
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
it all depends on how much you want to learn. if you switch to slackware you're gonna have to do some reading, but if you don't mind that, you'll be so happy in the end! the only things i would worry about for a first time install of slackware are fdisk and x configuration. read up on how to partition a hard drive using fdisk, and how to configure x with xorgconfig, and you'll be able to get slackware up and running in no time. it's really not as hard as people make it sound.
 
Old 10-28-2004, 12:31 AM   #10
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcd
it all depends on how much you want to learn. if you switch to slackware you're gonna have to do some reading, but if you don't mind that, you'll be so happy in the end! the only things i would worry about for a first time install of slackware are fdisk and x configuration. read up on how to partition a hard drive using fdisk, and how to configure x with xorgconfig, and you'll be able to get slackware up and running in no time. it's really not as hard as people make it sound.
I know enough to do things like use fdisk and such. I'm more worried about things like configuring xorg, getting the network up and running (since 4/5 times I have installed Linux it can't bring up my eth0 interface), etc. I've got 2 O'Reilly books and I read a lot online...I'm on my way, heh. If things don't turn out with FC2, I will probably try Slackware out - assuming it has a 64-bit version. Otherwise, it looks like its learn-or-die gentoo .

I'll update again after I run the above command.
 
Old 10-28-2004, 04:37 AM   #11
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I dove right in with Slack, and haven't ever needed to find another distro. As stated, it's a lot of learning (read: work) to get everything configured, but by the time you're done you know your system (and Linux in general) like the back of your eyelids
 
Old 10-28-2004, 10:55 AM   #12
Gamezace
Member
 
Registered: Apr 2004
Location: NOVA, VT
Distribution: gentoo
Posts: 88

Original Poster
Rep: Reputation: 15
Alright, well I tried running cpuspeed, but unfortunatly that doesn't seem to exist anymore. A check of the directory confirmed this, heh.

So unless anyone has any other ideas, I might have to move distributions - because FC2 is unusable in this state.
 
Old 10-28-2004, 09:53 PM   #13
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
cpu speed is just a daemon that slows your cpu when its not in use to save power.

anyways,,, so what is taking up 80% when you are doing nothing ?
what program ? and if you dont use it, turn it off.

my pentium 2 266 mhz runns kde with only 6% processor in use while idle.
 
Old 10-29-2004, 01:34 AM   #14
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
slackware 10 runs great on an old PII machine i have, i forget exactly what the speed is, but it's only got 64m of RAM. looking at top, with a few aterms and gkrellm running it's only comsuming about .7% cpu, and about 15% memory. very clean, very stable, and i really haven't done much to it yet.
 
  


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
how to limit the cpu power a program gets? learnmelinux Linux - General 4 04-21-2005 05:34 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
CPU running at 80% for no reason Gamezace Linux - Laptop and Netbook 2 10-27-2004 04:00 PM
Cpu power scaling SlackinMonkeee Slackware 1 02-07-2004 02:12 PM
cpu to bussy for no apperant reason. qanopus Linux - General 2 06-25-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:49 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
Open Source Consulting | Domain Registration