Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System not seeing all physical memory
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
foxcub
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2002
Posts: 131
Location: North Carolina

PostPosted: Wed Jul 02, 2003 12:29 am    Post subject: System not seeing all physical memory Reply with quote

Hi, guys,

Here's a question for you. A few months back I installed Gentoo on one of the computers at hand (that was my 3rd or 4th computer running Gentoo). Everything was fine (the install went great), and since then the computer has been a perfectly good production system serving a few thousand students every semester (all this taking place at a university). The computer has 2GB of physical RAM (well, that's what was ordered and that's what BIOS says), and also a 2.6GB swap partition (I know that's more than 4GB limit, but memory was the least of my concerns at the time of the install, so I went for an overkill). Today I glanced at both top and free commands, and realized that Linux for some reason is seeing only about 900MB of the physical RAM (maybe I'm misinterpreting what I'm seeing, if so, please, explain what I'm not getting). So the question is what's going on, and how can I fix this? The kernel is set for 3GB support.

The ouput of "free -m" is as follows:
Code:

             total       used       free     shared    buffers     cached
Mem:           880        425        454          0         62        194
-/+ buffers/cache:        168        711
Swap:         2047          0       2047


Any help would be greatly appreciated.

Thanks.
Back to top
View user's profile Send private message
Brown Eyed Boy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2003
Posts: 85
Location: England

PostPosted: Wed Jul 02, 2003 1:27 am    Post subject: Reply with quote

You probably need to enable high memory support in the kernel. Take a look at the following thread: https://forums.gentoo.org/viewtopic.php?t=62189&highlight=highmem

It's also worth noting that there are compatibility issues between high memory support and nvidia graphics cards.

[edit] Also see this thread: https://forums.gentoo.org/viewtopic.php?t=64590 [/edit]

~Brown Eyed Boy
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Wed Jul 02, 2003 1:30 am    Post subject: Reply with quote

The kernel is only seeing the difference between the 4G memory limit and the 2.6G swap file.

You have to enable HighMem support in the kernel or reduce your swap file to below 1.6G to get all your ram recognised.

Remember that we are talking round Gb here.
Back to top
View user's profile Send private message
reves
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 215
Location: South Florida

PostPosted: Wed Jul 02, 2003 1:34 am    Post subject: Reply with quote

Hello foxcub,

You could try specifying the amount of memory in your grub/lilo configuration file. You can find information on doing this from the Linux Boot Prompt HOWTO
_________________
Robert
Back to top
View user's profile Send private message
foxcub
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2002
Posts: 131
Location: North Carolina

PostPosted: Wed Jul 02, 2003 3:50 am    Post subject: Reply with quote

Thanks to everybody for the prompt answers. I'll try the suggested approaches tomorrow. I would like to note, however, that simply "turning off" the swap (commenting out a line in fstab and rebooting) didn't do anything (I tried that earlier today), though, I'm sure it will be needed in combination with everything else.
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