From: Keir Fraser Subject: Re: Memory overcommit Date: Sun, 11 Dec 2005 15:45:55 +0000 Message-ID: <56856b9e32e3424c70c93db018f41d49@cl.cam.ac.uk> References: <4399FE6A.9030000@copilotconsulting.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: treed@copilotconsulting.com Cc: xen-devel List List-Id: xen-devel@lists.xenproject.org Even better, if each domain is only used occasionally, then you could=20 save them to disc and restore them on demand. Then they consume no=20 memory when not in use. You could combine this with use of the balloon=20= driver to implement an allocation policy for in-use domains (as Kip=20 suggests) --- e.g., if X domains are active, each gets 1/X of available=20= memory. -- Keir On 11 Dec 2005, at 02:00, Kip Macy wrote: > The balloon driver provides a mechanism for reducing a guest's memory=20= > allocation at run-time. At least in principle, it would not be=20 > difficult to write a small app that provided policy to slim down idle=20= > domUs. > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -Kip > > On 12/9/05, Tracy R Reed wrote: >> critical) machine for a number of months now. It's looking really=20 >> good. >> >> One thing that I have not yet seen anyone mention as a feature that I >> would really like to see is the ability to overcommit memory. I have=20= >> 2G >> of RAM in my machine. I would like to give a developer his own = virtual >> domain to sandbox his application development without having to=20 >> dedicate >> a whole piece of hardware to just him. But I know he won't really log=20= >> in >> and use it all that often. If I give him 512M of my 2G that's 25% of=20= >> my >> memory that will likely be unutilized most of the time. It would be >> great if I could assign more memory to domains than I actually have=20= >> and >> just let it swap out idle pages. I bet there are a lot of boxes out >> there, especially in webserver colo's, that really don't get much >> traffic and really don't need as much RAM as they have in them for >> normal day to day operations. Just let them swap everything back in=20= >> and >> use up to the maximum RAM configured for that domain if they get busy >> and need it but let it swap out the rest of the time so other busier >> domains can use the physical RAM. >> >> This is feature #1 on my Xen wishlist. Is there any work going into=20= >> this >> area? >> >> -- >> Tracy R Reed >> http://copilotconsulting.com >> 1-877-MY-COPILOT >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel