On another box with identical hardware, I see
# free
total used free shared buffers cached
Mem: 5038080 1818980 3219100 0 145208 1148608
-/+ buffers/cache: 525164 4512916
Swap: 2031608 152 2031456
Both of these boxes have 8GB of ram. Is there a reason I'm not seeing
all of it?
Russ
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 12:54 AM
John R Pierce
Not seeing all memory in CentOS 5.1 x86_64
Ruslan Sivak wrote:
I'm running CentOS 5.1 with all updates, and the xen kernel. For some
reason the OS is not seeing the full amount of ram.
#uname -a
Linux CentOS-VM-A 2.6.18-53.1.21.el5xen #1 SMP Tue May 20 10:03:27 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux
# dmesg|more
Bootdata ok (command line is ro root=LABEL=/ rhgb quiet)
Linux version 2.6.9-55.0.6.ELsmp
(brewbuilder@ls20-bc2-14.build.redhat.com) (gcc version 3.4.6 20060404
(Red Hat 3.4.6-8)) #1
what do you see at the top of `dmesg` relating to memory (first 100 or
so lines).
Bootdata ok (command line is ro root=/dev/VolGroup00/LogVol00)
Linux version 2.6.18-53.1.21.el5xen (mockbuild@builder10.centos.org)
(gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue May 20
10:03:27 EDT 2008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x03] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to xen
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at d0000000 (gap: cf600000:10a00000)
Built 1 zonelists. Total pages: 2029819
Kernel command line: ro root=/dev/VolGroup00/LogVol00
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2394.066 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Software IO TLB enabled:
Aperture: 64 megabytes
Kernel range: 0xffff88000a9d9000 - 0xffff88000e9d9000
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Memory: 7875568k/8119276k available (2358k kernel code, 234816k
reserved, 1325k data, 172k init)
...
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 01:01 AM
"Akemi Yagi"
Not seeing all memory in CentOS 5.1 x86_64
On Tue, Jun 10, 2008 at 5:43 PM, Ruslan Sivak <russ@vshift.com> wrote:
> I'm running CentOS 5.1 with all updates, and the xen kernel. For some
> reason the OS is not seeing the full amount of ram.
> #uname -a
> Linux CentOS-VM-A 2.6.18-53.1.21.el5xen #1 SMP Tue May 20 10:03:27 EDT 2008
> x86_64 x86_64 x86_64 GNU/Linux
>
> # free
> total used free shared buffers cached
> Mem: 6104064 3445136 2658928 0 1412236 1515032
> -/+ buffers/cache: 517868 5586196
> Swap: 2031608 0 2031608
>
>
> On another box with identical hardware, I see
> # free
> total used free shared buffers cached
> Mem: 5038080 1818980 3219100 0 145208 1148608
> -/+ buffers/cache: 525164 4512916
> Swap: 2031608 152 2031456
>
>
> Both of these boxes have 8GB of ram. Is there a reason I'm not seeing all
> of it?
> Russ
Wonder if this is related to a known issue with the xen kernel.
Linux version 2.6.18-53.1.21.el5xen (mockbuild@builder10.centos.org)
(gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue May 20
10:03:27 EDT 2008
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000001ef8fb000 (usable)
that range is about 7.9 GiBytes, so the rest is getting lost somewhere.
I'm unfamiliar with Xens innards..
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 07:04 AM
henry ritzlmayr
Not seeing all memory in CentOS 5.1 x86_64
Am Dienstag, den 10.06.2008, 22:54 -0700 schrieb John R Pierce:
> Ruslan Sivak wrote:
> > John R Pierce wrote:
> >>
> >> whats cat /proc/meminfo say?
> >>
> > # cat /proc/meminfo
> > MemTotal: 6104064 kB
> > ...
> > HighTotal: 0 kB
> > HighFree: 0 kB
> > LowTotal: 6104064 kB
> > LowFree: 1992580 kB
> > ...
>
> > Linux version 2.6.18-53.1.21.el5xen (mockbuild@builder10.centos.org)
> > (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue May 20
> > 10:03:27 EDT 2008
> > BIOS-provided physical RAM map:
> > Xen: 0000000000000000 - 00000001ef8fb000 (usable)
> that range is about 7.9 GiBytes, so the rest is getting lost somewhere.
>
> I'm unfamiliar with Xens innards..
How many VMs are running and how much memory do they consume?
This memory is not shown in DOM0 any more.
The total memory should be visible within xentop.
wkr
Henry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 07:30 AM
"Tim Verhoeven"
Not seeing all memory in CentOS 5.1 x86_64
On Wed, Jun 11, 2008 at 9:04 AM, henry ritzlmayr <centos@rc0.at> wrote:
>
> How many VMs are running and how much memory do they consume?
>
> This memory is not shown in DOM0 any more.
>
> The total memory should be visible within xentop.
Or with :
# virsh nodeinfo
CPU model: x86_64
CPU(s): 4
CPU frequency: 2333 MHz
CPU socket(s): 2
Core(s) per socket: 2
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 10484736 kB
Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 07:32 AM
"Akemi Yagi"
Not seeing all memory in CentOS 5.1 x86_64
On Tue, Jun 10, 2008 at 7:50 PM, Ruslan Sivak <russ@vshift.com> wrote:
> Akemi Yagi wrote:
>>
>> Wonder if this is related to a known issue with the xen kernel.
>>
>> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12491&forum=38
>>
>> Or
>>
>> http://bugs.centos.org/view.php?id=1905
>>
>> You might want to try the grub with a patch offered in there.
>>
>> Akemi
>
> Thank you, I will try that tomorrow. Does anyone know if this is fixed in
> 5.2?
> Russ
It is apparently not fixed in 5.2. It you are affected by this bug,
using the grub offered above is the best solution at this moment. If
your issue is something else, you might still want to give a newer
(test) kernel a try. Someone got a slightly better result that way
(see comment #3 of the bugzilla).
Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
06-11-2008, 02:46 PM
Ruslan Sivak
Not seeing all memory in CentOS 5.1 x86_64
Tim Verhoeven wrote:
On Wed, Jun 11, 2008 at 9:04 AM, henry ritzlmayr <centos@rc0.at> wrote:
How many VMs are running and how much memory do they consume?
This memory is not shown in DOM0 any more.
The total memory should be visible within xentop.
Or with :
# virsh nodeinfo
CPU model: x86_64
CPU(s): 4
CPU frequency: 2333 MHz
CPU socket(s): 2
Core(s) per socket: 2
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 10484736 kB
Regards,
Tim
While it seems to make sense (and both xentop and virsh nodeinfo) show
the right amount of memory, even when I shut down one of the VM's, free
and top still think I only have 6GB of ram.
Russ
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos