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

Re: Limit a process's CPU usage?



On Friday 28 March 2003 13:15, Frederik Dannemare wrote:
> Fredag den 28. marts 2003 12:26 skrev Joerg Johannes:
> > Hi List
> >
> > 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%?
> > 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.
>
> I asked for something like this on lkml a while ago. Have a look at:
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0211.3/0606.html
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0211.3/0745.html


AArgh. This means kernel patching... fiddling around... uargh. (I'm not afraid 
of patching and compiling kernels, but on this particular machine I had at 
least ten(!) tries until it worked as I wanted it to. Maybe I will try it out 
when I feel masochistic one day, thanks for the pointer.

joerg

-- 
Gib GATES keine Chance!



Reply to: