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-ia64-devel

[Xen-ia64-devel] [RFC] Change .config of dom0 for

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [RFC] Change .config of dom0 for
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2007 09:10:04 +0900
Cc: ia64 Fedora Core Development <fedora-ia64-list@xxxxxxxxxx>
Delivery-date: Wed, 17 Jan 2007 16:08:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Isaku and all

When I boot dom0 with dom0_mem=31G, dom0 use about 2GB memory after booting.
I check why dom0 use 2GB, then I found the following message at the boot time.

 Aperture:     64 megabytes
 Kernel range: 0xe0000000052b4000 - 0xe0000000092b4000
 Address size: 30 bits
Memory: 30649984k/32456704k available (10480k code, 1805472k reserved, 4361k 
data, 288k init) <------- !!!reserved 1.8GB!!!
McKinley Errata 9 workaround not needed; disabling it

So I check the rsvd_memory, but rsvd_region is no problem.
rsvd_region[0]=1480     (0xe000000000002228 - 0xe0000000000027f0)
rsvd_region[1]=96       (0xe000000001000000 - 0xe000000001000060)
rsvd_region[2]=18344456 (0xe000000004000000 - 0xe00000000517ea08)
rsvd_region[3]=16384    (0xe000000005180000 - 0xe000000005184000)
rsvd_region[4]=66       (0xe000000005180080 - 0xe0000000051800c2)
rsvd_region[5]=80       (0xe000000005180480 - 0xe0000000051804d0)
rsvd_region[6]=1305615  (0xe000000005184000 - 0xe0000000052c2c0f)
rsvd_region[7]=0        (0xffffffffffffffff - 0xffffffffffffffff)

Because Isaku's dom0 patches change dom0's memory map from contiguous memory 
to discontiguous memory, I change .config of dom0 like the below,
then I can get the following message and dom0 don't use 2GB.

# diff -uNrp buildconfigs/linux-defconfig_xen_ia64 build-linux-2.6.16.33-
xen_ia64/.config  
--- buildconfigs/linux-defconfig_xen_ia64       2007-01-17 07:21:06.000000000 +
0900
+++ build-linux-2.6.16.33-xen_ia64/.config      2007-01-17 20:22:11.000000000 +
0900
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.16.29-xen
-# Tue Nov 14 10:38:50 2006
+# Linux kernel version: 2.6.16.33-xen
+# Wed Jan 17 20:22:11 2007
 #
 
 #
@@ -125,18 +125,23 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
 # CONFIG_SCHED_SMT is not set
 # CONFIG_PREEMPT is not set
 CONFIG_SELECT_MEMORY_MODEL=y
-CONFIG_FLATMEM_MANUAL=y
-# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_FLATMEM_MANUAL is not set
+CONFIG_DISCONTIGMEM_MANUAL=y
 # CONFIG_SPARSEMEM_MANUAL is not set
-CONFIG_FLATMEM=y
+CONFIG_DISCONTIGMEM=y
 CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_NEED_MULTIPLE_NODES=y
 # CONFIG_SPARSEMEM_STATIC is not set
 CONFIG_SPLIT_PTLOCK_CPUS=4
+CONFIG_MIGRATION=y
 CONFIG_ARCH_SELECT_MEMORY_MODEL=y
 CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
 CONFIG_ARCH_FLATMEM_ENABLE=y
 CONFIG_ARCH_SPARSEMEM_ENABLE=y
-# CONFIG_VIRTUAL_MEM_MAP is not set
+CONFIG_NUMA=y
+CONFIG_VIRTUAL_MEM_MAP=y
+CONFIG_HOLES_IN_ZONE=y
+CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
 # CONFIG_IA32_SUPPORT is not set
 CONFIG_IA64_MCA_RECOVERY=y
 CONFIG_PERFMON=y
@@ -166,6 +171,7 @@ CONFIG_ACPI_FAN=y
 CONFIG_ACPI_PROCESSOR=y
 CONFIG_ACPI_HOTPLUG_CPU=y
 CONFIG_ACPI_THERMAL=y
+CONFIG_ACPI_NUMA=y
 CONFIG_ACPI_BLACKLIST_YEAR=0
 # CONFIG_ACPI_DEBUG is not set
 CONFIG_ACPI_EC=y
@@ -1522,7 +1528,6 @@ CONFIG_HAVE_ARCH_ALLOC_SKB=y
 CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y
 CONFIG_XEN_BALLOON=y
 CONFIG_XEN_SKBUFF=y
-# CONFIG_XEN_DEVMEM is not set
 CONFIG_XEN_REBOOT=y
 # CONFIG_XEN_SMPBOOT is not set
 CONFIG_XEN_INTERFACE_VERSION=0x00030203
@@ -1558,3 +1563,4 @@ CONFIG_XEN_COMPAT_030002_AND_LATER=y
 CONFIG_XEN_COMPAT_030002=y
 CONFIG_HAVE_IRQ_IGNORE_UNHANDLED=y
 CONFIG_NO_IDLE_HZ=y
+CONFIG_XEN_DEVMEM=y


Should we change .config of dom0?
Or should we fix other code?

I think we should change .confing,
I use CONFIG_DISCONTIGMEM and CONFIG_VIRTUAL_MEM_MAP,
but we may use SPARSEMEM.
(I'll check SPARSEMEM soon.)

Please comment.

Best Regards,

Akio Takebe


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

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