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-users

[Xen-users] Xen 4.1 on Debian Testing - missing memory

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 4.1 on Debian Testing - missing memory
From: Alastair Sherringham <sherringham@xxxxxxxxx>
Date: Wed, 3 Aug 2011 15:48:02 +0100
Delivery-date: Wed, 03 Aug 2011 08:06:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=diBAgtiZUn/oeYfuvbJEvDqjdBD5lsFXrW3Zpbzfb3g=; b=vwEbYw2493b17DJS+5f9k2X69gFAkC/xxaVKpX7HVP7psT3VaBknGAk56Jadn6d6xp HGfmNhyse8143myM5md5dUu7YNI6C/TX4sO1ZObaqMHGZjAcyop+n4WCzqPvt7uACmGK EGFuxtuMNLAVYdLe4jFZs+xr4tgv7161MG7D0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I have installed Xen 4.1 on a server Tyan based server machine with
Debain Wheezy (testing) :

Linux 2.6.39-2-amd64
xen-hypervisor-4.1-amd64
4.1.1-1

The server has 8 dual-core AMD opterons and 8 GB RAM. It is a Tyan
S4881 motherboard and mezzanine board - 4+4 CPU's.

On standard Linux, I see all 8 GB RAM.

On a plain install of Xen 4.1 (no configuration or guests), I see 5 GB
RAM. I assume something in the memory placement/map is causing this.

Is there anything I can do to see all 8 GB in Xen dom0? The BIOS has
some options for "node memory" interleaving, memory hole etc. but I am
not sure what to do.

I attach some log files and information showing the state.

1) dmesg - normal Linux
2) dmesg.xen - dmeg under Xen dom0
3) dmesg.xm - xm dmesg output in Xen dom0

And some memory information here. Any help or advice would be welcome.


Normal Linux :

# uname -a
Linux storserv1 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011
x86_64 GNU/Linux

# free
             total       used       free     shared    buffers     cached
Mem:       8261616     317948    7943668          0      37108     165968
-/+ buffers/cache:     114872    8146744
Swap:      7811000          0    7811000

# cat /proc/meminfo
MemTotal:        8261616 kB
MemFree:         7943800 kB
Buffers:           37132 kB
Cached:           165964 kB
SwapCached:            0 kB
Active:           129904 kB
Inactive:          98524 kB
Active(anon):      25472 kB
Inactive(anon):      464 kB
Active(file):     104432 kB
Inactive(file):    98060 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       7811000 kB
SwapFree:        7811000 kB
Dirty:                44 kB
Writeback:             0 kB
AnonPages:         25404 kB
Mapped:            11376 kB
Shmem:               588 kB
Slab:              33972 kB
SReclaimable:      14104 kB
SUnreclaim:        19868 kB
KernelStack:        1624 kB
PageTables:         3288 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    11941808 kB
Committed_AS:      95920 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       62116 kB
VmallocChunk:   34359666172 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       51776 kB
DirectMap2M:     8400896 kB


# cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x100000000 ( 4096MB), size= 4096MB, count=1: write-back
reg02: base=0x200000000 ( 8192MB), size= 1024MB, count=1: write-back
reg03: base=0x240000000 ( 9216MB), size=  512MB, count=1: write-back
reg04: base=0x080000000 ( 2048MB), size=  512MB, count=1: write-back
reg05: base=0x0c0000000 ( 3072MB), size=  256MB, count=1: write-combining

//////////////////////////////////////////////////////////////

Under Xen :

# uname -a
Linux storserv1 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011
x86_64 GNU/Linux

# free
             total       used       free     shared    buffers     cached
Mem:       5029700     223128    4806572          0       8680      66008
-/+ buffers/cache:     148440    4881260
Swap:      7811000          0    7811000


# cat /proc/meminfo
MemTotal:        5029700 kB
MemFree:         4806456 kB
Buffers:            8680 kB
Cached:            65880 kB
SwapCached:            0 kB
Active:            69756 kB
Inactive:          52608 kB
Active(anon):      47824 kB
Inactive(anon):      548 kB
Active(file):      21932 kB
Inactive(file):    52060 kB
Unevictable:          52 kB
Mlocked:              52 kB
SwapTotal:       7811000 kB
SwapFree:        7811000 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         48028 kB
Mapped:            12148 kB
Shmem:               564 kB
Slab:              30432 kB
SReclaimable:       8464 kB
SUnreclaim:        21968 kB
KernelStack:        1752 kB
PageTables:         3484 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    10325848 kB
Committed_AS:     178724 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       76620 kB
VmallocChunk:   34359654268 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:     9697328 kB
DirectMap2M:           0 kB



-- 
Alastair Sherringham
http://www.sherringham.net

Attachment: dmesg
Description: Binary data

Attachment: dmesg.XEN
Description: Binary data

Attachment: xm.dmesg
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>