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

Re: [Xen-users] Xen 4 - Page Sharing HowTo?


  • To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
  • From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
  • Date: Fri, 9 Apr 2010 13:36:42 +0100
  • Cc: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 09 Apr 2010 05:38:02 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hUChNc/jh2ukik5LTNvJbNIkSwTwT//2qgz4r6faBaE9ValrwCXGwvo3yo1IqvPf+H HSBamoyPkAB8ZQad62Iddg0v3XJ0IgadsBqNWH68whfgibm9AjWSRPwnSXbeWkYVs811 SJp7sSu7TRAy3Lek78cYQpRkX4IOiRy09OgBA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, Apr 9, 2010 at 1:26 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> On Fri, Apr 9, 2010 at 1:18 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
>> On Thu, Apr 8, 2010 at 11:01 PM, Nick Couchman <Nick.Couchman@xxxxxxxxx> 
>> wrote:
>>> One of the features listed as having been added to Xen 4 is page sharing 
>>> for HVM domUs.  I was wondering if 1) this is automatic, or something that 
>>> must be enabled, and 2) if it must be enabled, how do you go about enabling 
>>> it?
>>>
>>> Thanks!
>>> -Nick
>>
>> See 
>> http://lists.xensource.com/archives/html/xen-changelog/2009-12/msg00192.html
>>
>> The setting you need to add is memory_sharing
>>
>> I think it may require hap but I am not sure yet.. just about to test it.
>>
>> Andy
>>
>
> I added memory_sharing=1 to two hvm guests and started them up, xm log
> shows that the setting was applied but there seems to be no change in
> the reported memory usage, is there any way to monitor shared memory
> performance?
>
> Andy
>

I don't think memory_sharing=1 works at all, the very first thing that
should happen when it is enabled is a printk:

void mem_sharing_init(void)
{
    printk("Initing memory sharing.\n");


But I've not seen that at all on my 4.x system.

Andy

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


 


Rackspace

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