LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-24-2005, 01:19 PM   #1
labiere2
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Question need more details about "nice" or similar


I am running Linux on a laptop with a major problem. Basically the heatsink is not sitting on the chip properly and the machine overheats very easily.

I want to compile an updated kernel (or if this solution still applies during a fresh install, may even want to do an FTP install of a new distro from scratch). I just can't let the cpu run at anything near full capacity for very long.

'nice' seems like the best way to go, but I couldn't tell from the documentation I read; If I deprioritize my 'make' command will it run with less demand on the chip? Will there be intervals where the job is paused completely? The man pages make it sound like 'nice' is only deprioritized relative to other processes. My impression is that if I don't have much else competing for CPU time, then 'nice' won't have any effect at all.

Is there a different command I should be considering here?
 
Old 03-24-2005, 02:06 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Well, I know that nice is not what you need to use. Nice prioritizes existing processes, however I don't think it is capable of throttling CPU usage. Essentially if you have a single low priority process running, it would get 100% of the CPU time, just because there is no competition.

I've never done it, but from doing a little googling, I've seen references to using ACPI to throttle back the CPU speed. I found this site which explains it in a bit more detail.
 
  


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
System Information Made Easy : Contains of "/proc" folder in details thandermax Linux - News 4 01-17-2006 05:16 PM
Is there something similar to "gdb -c core" in dbx ? murugesan Solaris / OpenSolaris 7 06-29-2005 08:44 AM
Display "Details during Startup" RHEL4 backroger Linux - Enterprise 4 03-26-2005 01:31 PM
Something similar to "cat /proc/device" under Linux? BSlack Solaris / OpenSolaris 4 12-17-2003 04:40 AM
"nice" vs "renice" Poetics Linux - Newbie 2 07-03-2003 04:20 AM

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

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