* limit cpu
@ 2001-08-16 1:21 Eduardo Cortés
2001-08-16 19:58 ` Wes Felter
0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Cortés @ 2001-08-16 1:21 UTC (permalink / raw)
To: linux-kernel
hi,
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).
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: limit cpu
2001-08-16 1:21 limit cpu Eduardo Cortés
@ 2001-08-16 19:58 ` Wes Felter
2001-08-17 13:47 ` Szabolcs Szakacsits
0 siblings, 1 reply; 3+ messages in thread
From: Wes Felter @ 2001-08-16 19:58 UTC (permalink / raw)
To: Eduardo Cortés; +Cc: linux-kernel
On 16 Aug 2001 03:21:58 +0200, Eduardo Cortés wrote:
> hi,
> 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:
http://www.cs.umass.edu/~lass/software/qlinux/
http://fairsched.sourceforge.net/
http://www.surriel.com/patches/2.3/2.3.99-3-schedpatch5
Wes Felter
System Software Department
IBM Austin Research Lab
11400 Burnet Rd., Austin, TX 78758
Tel 512-838-7933
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: limit cpu
2001-08-16 19:58 ` Wes Felter
@ 2001-08-17 13:47 ` Szabolcs Szakacsits
0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Szakacsits @ 2001-08-17 13:47 UTC (permalink / raw)
To: Wes Felter; +Cc: Eduardo Cortés, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-17 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 1:21 limit cpu Eduardo Cortés
2001-08-16 19:58 ` Wes Felter
2001-08-17 13:47 ` Szabolcs Szakacsits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®