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

Re: [Xen-devel] hap_2mb and hap_1gb options


  • To: AP <apxeng@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 08 Mar 2012 06:11:27 +0000
  • Delivery-date: Thu, 08 Mar 2012 06:12:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Acz88ku/MJqtA40XtUCWh8cND+AoRQ==
  • Thread-topic: [Xen-devel] hap_2mb and hap_1gb options

On 08/03/2012 00:36, "AP" <apxeng@xxxxxxxxx> wrote:

> I wanted to run without 2MB and 1GB EPT pages, so I added "hap_2mb=0
> hap_1gb=0" to the Xen grub command line. However I see the following
> on Xen boot:
> 
> (XEN) EPT supports 2MB super page.

This simply indicates the CPU supports this feature, regardless of whether
Xen is configured to use it.

> When I bring up a guest I see a non-zero number of 2MB pages in the
> "xl create" output:
> 
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->000000000017af10
>   TOTAL:         0000000000000000->000000001f000000
>   ENTRY ADDRESS: 00000000001015a0
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000000f7
>   1GB PAGES: 0x0000000000000000
> Daemon running with PID 2867

This simply indicates that the HVM domain builder managed to allocate that
number of 2MB extents of memory. It does not necessarily mean that those 2MB
extents will be mapped into guest address space with 2MB superpage mappings.

> Have I added the options in the right place? Do I need to do anything
> else to disable super pages?

Unfortunately there is no logging output that indicates that the
hap_2mb/hap_1gb=0 options are working. You have set the options correctly.

I will sort out a small patch for this.

 -- Keir

> Thanks,
> AP
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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