Re: Re: limit cpu

Eduardo Cortés (the_beast@softhome.net)
Thu, 16 Aug 2001 18:29:15 +0200


On Thursday 16 August 2001 18:13, you wrote:
> > > > i want to know if linux can limit the max cpu usage (not cpu time)
> > > > per user,
> > >
> > > no. doing so would inherently slow down the scheduler.
> >
> > but *BSD has this feature, what's the problem in linux?
>
> I said that, thinking that it would require another test along
> the scheduler's fast path. but if we only test when a process
> has exhausted its quantum (or perhaps at counter-recalc),
> the overhead would be minor.

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.
-
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/