Re: Re: limit cpu

Mark Hahn (hahn@physics.mcmaster.ca)
Thu, 16 Aug 2001 16:13:47 +0000 (GMT)


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

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