[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Limit a process's CPU usage?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Mar 28, 2003 at 12:26:54PM +0100, Joerg Johannes wrote:

> I'm running seti@home on my laptop, but the near 100% CPU usage
> results in my processor fan constatly being on. Is there a way on
> telling seti@home to use the CPU at no more than, say 30%?

No.  Seti@Home is designed to sponge as much resources as possible.
There's a reason that everybody made fun of CmdrTaco for running
distributed.net on his laptop in an episode of Geeks In Space.  ("Rob
runs dnetc on a battery powered PC," Hemos said while laughing hard
after CmdrTaco bitched about crappy battery life on his laptop).

> I have already set it to nice 19, but this affects only the
> priority, so that an other process can take over the CPU more
> easily, this does not reduce CPU load.

Right.  Let the scheduler do it's job.  If you don't want your CPU
pegged out, don't run any type of slopsucker process (distributed.net,
seti@home, folding@home, finding the largest prime number, etc).
Slopsucker processes are designed to take up all your background CPU
power for computationally intensive tasks that don't have a time
deadline.  Keep that in mind.

- -- 
 .''`.     Baloo Ursidae <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+hEFUJ5vLSqVpK2kRAuYjAJ4nA9YUc4FpIsHc8p3edBYgtyL1/QCdF2B+
B5VmSAIrtGoNHQl6eEMB7ew=
=pqM3
-----END PGP SIGNATURE-----



Reply to: