How to fully use the 4 GB of RAM in my Laptop under Ubuntu 9.10 - 32-bit

1

I have a Toshiba A100, which I upgraded to 4 GB of RAM. The hardware startup indeed shows 4 GB of RAM, and I recently installed Windows 7, just to see how it behaves on it. So far so good, it displays 4 GB of RAM. Not that I tried to use it all, but it displays it. Previously under XP, I also would see 4 GB of RAM.

But under Ubuntu 9.10 (32 or 64 bits), it only displays 2.9 GB of RAM. And my kernel is the "pae" compiled one, which is supposed to do the trick to work around the 32-bit CPU limitation.

How can I get Ubuntu to fully use my 4 GB of RAM?

jfmessier

Posted 2009-11-09T13:33:22.537

Reputation: 2 530

Which exact kernel are you loading? Have you tried one of the server kernels? Which application is reporting 2.9 GB of RAM? What does 'free' report? – ChrisInEdmonton – 2009-11-09T16:00:29.410

I used the default memory utility that comes in Ubuntu 9.10. I did not thing about using free or other utilities. – jfmessier – 2009-11-12T13:26:16.820

Um... what exactly do you mean by "the default memory utility that comes in Ubuntu 9.10"?

Is it a program you ran from the command line? Or something you ran from a menu? or? – pbr – 2009-12-03T03:44:41.077

I use a menu option from the Ubuntu 9.10 that shows me information about memory. Also, when I try the free command-line utility, and it shows me 2.9G. – jfmessier – 2009-12-03T13:20:56.983

Answers

1

For PAE to work, you will need both system and application that supports it. System you have (kernel), but not all applications will see it since they are usually not compiled that way.

Only applications where developer took extra steps will be able to use that memory. Usually those applications are among ones that are memory-hungry. MySQL as standard example springs to mind.

Although your system and most of your applications only see 3GB, you can be sure that some applications (e.g. MySQL) will know how to use it.

Josip Medved

Posted 2009-11-09T13:33:22.537

Reputation: 8 582

I'm not sure this is the case. When I boot up Ubuntu with a PAE-enabled 32-bit kernel, I can see all 4 GB of memory in 'free'. Now, don't get me wrong, applications will only see 3 GB of memory for each process, so Josip is not totally incorrect on this, but 'free' should report the full amount. – ChrisInEdmonton – 2009-11-09T15:59:22.330

0

On an Intel system, desktop chipsets 945 and older cannot map any RAM over the 4GB line. This is a hardware limit and cannot be workaround in software. If that is no problem, check your BIOS for memory remapping options.

Yuhong Bao

Posted 2009-11-09T13:33:22.537

Reputation: 425