Hi, first I want to send many thanks to the Xen developers and to this list. Here''s my question: Today i upgraded a server to 4GB RAM but Xen only shows 3325MB RAM?: Xen version 3.0.2-2 (xenod@cl.cam.ac.uk) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) Thu Apr 13 17:34:06 BST 2006 Latest ChangeSet: Thu Apr 13 15:18:37 2006 +0100 9617:5802713c159b (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e8000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000cfe30000 (usable) (XEN) 00000000cfe30000 - 00000000cfe40000 (ACPI data) (XEN) 00000000cfe40000 - 00000000cfef0000 (ACPI NVS) (XEN) 00000000cfef0000 - 00000000cff00000 (reserved) (XEN) 00000000ffb80000 - 0000000100000000 (reserved) (XEN) System RAM: 3325MB (3405628kB) (XEN) Xen heap: 10MB (10532kB) (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) PAE disabled. (XEN) found SMP MP-table at 000ff780 (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v002 ACPIAM ) @ 0x000f9e60 (XEN) ACPI: XSDT (v001 A M I OEMXSDT 0x09000302 MSFT 0x00000097) @ 0xcfe30100 (XEN) ACPI: FADT (v003 A M I OEMFACP 0x09000302 MSFT 0x00000097) @ 0xcfe30290 (XEN) ACPI: MADT (v001 A M I OEMAPIC 0x09000302 MSFT 0x00000097) @ 0xcfe30390 (XEN) ACPI: OEMB (v001 A M I OEMBIOS 0x09000302 MSFT 0x00000097) @ 0xcfe40040 (XEN) ACPI: DSDT (v001 P4CED P4CED091 0x00000091 INTL 0x02002026) @ 0x00000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 15:2 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 15:2 APIC version 20 (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 2598.808 MHz processor. (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K (XEN) CPU: L2 cache: 512K (XEN) CPU: Physical Processor ID: 0 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available (XEN) CPU0: Thermal monitoring enabled (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 2.60GHz stepping 09 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K (XEN) CPU: L2 cache: 512K (XEN) CPU: Physical Processor ID: 0 (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CPU1: Intel P4/Xeon Extended MCE MSRs (12) available (XEN) CPU1: Thermal monitoring enabled (XEN) CPU1: Intel(R) Pentium(R) 4 CPU 2.60GHz stepping 09 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 2 CPUs (XEN) Machine check exception polling timer started. (XEN) Using IPI Shortcut mode (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000001f }. (XEN) Domain 0 kernel requires features = { 00000000 }. (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 03000000->04000000 (28654 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c044a254 (XEN) Init. ramdisk: c044b000->c08e4000 (XEN) Phys-Mach map: c08e4000->c0903fb8 (XEN) Start info: c0904000->c0905000 (XEN) Page tables: c0905000->c0909000 (XEN) Boot stack: c0909000->c090a000 (XEN) TOTAL: c0000000->c0c00000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Initrd len 0x499000, start at 0xc044b000 (XEN) Scrubbing Free RAM: ..................................done. (XEN) Xen trace buffers: disabled Do i already need PAE extension for this? (I thought PAE is only needed if i want more than 4GB.) Thank you in advance, Frank Schubert -- Frank Schubert Systemadministration EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.750 Fax: +49.(0)30.90 226.760 f.schubert@espresto.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emiliano Gabrielli (aka AlberT)
2006-Apr-28 08:50 UTC
Re: [Xen-users] System-RAM: 3325MB question
On Friday 28 April 2006 10:47, Frank Schubert wrote:> (XEN) PAE disabled.enable it -- <?php echo '' Emiliano Gabrielli (aka AlberT) '',"\n", '' socio fondatore e membro del direttivo del GrUSP '',"\n", '' AlberT_at_SuperAlberT_it - www.SuperAlberT.it '',"\n", '' IRC: #php,#AES azzurra.com '',"\n",''ICQ: 158591185''; ?> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emiliano Gabrielli (aka AlberT)
2006-Apr-28 08:53 UTC
Re: [Xen-users] System-RAM: 3325MB question
On Friday 28 April 2006 10:50, Emiliano Gabrielli (aka AlberT) wrote:> > (XEN) PAE disabled. > > enable itjust to see if it has any effect I mean .. sorry -- <?php echo '' Emiliano Gabrielli (aka AlberT) '',"\n", '' socio fondatore e membro del direttivo del GrUSP '',"\n", '' AlberT_at_SuperAlberT_it - www.SuperAlberT.it '',"\n", '' IRC: #php,#AES azzurra.com '',"\n",''ICQ: 158591185''; ?> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Freitag 28 April 2006 10:47 schrieb Frank Schubert:> Hi, > > first I want to send many thanks to the Xen developers and to this list. > > Here''s my question: > Today i upgraded a server to 4GB RAM but Xen only shows 3325MB RAM?: > > Do i already need PAE extension for this? > (I thought PAE is only needed if i want more than 4GB.)Did you compile your kernel with "High Memory Support" set to 4GB (config HIGHMEM4G)? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emiliano Gabrielli (aka AlberT)
2006-Apr-28 09:18 UTC
Re: [Xen-users] System-RAM: 3325MB question
On Friday 28 April 2006 11:09, Jan Philipp Giel wrote:> Did you compile your kernel with "High Memory Support" set to 4GB (config > HIGHMEM4G)?if not he should have only 1Gb shown .. -- <?php echo '' Emiliano Gabrielli (aka AlberT) '',"\n", '' socio fondatore e membro del direttivo del GrUSP '',"\n", '' AlberT_at_SuperAlberT_it - www.SuperAlberT.it '',"\n", '' IRC: #php,#AES azzurra.com '',"\n",''ICQ: 158591185''; ?> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jan Philipp Giel wrote:> Am Freitag 28 April 2006 10:47 schrieb Frank Schubert: >> Hi, >> >> first I want to send many thanks to the Xen developers and to this list. >> >> Here''s my question: >> Today i upgraded a server to 4GB RAM but Xen only shows 3325MB RAM?: >> >> Do i already need PAE extension for this? >> (I thought PAE is only needed if i want more than 4GB.) > > Did you compile your kernel with "High Memory Support" set to 4GB (config > HIGHMEM4G)?Yes, its enabled: # # Firmware Drivers # CONFIG_DELL_RBU=m CONFIG_DCDBAS=m # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_VMSPLIT_3G=y # CONFIG_VMSPLIT_3G_OPT is not set # CONFIG_VMSPLIT_2G is not set # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=0xC0000000 CONFIG_HIGHMEM=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y # CONFIG_SPARSEMEM_STATIC is not set CONFIG_SPLIT_PTLOCK_CPUS=4096 CONFIG_MTRR=y # CONFIG_REGPARM is not set CONFIG_SECCOMP=y CONFIG_HZ_100=y # CONFIG_HZ_250 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=100 # CONFIG_CRASH_DUMP is not set CONFIG_PHYSICAL_START=0x100000 CONFIG_HOTPLUG_CPU=y Regards, Frank - -- Frank Schubert Systemadministration EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.750 Fax: +49.(0)30.90 226.760 f.schubert@espresto.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEUeEbiPTaK2Nc4GkRAtcDAKCmRALJEaqQi4d4i3Gk9MvtU3zTzACeLRFE XxEjtHzUuh4qLq0g+EVJaxk=2rM2 -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Frank Schubert > Sent: 28 April 2006 09:47 > To: xen-users Mailinglist > Subject: [Xen-users] System-RAM: 3325MB question > > Hi, > > first I want to send many thanks to the Xen developers and to > this list. > > Here''s my question: > Today i upgraded a server to 4GB RAM but Xen only shows 3325MB RAM?: > > Xen version 3.0.2-2 (xenod@cl.cam.ac.uk) (gcc version 3.3.3 > 20040412 (Red Hat Linux 3.3.3-7)) Thu Apr 13 17:34:06 BST > 2006 Latest ChangeSet: Thu Apr 13 15:18:37 2006 +0100 > 9617:5802713c159b > > > Do i already need PAE extension for this? > (I thought PAE is only needed if i want more than 4GB.)Short answer: Yes. The reason you only see 3.3GB is that the PCI space has to live somewhere - and for practical purposes, the BIOS deciedes that SOMEWHERE is below 4GB - so you get your PCI devices taking up around 700MB, and that is what eats up the memory. The RAM will then be "redirected" to above 4GB - so you need PAE or 64-bit addressing (which is PAE with a fourth level of page-tables added) to see more than 4GB of address space, and since some of your ram is above 4GB, you need PAE on. -- Mats> > Thank you in advance, > Frank Schubert > > -- > Frank Schubert > Systemadministration > EsPresto AG > Breite Str. 30-31 > 10178 Berlin/Germany > Tel: +49.(0)30.90 226.750 > Fax: +49.(0)30.90 226.760 > f.schubert@espresto.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Freitag 28 April 2006 11:18 schrieb Emiliano Gabrielli (aka AlberT):> On Friday 28 April 2006 11:09, Jan Philipp Giel wrote: > > Did you compile your kernel with "High Memory Support" set to 4GB (config > > HIGHMEM4G)? > > if not he should have only 1Gb shown ..I thought that without 4GB highmem support you see 3GB. The postings I found in the mailing list archives state that high memory support is irrelevant for xen (if your doms use less than 1GB) because memory is managed by the hypervisor. But that you need PAE for a 4 GB machine. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats wrote:> > >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >> Frank Schubert >> Sent: 28 April 2006 09:47 >> To: xen-users Mailinglist >> Subject: [Xen-users] System-RAM: 3325MB question >> >> Hi, >> >> first I want to send many thanks to the Xen developers and to >> this list. >> >> Here''s my question: >> Today i upgraded a server to 4GB RAM but Xen only shows 3325MB RAM?: >> >> Xen version 3.0.2-2 (xenod@cl.cam.ac.uk) (gcc version 3.3.3 >> 20040412 (Red Hat Linux 3.3.3-7)) Thu Apr 13 17:34:06 BST >> 2006 Latest ChangeSet: Thu Apr 13 15:18:37 2006 +0100 >> 9617:5802713c159b >> >> >> Do i already need PAE extension for this? >> (I thought PAE is only needed if i want more than 4GB.) > > Short answer: Yes. > > The reason you only see 3.3GB is that the PCI space has to live > somewhere - and for practical purposes, the BIOS deciedes that SOMEWHERE > is below 4GB - so you get your PCI devices taking up around 700MB, and > that is what eats up the memory. > > The RAM will then be "redirected" to above 4GB - so you need PAE or > 64-bit addressing (which is PAE with a fourth level of page-tables > added) to see more than 4GB of address space, and since some of your ram > is above 4GB, you need PAE on. > > -- > MatsThank you for your explanation. Just because I''m curious: xm dmesg says: [...] (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) PAE disabled. (XEN) found SMP MP-table at 000ff780 [...] Can I simply enable PAE with a kernel option in grub? (The output looks like i could do that.)>From other postings I know that I should recompile...Regards, Frank -- Frank Schubert Systemadministration EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.750 Fax: +49.(0)30.90 226.760 f.schubert@espresto.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> xm dmesg says: > [...] > (XEN) Using scheduler: Simple EDF Scheduler (sedf) > (XEN) PAE disabled. > (XEN) found SMP MP-table at 000ff780 > [...] > > Can I simply enable PAE with a kernel option in grub? > (The output looks like i could do that.) >You need to enable PAE in both Xen and Linux - they need to be a matching setup otherwise it won''t work [this is because Xen handles the page-tables for Linux and it obviously needs to handle the same LEVEL of page tables as Linux thinks it should be!]. So you need to set the 64G configuration option in .config for Linux, and the PAE option in the Xen config file (Config.mk: XEN_TARGET_X86_PAE = y). This will obviously need a recompile of both Xen and the Linux kernel... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emiliano Gabrielli (aka AlberT)
2006-Apr-28 14:59 UTC
Re: [Xen-users] System-RAM: 3325MB question
On Friday 28 April 2006 11:52, Frank Schubert wrote:> Can I simply enable PAE with a kernel option in grub? > (The output looks like i could do that.)no you can''t you have to rebuild the kernel with BIGMEM64 -- <?php echo '' Emiliano Gabrielli (aka AlberT) '',"\n", '' socio fondatore e membro del direttivo del GrUSP '',"\n", '' AlberT_at_SuperAlberT_it - www.SuperAlberT.it '',"\n", '' IRC: #php,#AES azzurra.com '',"\n",''ICQ: 158591185''; ?> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users