Re: Re: limit cpu

From: Mark Hahn (hahn@physics.mcmaster.ca)
Date: Thu Aug 16 2001 - 11:13:47 EST


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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:16 EST