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

[Xen-users] RHEL5 2.6.18-53.12 IA64 xen kernel memory allocation problem


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • From: "RuoMu Hu" <huruomu@xxxxxxxxx>
  • Date: Tue, 21 Oct 2008 17:26:30 +0800
  • Cc:
  • Delivery-date: Tue, 21 Oct 2008 02:27:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=hkaVoJkVE7bM15aFeWZ56EvlxDINx7ocR3UuQhyTD7P31NTjB0ggC91BXKNV4gYWUl mTi278qmn3D4A3mfeLxbnEtos9So19EE5L42UnjuL3wheOny+IY1xJbHA9C0/d8I4qsf tBybAKT1avoE4C58OEBcaRCsmhMwF/qMW9jAk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi!

I'm running RHEL5 2.6.18-53.1.21 xen IA64 kernel on an IA64 machine with 8GB memory .  I can only allocate about 400M memory to dom0.  Then I applied this patch to the kernel: http://lists.xensource.com/archives/html/xen-ia64-devel/2007-07/msg00274.html.  Now the kernel can only recognize about 4GB memory.  Now, for the patched kernel:

After reboot, before "xm mem-set Domain 0 8192" and "xm mem-max Domain-0 8192",

"xm list -l" shows:

(domain
    (domid 0)
    (uuid 00000000-0000-0000-0000-000000000000)
    (vcpus 1)
    (cpu_weight 1.0)
    (memory 4019)
    (shadow_memory 0)
    (maxmem 4019)
    (features )
    (name Domain-0)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (state r-----)
    (shutdown_reason poweroff)
    (cpu_time 33.772744786)
    (online_vcpus 4)
)

"xm info" shows:

release                : 2.6.18-53.1.21xen
version                : #1 SMP Mon Oct 20 04:05:54 EDT 2008
machine                : ia64
nr_cpus                : 16
nr_nodes               : 1
sockets_per_node       : 4
cores_per_socket       : 2
threads_per_core       : 2
cpu_mhz                : 1668
hw_caps                : 00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000:
total_memory           : 8034
free_memory            : 3928
xen_major              : 3
xen_minor              : 1
xen_extra              : .0-53.12
xen_caps               : xen-3.0-ia64 xen-3.0-ia64be hvm-3.0-ia64
xen_pagesize           : 16384
platform_params        : virt_start=0xe800000000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20070626 (4.1.2-14)
cc_compile_by          : root
cc_compile_domain      : abc.net
cc_compile_date        : Mon Oct 20 03:25:33 EDT 2008
xend_config_format     : 2

"free" shows:

             total       used       free     shared    buffers     cached
Mem:       4115456     660816    3454640          0      26656     208832
-/+ buffers/cache:     425328    3690128
Swap:      2040208          0    2040208

After "xm mem-set Domain 0 8192" and "xm mem-max Domain-0 8192",

"xm list -l" shows:

(domain
    (domid 0)
    (uuid 00000000-0000-0000-0000-000000000000)
    (vcpus 1)
    (cpu_weight 1.0)
    (memory 8192)
    (shadow_memory 0)
    (maxmem 8192)
    (features )
    (name Domain-0)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (state r-----)
    (shutdown_reason poweroff)
    (cpu_time 42.167766076)
    (online_vcpus 4)
)

"xm info" shows:

The same as before.

"free" shows:

             total       used       free     shared    buffers     cached
Mem:       4133888     661248    3472640          0      26736     209376
-/+ buffers/cache:     425136    3708752
Swap:      2040208          0    2040208


I want Dom0 to use all 8GB memory.  Any ideas?

Thanks!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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