Mailing List Archive

[Bug 1721] New: Only two 1GB-pages be allocated to a 10GBs memory guest
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1721

Summary: Only two 1GB-pages be allocated to a 10GBs memory guest
Product: Xen
Version: unstable
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P1
Component: Hypervisor
AssignedTo: xen-bugs@lists.xensource.com
ReportedBy: shaohui.zheng@intel.com


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32e
Guest Arch (ia32/ia32e/IA64): ia32e
Guest OS Type (Linux/Windows): RHEL5
Hardware: WSM-EX

xen-changeset: 22764:75b6287626ee
xen-date: Fri Jan 14 16:38:51 2011 +0000
xen-summary: rcupdate: Make rcu_barrier() more paranoia-proof

pvops git:
commit 862ef97190f6b54d35c76c93fb2b8fadd7ab7d68
Merge: 7835387... 5823a82...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Mon Dec 6 14:56:48 2010 -0800

ioemu git:
commit 1c304816043c0ffe14d20d6006d6165cb7fddb9b
Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Date: Tue Jan 11 18:48:58 2011 +0000


Bug detailed description:
--------------------------
After enalbe 1GB page in Xen, then create guest with 10GBs memory, we can see 7
1GB pages in xc info at the creating.
[root@rismail7-mobl ~]# xl cr 1Gpage.hvm
Parsing config file 1Gpage.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->0000000000179710
TOTAL: 0000000000000000->000000027f800000
ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000005fb
1GB PAGES: 0x0000000000000007
Daemon running with PID 8905


However, "xl dmesg" only show 2 1GB pages in EPT p2m table.
[root@rismail7-mobl ~]# xl dmesg | grep "order: 18"
(XEN) gfn: 40000 mfn: 440000 order: 18 is_pod: 0
(XEN) gfn: 80000 mfn: 840000 order: 18 is_pod: 0

If we set 4GBs memory to guest, still only 2 1GB pages showed.

Reproduce steps:
----------------
1. enalbe hugepage in Xen (set "hap_1gb=1" in Xen grub line)
2. boot a guest with 10GBs memory
3. xl debug-key D
4. xl dmesg | grep "order: 18" (find the 1GB page number, only 2)

Current result:
----------------


Expected result:
----------------


Basic root-causing log:
----------------------


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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