WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1721] New: Only two 1GB-pages be allocated to a 10GBs me

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1721] New: Only two 1GB-pages be allocated to a 10GBs memory guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 21 Jan 2011 03:03:22 -0800
Delivery-date: Fri, 21 Jan 2011 03:03:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
        ReportedBy: shaohui.zheng@xxxxxxxxx


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@xxxxxxxxxx>
Date:   Mon Dec 6 14:56:48 2010 -0800

ioemu git: 
commit 1c304816043c0ffe14d20d6006d6165cb7fddb9b
Author: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>