From: Chris Wright <chrisw@osdl.org>
To: Phy Prabab <phyprabab@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: resource provisioning
Date: Fri, 24 Sep 2004 11:23:28 -0700 [thread overview]
Message-ID: <20040924112328.V1973@build.pdx.osdl.net> (raw)
In-Reply-To: <20040924151604.30416.qmail@web51808.mail.yahoo.com>; from phyprabab@yahoo.com on Fri, Sep 24, 2004 at 08:16:04AM -0700
* Phy Prabab (phyprabab@yahoo.com) wrote:
> I would like to know if the linux kernel has a
> mechanism to control computing resources at a uid
> level, which I will call "resource provisioning". For
> example, I would like to define on a multi cpu machine
> that a list of uid's can not consume more than 1 cpu
> and no more than 1G RAM, irregardless or how many jobs
> they launch on or to the system.
You can already do this in some pretty crude fashion via rlimits and
sched_setaffinity (although the later doesn't have direct pam support
that I know of, so you'd have to manage that on your own).
> So I guess, is this the correct term and is there a
> posibilitity to do this now?
Otherwise, you must look at out of tree patches. Linux-vserver does
this, CKRM will allow you resource control, and PAGG + other module
(perhaps job?) will give you this as well.
> I would like to avoid the virtual servers method as I
> do not want to carve the machines in question into
> more machines.
Note: the vserver method above doesn't create actual virtual machines,
more like a software construct that you could consider a resource domain.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
next prev parent reply other threads:[~2004-09-24 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 15:16 Phy Prabab
2004-09-24 18:23 ` Chris Wright [this message]
2004-09-25 2:31 ` Phy Prabab
-- strict thread matches above, loose matches on Subject: below --
2004-09-24 8:37 Phy Prabab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040924112328.V1973@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phyprabab@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®