Re: Re: limit cpu

Rik van Riel (riel@conectiva.com.br)
Fri, 17 Aug 2001 14:34:00 -0300 (BRST)


On Thu, 16 Aug 2001, Eduardo Cortés wrote:

> I think that it's a good feature for linux, but I don't know if
> is very complex to develope in linux. If I can limit the max cpu
> usage (in %) for an user/group, the box is more solid.

Conectiva has been shipping a patch to limit CPU usage
on a per-user basis in their 2.2 kernel RPM for quite
a while now.

Unfortunately I ran into problems with ksoftirqd while
porting the patch to 2.4 and have been tied up in the
memory management and other projects since.

Oh, the patch also doesn't have any effect on the scheduler
fast-path. Only the recalculation is changed...

regards,

Rik

--
IA64: a worthy successor to the i860.

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/