login
Header Space

 
 

Limiting CPU to a process or process group?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD-misc <misc@...>
Date: Monday, January 14, 2008 - 6:52 am

Hi,

Is there a way of limiting the amount of CPU given to a particular
process or process group? For example, I would want the build of the
qt4 port to use a maximum of 25% of the available CPU, leaving the CPU
75% idle if nothing else is happening on the machine.

I know about 'nice', but it doesn't fulfil the criteria that the
machine is left otherwise idle if nothing else runs on it.

I don't have a real reason for why I would want to do this, I'm mainly
curious as to if it's possible.

Regards,
Andreas

-- 
Andreas Kahari
Somewhere in the general Cambridge area, UK
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Limiting CPU to a process or process group?, Andreas Kahari, (Mon Jan 14, 6:52 am)
Re: Limiting CPU to a process or process group?, Alexander Schrijver, (Mon Jan 14, 7:50 am)
Re: Limiting CPU to a process or process group?, Andreas Kahari, (Mon Jan 14, 8:30 am)
Re: Limiting CPU to a process or process group?, Alexander Schrijver, (Mon Jan 14, 9:06 am)
Re: Limiting CPU to a process or process group?, Andreas Kahari, (Mon Jan 14, 9:34 am)
Re: Limiting CPU to a process or process group?, Ted Unangst, (Mon Jan 14, 2:42 pm)
Re: Limiting CPU to a process or process group?, Alexander Schrijver, (Mon Jan 14, 10:00 am)
Re: Limiting CPU to a process or process group?, Andreas Kahari, (Mon Jan 14, 10:27 am)
Re: Limiting CPU to a process or process group?, Andreas Kahari, (Tue Jan 15, 9:30 am)
Re: Limiting CPU to a process or process group?, Tito Mari Francis Escaño..., (Mon Jan 14, 4:11 pm)
Re: Limiting CPU to a process or process group?, Ryan Flannery, (Mon Jan 14, 11:46 am)
Re: Limiting CPU to a process or process group?, Martin Schröder, (Mon Jan 14, 11:10 am)
Re: Limiting CPU to a process or process group?, Henri Salo, (Mon Jan 14, 12:05 pm)
Re: Limiting CPU to a process or process group?, Paul de Weerd, (Mon Jan 14, 11:19 am)
speck-geostationary