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

Re: [Xen-API] Only 309 MB of RAM is showing out of 4GB



Hi Ananthan,


     installed XCP 1.1 on intel i5 second gen processor  with 4 GB RAM
but *top,free -m,cat /proc/meminfo* is showing only 309 mb of RAM space....
     How can it be fixed..

dom0 memory is constrained by parameters in the extlinux boot param in/boot/extlinux.conf (look for the dom0_mem). Here in my conf below it is set to 752Mo, and it may vary after installation depending on the whole RAM of the server.

cat /boot/extlinux.conf

...
label xe
  # XCP
  kernel mboot.c32
append /boot/xen.gz dom0_mem=752M lowmem_emergency_pool=1M crashkernel=64M@32M console= vga=mode-0x0311 --- /boot/vmlinuz-2.6-xen root=LABEL=root-nddcwqei ro xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash --- /boot/initrd-2.6-xen.img
...

RAM used by dom0 is not available for virtual machines, it is used for network bridging and physical block device handling, etc.

So it means that you have 4GiB - 300MiB of RAM available for your virtual machines.

Cheers,

Denis



*ouput from xsconsole *

*System Memory*
  Total memory                       4096 MB
  Populated memory sockets   2
  Total memory sockets           4
BIOS Information
Version      BLH6710H.86A.0119.2011.0523.1030
Vendor       Intel Corp

*Processor Details*
   Logical CPUs                       4
   Populated CPU Sockets        1
   Total CPU Sockets               1
*Description*
x Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz


*free -m*
         total       used       free     shared    buffers     cached
Mem:           309        284         24          0          6        116
-/+ buffers/cache:        161        147
Swap:          511          0        511

*top*
Mem:    316416k total,   291956k used,    24460k free,     6644k buffers
Swap:   524280k total,        0k used,   524280k free,   119156k cached

*cat /proc/meminfo*

MemTotal:           316416 kB
MemFree:           24616 kB
Buffers:               6584 kB
Cached:              119072 kB
SwapCached:            0 kB
Active:                64236 kB
Inactive:             100496 kB
Active(anon):      38888 kB
Inactive(anon):     5024 kB
Active(file):      25348 kB
Inactive(file):    95472 kB
Unevictable:        6436 kB
Mlocked:            6436 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         316416 kB
LowFree:           24616 kB
SwapTotal:        524280 kB
SwapFree:         524280 kB
Dirty:               532 kB
Writeback:             0 kB
AnonPages:         45544 kB
Mapped:            18040 kB
Shmem:               132 kB
Slab:              18636 kB
SReclaimable:       9612 kB
SUnreclaim:         9024 kB
KernelStack:        1520 kB
PageTables:            0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      682488 kB
Committed_AS:     660896 kB
VmallocTotal:     245752 kB
VmallocUsed:        4576 kB
VmallocChunk:     237148 kB
DirectMap4k:      754492 kB
DirectMap2M:           0 kB

Regards,
Ananthan,
India


This body part will be downloaded on demand.


--
Denis Cardon
Tranquil IT Systems
44 bvd des pas enchantés
44230 Saint Sébastien sur Loire
tel : +33 (0) 2.40.97.57.57
http://www.tranquil-it-systems.fr


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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