Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
BTW, the server isn't running all the newest updates, but it is running the latest CentOS 4 kernel (2.6.9-42.0.10.ELsmp).
Regards,
Ranbir
Fedora has a PAE kernel which is useful in instances like this, what would be the CentOS alternative to that?
-Drew
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Kanwar Ranbir Sandhu Sent: Monday, March 05, 2007 11:47 AM To: CentOS mailing list Subject: [CentOS] CentOS 4.4 not seeing all RAM
Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
BTW, the server isn't running all the newest updates, but it is running the latest CentOS 4 kernel (2.6.9-42.0.10.ELsmp).
Regards,
Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.19-1.2911.fc6 i686 GNU/Linux 11:39:08 up 2 days, 10:28, 2 users, load average: 1.18, 0.64, 0.60
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Ah, we never use x64 so I guess I spoke too soon, oh well was just tryin to help.
-Drew
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Peter Kjellstrom Sent: Monday, March 05, 2007 12:04 PM To: centos@centos.org Subject: Re: [CentOS] CentOS 4.4 not seeing all RAM
On Monday 05 March 2007, Drew Weaver wrote:
Fedora has a PAE kernel which is useful in instances like this, what would be the CentOS alternative to that?
That would be not using PAE since the OP is on x86_64.
/Peter
While I too believe that it is a BIOS setting that is giving you troubles, as another suggestion and data point, whenever I install new memory, I run memtest (via the install CD boot: prompt) and let memory tests run overnight [if it finds all the memory installed on the box.]. If it doesn't find all the memory, you want to start looking at the memory sticks, are they seated correctly, etc. Finally, I check timing.
Then, if Linux doesn't see the memory, it is usually the BIOS that is the problem (at least for me where my memory is less than 8 GB). Also, I go over the first couple of pages of dmesg (at boot-up) with a fine tooth comb and understand all the messages, their implications, etc.
If all else fails, I use the* Linux*-ready *Firmware* Developer Kit at:
http://www.linuxfirmwarekit.org/
While it doesn't do a lot with memory, it might find some "issues" with your BIOS .....
Hope this helps ...
Rich
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Maybe the hugemem kernel ?
[]s
On Mon, Mar 05, 2007 at 11:51:15AM -0500, Drew Weaver wrote:
Fedora has a PAE kernel which is useful in instances like this, what would be the CentOS alternative to that?
-Drew
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Kanwar Ranbir Sandhu Sent: Monday, March 05, 2007 11:47 AM To: CentOS mailing list Subject: [CentOS] CentOS 4.4 not seeing all RAM
Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared
buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
BTW, the server isn't running all the newest updates, but it is running the latest CentOS 4 kernel (2.6.9-42.0.10.ELsmp).
Regards,
Ranbir
Kanwar Ranbir Sandhu Linux 2.6.19-1.2911.fc6 i686 GNU/Linux 11:39:08 up 2 days, 10:28, 2 users, load average: 1.18, 0.64, 0.60
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Correction: largesmp kernel, nor hugemem.
[]s
On Mon, Mar 05, 2007 at 02:04:06PM -0300, Rodrigo Barbosa wrote:
Maybe the hugemem kernel ?
[]s
On Mon, Mar 05, 2007 at 11:51:15AM -0500, Drew Weaver wrote:
Fedora has a PAE kernel which is useful in instances like this, what would be the CentOS alternative to that?
-Drew
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Kanwar Ranbir Sandhu Sent: Monday, March 05, 2007 11:47 AM To: CentOS mailing list Subject: [CentOS] CentOS 4.4 not seeing all RAM
Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared
buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
BTW, the server isn't running all the newest updates, but it is running the latest CentOS 4 kernel (2.6.9-42.0.10.ELsmp).
Regards,
Ranbir
Kanwar Ranbir Sandhu Linux 2.6.19-1.2911.fc6 i686 GNU/Linux 11:39:08 up 2 days, 10:28, 2 users, load average: 1.18, 0.64, 0.60
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Kanwar Ranbir Sandhu wrote:
Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared
buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
It's probably a memory hole mapping setting ... you probably need to enable it - have a look under 'Advanced Hammer Configuration' (or similar) in the BIOS
James Pearson
On Mon, 2007-03-05 at 17:08 +0000, James Pearson wrote:
It's probably a memory hole mapping setting ... you probably need to enable it - have a look under 'Advanced Hammer Configuration' (or similar) in the BIOS
Hmmm...I see this too in dmesg:
No AGP bridge found Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM Mapping aperture over 65536 KB of RAM @ 4000000
I guess I'll try enabling it and see what happens.
Regards,
Ranbir
On Mon, 2007-03-05 at 12:13 -0500, Kanwar Ranbir Sandhu wrote:
Hmmm...I see this too in dmesg:
No AGP bridge found Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM Mapping aperture over 65536 KB of RAM @ 4000000
I guess I'll try enabling it and see what happens.
Replying to myself here, but good for the archives:
I checked the Tyan website and it a BIOS upgrade added an IOMMU option. The server isn't running the latest BIOS, so I'll have to do that before I can try enabling it.
Regards,
Ranbir
Interesting. I wonder if it has something to do with the chipset the motherboard is using?
Here's free on a new server of mine, with 16gb, runing x86_64, centos 4.4
[root@vmhost ~]# free -m total used free shared buffers cached Mem: 16029 16004 24 0 2144 13002 -/+ buffers/cache: 858 15171 Swap: 1983 0 1983
[root@vmhost ~]# dmesg |grep Memory Memory: 16413932k/17563648k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
I see the same thing you do, basiclly a gigabyte is "missing"
However, on a machine with only 2g of ram, less ram is 'missing':
[root@incognito ~]# dmesg |grep Memory Memory: 2054916k/2096896k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
[root@incognito ~]# free -m total used free shared buffers cached Mem: 2007 1988 18 0 31 1827 -/+ buffers/cache: 129 1877 Swap: 996 0 995
Both these boxes are brand new Dells, first one's a 2950, the other an 860.
Gordon
On 3/5/07, Kanwar Ranbir Sandhu m3freak@thesandhufamily.ca wrote:
Hi Everyone,
My server is only seeing 4.8 GB out of 6 GB available. I don't know why.
I have a CentOS 4.4 x86_64 server running on a Tyan s2895 with 6 GB of RAM (two 1 GB sticks and 2 2 GB sticks). I upgraded the RAM, powered up the server, and when CentOS was finished booting, checked the available RAM with free. This is what it's reporting:
total used free shared
buffers cached Mem: 4809064 4769492 39572 0 197156 3127704 -/+ buffers/cache: 1444632 3364432 Swap: 2064376 176 2064200
The BIOS sees all of the RAM. In fact, it looks to me like the kernel knows 6 GB is available. But, it is only using 4.8 GB because I see this in dmesg:
Memory: 4808464k/6291456k available (2106k kernel code, 0k reserved, 1299k data, 196k init)
What happened to the other 1 GB+ of RAM?
BTW, the server isn't running all the newest updates, but it is running the latest CentOS 4 kernel (2.6.9-42.0.10.ELsmp).
Regards,
Ranbir
Kanwar Ranbir Sandhu Linux 2.6.19-1.2911.fc6 i686 GNU/Linux 11:39:08 up 2 days, 10:28, 2 users, load average: 1.18, 0.64, 0.60
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos