lkml.org 
[lkml]   [2001]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Re: limit cpu
Date
If somebody want to develope it, a lot of thanks. I see scheduler could be 
better with this feature, opinions?

On Thursday 16 August 2001 19:53, Hua Zhong wrote:
> Current Linux scheduler doesn't seem to be able to support this nicely.
> You can set their priorities..but the values are not very intuitive. And
> if you sleep, the result could become very inaccurate.
>
> A new scheduler (sth like weighted round robin) is a more natural solution.
> You just assign weights to processes and they will be scheduled
> accordingly.
>
> ----- Original Message -----
> From: "Eduardo Cortés" <the_beast@softhome.net>
> To: <linux-kernel@vger.kernel.org>
> Sent: Thursday, August 16, 2001 9:29 AM
> Subject: Re: Re: limit cpu
>
> > 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/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.037 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site