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/
Home Products Support Community News


[Xen-devel] RE: Memory missing in

To: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: Memory missing in
From: MaoXiaoyun <tinnycloud@xxxxxxxxxxx>
Date: Thu, 19 May 2011 11:58:01 +0800
Delivery-date: Wed, 18 May 2011 20:59:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <BLU157-w147E2A05A8AC5335C0A85BDA8F0@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <SNT0-MC4-F34MpzkUY6002755b8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, <BLU157-w147E2A05A8AC5335C0A85BDA8F0@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
if xend is not started at the very beginning
root@xmao # free -m
             total       used       free     shared    buffers     cached
Mem:          3636       1020       2616          0         12         52
-/+ buffers/cache:        955       2681
Swap:         1027          0       1027

From: tinnycloud@xxxxxxxxxxx
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Memory missing in
Date: Wed, 18 May 2011 22:58:55 +0800

    Recently I am trying pvops dom0 kernel,, but confronted some strange things.
    In my grub, i give dom0 5630M memory. But when system startup, use free -m, only see 2869M in total.
title Red Hat Enterprise Linux Server (
        root (hd0,0)
        kernel /xen-4.0.1.gz msi=1 iommu=off x2apic=off console=com1,vga com1=115200,8n1 noreboot dom0_mem=5630M dom0_max_vcpus=4 dom0_vcpus_pin cpuidle=    0 cpufreq=none no-xsave
        module /vmlinuz- ro root=LABEL=/ hda=noprobe console=hvc0
        module /initrd-
Free -m output
root@xmao # free -m
             to tal       used       free     shared    buffers     cached
Mem:          2869       1068       1800          0         25         65
-/+ buffers/cache:        977       1892
Swap:         1027          0       1027
root@xmao# xm li
Name                            &nbs p;           ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  4862     4     r-----   1272.6
root@xmao # xenstore-read /local/domain/0/memory/target
and dom0 auto balloon is disabled in /etc/xen/xend-config.
Well, when I use Everything is OK
Free output in
root@xmao # free -m
             total       used       free     shared     buffers     cached
Mem:          4860       1550       3309          0         14         75
-/+ buffers/cache:       1460       3399
Swap:         1027          0       1027
Where is my memory going with 32.36?
Xen-devel mailing list