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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>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.
> 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
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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.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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel