mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* resource provisioning
@ 2004-09-24 15:16 Phy Prabab
  2004-09-24 18:23 ` Chris Wright
  0 siblings, 1 reply; 4+ messages in thread
From: Phy Prabab @ 2004-09-24 15:16 UTC (permalink / raw)
  To: linux-kernel

Hello,

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.

So I guess, is this the correct term and is there a
posibilitity to do this now?

I would like to avoid the virtual servers method as I
do not want to carve the machines in question into
more machines.

Thanks for the help!
Phy


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: resource provisioning
  2004-09-24 15:16 resource provisioning Phy Prabab
@ 2004-09-24 18:23 ` Chris Wright
  2004-09-25  2:31   ` Phy Prabab
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Wright @ 2004-09-24 18:23 UTC (permalink / raw)
  To: Phy Prabab; +Cc: linux-kernel

* 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: resource provisioning
  2004-09-24 18:23 ` Chris Wright
@ 2004-09-25  2:31   ` Phy Prabab
  0 siblings, 0 replies; 4+ messages in thread
From: Phy Prabab @ 2004-09-25  2:31 UTC (permalink / raw)
  To: Chris Wright; +Cc: linux-kernel

Thanks for the information Chris.  This is a good
starting point.

Phy
--- Chris Wright <chrisw@osdl.org> wrote:

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



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 4+ messages in thread

* resource provisioning
@ 2004-09-24  8:37 Phy Prabab
  0 siblings, 0 replies; 4+ messages in thread
From: Phy Prabab @ 2004-09-24  8:37 UTC (permalink / raw)
  To: linux-kernel

Hello,

Is there functionality within the kernel to supoort
"resource provisioning"?  As an example, on a muti cpu
machine I would like to limit every users' jobs to no
more than one cpu that they can access so that they
can not "consume" more than one cpu no matter how many
different jobs they launch on the machine. 

Thanks for the help!
Phy


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-25  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24 15:16 resource provisioning Phy Prabab
2004-09-24 18:23 ` Chris Wright
2004-09-25  2:31   ` Phy Prabab
  -- strict thread matches above, loose matches on Subject: below --
2004-09-24  8:37 Phy Prabab

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®