From: Keir Fraser Subject: Re: [Xen-devel] Re: Xen 4 - Page Sharing HowTo? Date: Sat, 10 Apr 2010 07:27:28 +0100 Message-ID: References: <4BBF3D8B020000990004E3F7@collaborate.seakr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BBF3D8B020000990004E3F7@collaborate.seakr.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Nick Couchman , Andrew Lyon , "pasik@iki.fi" Cc: "xen-devel@lists.xensource.com" , XEN Mailing List List-Id: xen-devel@lists.xenproject.org On 09/04/2010 21:45, "Nick Couchman" wrote: >> Sharing opportunities should result in memory being freed back to Xen. So >> 'xm info', or whatever else you use for monitoring Xen's free memory, should >> work. >> >> -- Keir > > Hmmm...two XP HVM domUs running, and a total of 7 M freed to Xen. Kind of > hard to tell if memory sharing is working, or if this is normal rounding > behavior... The two images have to be using a common disc image (or a delta of a common disc image) exported by a memshr-aware block-device backend: blktap1 or blktap2. In fact, would have to be the former, since blktap2 has memshr support disabled as it was crashing. The sharing opportunities aren't discovered by page scanning, as in some other schemes. -- Keir