lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: limit cpu

On 16 Aug 2001, Wes Felter wrote:
> On 16 Aug 2001 03:21:58 +0200, Eduardo Cortés wrote:
> > i want to know if linux can limit the max cpu usage (not cpu time) per user,
> > like freebsd login classes. I see /etc/security/limits.conf and ulimit from
> > bash, but they limit the max cpu time, not de max cpu usage (%cpu).
> There are a couple of patches:

A quick summary below, maybe somebody wants to work on this issue,

> http://www.cs.umass.edu/~lass/software/qlinux/

Last modified: Thu Jul 1 14:52:41 EDT 1999
it patches neither 2.2.19 nor 2.4.9 (or other recent kernels)

> http://fairsched.sourceforge.net/

Last updated on 11 July 2000
it patches neither 2.2.19 nor 2.4.9 (or other recent kernels)

> http://www.surriel.com/patches/2.3/2.3.99-3-schedpatch5

Last modified: Tue Apr 4 15:43:40 2000
it patches neither 2.2.19 nor 2.4.9 (or other recent kernels)

Eduardo, as it was mentioned before, you can "mimic" CPU usage
limitation using the 'priority' item in /etc/security/limits.conf that's
basically sets the nice(1) values. It made some people happy.

Szaka

-
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.029 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site