[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Add Small Memory Warning to XM for create and mem-set



Mark Williamson wrote:
I really like this idea. I think it's most important for ballooning, which is a really easy way to get a domain to commit suicide otherwise ;-)

I'd quite like to see it implemented Xend-side, though, with the "warning level" configurable (and probably disablable) in the xend-config.sxp so that users who really do want to create very small domUs can tweak the system not to warn them.

I'm not sure I agree that Xend is the right place to do this. You would have to add another parameter to the either the domain config or to the actual create() call that basically had the semantics of "if memory is less than X, throw an exception." That seems like a rather awkward addition to the interface and it makes client code harder to write.

I'll attempt to be telepathic here and guess that you suggested this because there's no xm config file so there's no easy way to be able to tell xm to never give an error when mem is too small? I think this is a good point in time to start thinking about just implementing an xm config file.

If you use SafeConfigParser and just grab from a standard location (say /etc/xen/xm.conf), you should be able to do it properly (just within xm) with very little code.

Thoughts?

Regards,

Anthony Liguori

Cheers,
Mark

On Friday 21 April 2006 16:17, Daniel Stekloff wrote:
Hi,

This patch adds a warning to xm for creating and setting a domain's
memory under 32 MBs. Patch adds a "--force-mem" option to "xm create"
and "xm mem-set" commands for creating or setting memory less than 32
MBs. Patch also updates man page and user manual.

All comments welcome.

Thanks,

Dan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.