All of lore.kernel.org
 help / color / mirror / Atom feed
* CKRM port
@ 2004-10-13 21:03 Diwaker Gupta
  2004-10-13 21:56 ` Steven Hand
  2004-10-15  3:12 ` Rik van Riel
  0 siblings, 2 replies; 6+ messages in thread
From: Diwaker Gupta @ 2004-10-13 21:03 UTC (permalink / raw)
  To: xen-devel

Hi list,

Is anyone working on porting CKRM (ckrm.sf.net) to Xen. Actually I'm
interested in hierarchical class based resource management
functionality provided by CKRM. If someone has a head start already,
I'd love to hear about it.

Thanks,
-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: CKRM port
  2004-10-13 21:03 CKRM port Diwaker Gupta
@ 2004-10-13 21:56 ` Steven Hand
  2004-10-13 23:16   ` Diwaker Gupta
  2004-10-15  3:12 ` Rik van Riel
  1 sibling, 1 reply; 6+ messages in thread
From: Steven Hand @ 2004-10-13 21:56 UTC (permalink / raw)
  To: Diwaker Gupta; +Cc: xen-devel, Steven.Hand


>Is anyone working on porting CKRM (ckrm.sf.net) to Xen. Actually I'm
>interested in hierarchical class based resource management
>functionality provided by CKRM. If someone has a head start already,
>I'd love to hear about it.

There's a plan to port the new planetlab kernel (which includes CKRM
and VServers amongst other things) to Xen 2.0; should have some progress
to report next week, but hope it'll be a fairly straightforward matter.

Not sure if this is quite what you had in mind tho - this will at least
initially just allow a hosted guest OS to subdivide its resources 
amongst processes, without any real additional Xen interaction. 

cheers,

S.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: CKRM port
  2004-10-13 21:56 ` Steven Hand
@ 2004-10-13 23:16   ` Diwaker Gupta
  0 siblings, 0 replies; 6+ messages in thread
From: Diwaker Gupta @ 2004-10-13 23:16 UTC (permalink / raw)
  To: Steven Hand; +Cc: xen-devel

> Not sure if this is quite what you had in mind tho - this will at least
> initially just allow a hosted guest OS to subdivide its resources
> amongst processes, without any real additional Xen interaction.

Actually I was more interested in letting Xen do a class based
resource allocation among the various domains. AFAIK right now this is
crudely possible (by using the atropos CPU scheduler, some kind of
traffic shaping and/or rate based firewall at the domain0 network
interfaces and static disk partitioning (or dynamic using LVM)).
However, CKRM will allow a uniform infrastructure to handle all kinds
of resources in an integrated fashion.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: CKRM port
  2004-10-13 21:03 CKRM port Diwaker Gupta
  2004-10-13 21:56 ` Steven Hand
@ 2004-10-15  3:12 ` Rik van Riel
  2004-10-15  6:55   ` Ian Pratt
  1 sibling, 1 reply; 6+ messages in thread
From: Rik van Riel @ 2004-10-15  3:12 UTC (permalink / raw)
  To: Diwaker Gupta; +Cc: xen-devel

On Wed, 13 Oct 2004, Diwaker Gupta wrote:

> Is anyone working on porting CKRM (ckrm.sf.net) to Xen. Actually I'm
> interested in hierarchical class based resource management
> functionality provided by CKRM. If someone has a head start already,
> I'd love to hear about it.

I don't see why this would need to be inside Xen itself.
Scheduling and resizing virtual machines happens on a
larger granularity than scheduling and managing the memory
of groups of processes.

This should make CKRM style resource management doable
from a userspace program in guest 0, tweaking the priorities
of the unprivileged guests and resizing their memory.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: CKRM port
  2004-10-15  3:12 ` Rik van Riel
@ 2004-10-15  6:55   ` Ian Pratt
       [not found]     ` <1b0b455704101619132fdd9b8b@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Pratt @ 2004-10-15  6:55 UTC (permalink / raw)
  To: Rik van Riel; +Cc: Diwaker Gupta, xen-devel, Ian.Pratt

> On Wed, 13 Oct 2004, Diwaker Gupta wrote:
> 
> > Is anyone working on porting CKRM (ckrm.sf.net) to Xen. Actually I'm
> > interested in hierarchical class based resource management
> > functionality provided by CKRM. If someone has a head start already,
> > I'd love to hear about it.
> 
> I don't see why this would need to be inside Xen itself.
> Scheduling and resizing virtual machines happens on a
> larger granularity than scheduling and managing the memory
> of groups of processes.
> 
> This should make CKRM style resource management doable
> from a userspace program in guest 0, tweaking the priorities
> of the unprivileged guests and resizing their memory.

That's certainly our view. 

It would be kinda nice to have control over all the VMs
integrated into the same name space as the dom0 kernel's CKRM,
but its not really necessary. I'd rather have something in a
similar style done by a daemon in user space, enabling control
over all the VMs in a particular cluster rather than just the
local machine. The intention would be to provide a single
management interface for a whole cluster, with a pool of VMs
running over it. Live migration gives you a good deal of
transparency as regards moving VMs between physical nodes.

Ian


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

* Re: CKRM port
       [not found]     ` <1b0b455704101619132fdd9b8b@mail.gmail.com>
@ 2004-10-17  2:14       ` Diwaker Gupta
  0 siblings, 0 replies; 6+ messages in thread
From: Diwaker Gupta @ 2004-10-17  2:14 UTC (permalink / raw)
  To: xen-devel

Sorry, forgot to CC to the list.


---------- Forwarded message ----------
From: Diwaker Gupta <diwakergupta@gmail.com>
Date: Sat, 16 Oct 2004 19:13:13 -0700
Subject: Re: [Xen-devel] CKRM port
To: Ian Pratt <ian.pratt@cl.cam.ac.uk>


> It would be kinda nice to have control over all the VMs
> integrated into the same name space as the dom0 kernel's CKRM,
> but its not really necessary. I'd rather have something in a
> similar style done by a daemon in user space, enabling control
> over all the VMs in a particular cluster rather than just the
> local machine. The intention would be to provide a single
> management interface for a whole cluster, with a pool of VMs
> running over it. Live migration gives you a good deal of
> transparency as regards moving VMs between physical nodes.

I was, in fact, investigating a CKRM port in this regard. The idea, as
you said, would be to have a live pool of VMs. Given the transparencey
of migration, and the ease of dynamic management of VMs, we'd like to
"virtualize" the whole cluster so that multiple users can have their
own "virtual clusters" for their experiments. But we want to be able
to really fine tune the allocation and management of various
resources. CKRM looks to be a good first step, though I believe it can
be done using existing Xen features (like the atropos scheduler)
--
Diwaker Gupta
http://resolute.ucsd.edu/diwaker


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

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

end of thread, other threads:[~2004-10-17  2:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-13 21:03 CKRM port Diwaker Gupta
2004-10-13 21:56 ` Steven Hand
2004-10-13 23:16   ` Diwaker Gupta
2004-10-15  3:12 ` Rik van Riel
2004-10-15  6:55   ` Ian Pratt
     [not found]     ` <1b0b455704101619132fdd9b8b@mail.gmail.com>
2004-10-17  2:14       ` Diwaker Gupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.