From: Alan Cox Subject: Re: [XEN] using shmfs for swapspace Date: Mon, 03 Jan 2005 21:06:20 +0000 Message-ID: <1104785749.13302.26.camel@localhost.localdomain> References: <20050102162652.GA12268@lkcl.net> <20050103183133.GA19081@samarkand.rivenstone.net> <20050103205318.GD6631@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050103205318.GD6631@lkcl.net> Sender: linux-kernel-owner@vger.kernel.org To: Luke Kenneth Casson Leighton Cc: Linux Kernel Mailing List , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > so this tends to suggest a strategy where you allocate as > much memory as you can afford to the DOM0 VM, and as little > as you can afford to the guests, and make the guest swap > files bigger to compensate. This is essentially what the mainframe folks are already doing and have been doing for some time because the kernel VM has no external inputs for saying "you are virtualised so be nice" for doing opportunistic page recycling ("I dont need this page but when I ask for it back please tell me if you trashed the content") and for hinting to the underlying VM what pages are best blasted out of existance first and how to communicate so we dont page them back in scanning them.