Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Top shows less memory than should be available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
graphicsMan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 87

PostPosted: Fri Oct 05, 2007 6:07 pm    Post subject: Top shows less memory than should be available Reply with quote

Hi all -

I am having a bit of confusion about how much memory should show up as available for my applications. I have three identical nodes, and I have three different amounts of available RAM.

machine 0 shows 4046452k total
machine 1 shows 3794504k total
machine 2 shows 3800476k total

I think this may have something to do with kernel version:
0: 2.6.22-gentoo-r6
1: 2.6.21-gentoo-r3
2: 2.6.22-gentoo-r8

Are there any kernel options that could relate to this memory difference?

Thanks!
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Oct 05, 2007 7:16 pm    Post subject: Reply with quote

Hi graphicsMan,
Do you have 4GB of RAM?
If so set your .config to
Code:

CONFIG_HIGHMEM=64G

I had a similar problem and this solved it.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
graphicsMan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 87

PostPosted: Fri Oct 05, 2007 7:43 pm    Post subject: Reply with quote

I should have perhaps given a bit more info. These machines are running AMD64, and I think the HIGHMEM option is removed for this configuration. I added it manually, but it made no difference.

Thanks for the suggestion though.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9920
Location: almost Mile High in the USA

PostPosted: Sat Oct 06, 2007 4:20 am    Post subject: Reply with quote

if they're identical machines, why don't you just use the same kernel for all three machines?
Can you just diff the .config files?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
graphicsMan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 87

PostPosted: Sat Oct 06, 2007 8:16 pm    Post subject: Reply with quote

eccerr0r wrote:
if they're identical machines, why don't you just use the same kernel for all three machines?
Can you just diff the .config files?


Probably a good short term solution. I'm just wondering why this is happening... if I upgrade my kernel again, am I going to end up with less memory? Probably so.

If I diff the .config files I get this:
Code:

3,4c3,4
< # Linux kernel version: 2.6.22-gentoo-r8
< # Thu Oct  4 22:18:22 2007
---
> # Linux kernel version: 2.6.22-gentoo-r6
> # Thu Sep 13 01:00:57 2007
76a77
> CONFIG_TIMERFD=y
168,170d168
<
< CONFIG_HIGHMEM=64G
<


Thanks again.
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Mon Oct 08, 2007 4:57 am    Post subject: Reply with quote

Check that the BIOS settings are all the same. Memory hole, AGP aperture, USB booting, on-board video, etc.
Back to top
View user's profile Send private message
graphicsMan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 87

PostPosted: Mon Oct 08, 2007 9:51 pm    Post subject: Reply with quote

Well, looking into the BIOS, I was reminded that these machines aren't 100% identical... the processors in the first machine (4096 MB) are Opteron 2216, and the processors in the other two machines are Opteron 8216.

The other useful bit of info that I learned whilst digging around in the BIOS is that the BIOS reports the same amounts of RAM as the kernel does. So it is definitely something at the BIOS level that is causing my memory differences. It is probably related to the fact that I'm running 2216s and 8216s.

Can anyone confirm this? Is there a way around this happening?

Thanks!

[edit]

Though, it IS interesting that by compiling a different kernel I changed the amount of RAM. Can compiling and installing a new kernel affect how much RAM is seen by the BIOS?

[/edit]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum