Newsgroup: comp.os.linux.development.apps


Date: Tue, 25 Apr 2006 09:27:09 +0300
From: Diomidis Spinellis <dds@aueb.gr>
Organization: Athens University of Economics and Business
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1
MIME-Version: 1.0
Newsgroups: comp.os.linux.development.apps
Subject: Re: Lower a process priority
References: <1145925635.171589.234040@j33g2000cwa.googlegroups.com>
In-Reply-To: <1145925635.171589.234040@j33g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Binary wrote:
> I am running Azureus(a bit torrent client) and find that it eats too
> many CPU power, 99%. I try to re-nice it thru top to set to 19, but
> this can't reduce the cpu usage, it is remain 99%.

The CPU usage won't be reduced, unless another process competes for the 
CPU time.  If you want your CPU to remain idle for some time periods 
(perhaps to consume less power) you would have to modify that process to 
call nanosleep(2) at periodic intervals.

-- 
Diomidis Spinellis
Code Quality: The Open Source Perspective (Addison-Wesley 2006)
http://www.spinellis.gr/codequality?colda



Newsgroup comp.os.linux.development.apps contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.