LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to use full RAM in Ubuntu 11.04 32 bit (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-full-ram-in-ubuntu-11-04-32-bit-897262/)

unkn(0)wn 08-14-2011 12:54 PM

How to use full RAM in Ubuntu 11.04 32 bit
 
Hello ,
I recently installed UBUNTU 11.04 32 bit on my laptop , having configuration

intel core i5 460M
4 gb RAM
500 gb HDD
Nvidia geForce GT 420M Graphics Card

but when i opened system monitor , it showes only 2.3 GB RAM there ! and 4 GB swap (Don't know what swap means) . Where does my rest of memory goes ? (Windows 7 is showing 4GB ram ).

And from where i can install correct driver for my Graphics Card . When i install "Restricted Driver Download" it put ends to desktop effect (including my favorite Wobbly effect :( (Don't suggest Compiz please).

Pls help !

TobiSGD 08-14-2011 01:17 PM

Please don't attach totally unrelated polls to your threads, that is somewhat useless.
To your question: Windows is lying, at least in the 32 bit version. It detects 4GB of RAM, but can not use it to its fully extent. Linux is saying the truth, caused by BIOS issues it is not able to use more than 2.3 GB. You have to either install the PAE kernel (I think in Ubuntu it is the server kernel) or use the 64 bit version of Ubuntu.

unkn(0)wn 08-14-2011 01:27 PM

Let me tell you , when i play games in windows my ram usage reaches to 3.2 GB in task manager , so windows can't be lying !
And i am having my data spread everywhere in ubuntu 32 bit . So i can't roll over , i just wanted to use my full ram , if possible !
And about poll , i'll take care next time (noob , i am) . And how to install KERNEL PAE ?

TobiSGD 08-14-2011 01:36 PM

Quote:

Originally Posted by unkn(0)wn (Post 4442788)
Let me tell you , when i play games in windows my ram usage reaches to 3.2 GB in task manager , so windows can't be lying !

Windows may be able to use more RAM than Linux (assuming both are 32 bit), but it is impossible for a 32 bit Windows version to use the full 4GB RAM. Instead of showing the amount of RAM it can use it shows the amount of RAM it can detect. This was not the case on early Vista versions, but they patched it because many customers complained about the "missing" RAM. So Windows is lying, it shows RAM that it can not use.

To install the PAE kernel open Synaptic and search for the package linux-image-2.6.38-10-generic-pae. That is the one to install.
Alternatively you can install it with
Code:

sudo apt-get update && sudo apt-get install linux-image-2.6.38-10-generic-pae

jefro 08-14-2011 03:17 PM

I assume you mean you have 2.3 left ready to use and not a total of.

By the way, I have no idea why attracts so many newbies to backtrack. A criminal nature? There is really no legitimate reason for most people to use backtrack. It is a tool for advanced user in a very limited situation. It could be a tool for criminals also sadly like a firearm.

16pide 08-14-2011 03:19 PM

This is all well described here:
http://www.codinghorror.com/blog/200...es-of-ram.html

32 bit OS limits you to 4GB, not 2GB. But then there are the devices such as graphic card, audio, disk, etc ...

Anyway, the URL above is a good read

TobiSGD 08-14-2011 03:23 PM

Quote:

Originally Posted by jefro (Post 4442873)
I have no idea why attracts so many newbies to backtrack.

I think it is the coolness-factor. A few years ago some people felt themselves to be "1337-haxorz" because they had Linux installed on their machines. Nowadays Linux isn't a geek-system anymore, so they have to go to a system that contains tools for cracking networks, so that they can feel themselves as "1337-haxorz", even if they don't know even the basics about networks and how to use those tools. They have seen a tutorial on Youtube how to crack your neighbor's WLAN, so they MUST have it.

unkn(0)wn 08-14-2011 04:04 PM

Quote:

Originally Posted by tobisgd (Post 4442880)
i think it is the coolness-factor. A few years ago some people felt themselves to be "1337-haxorz" because they had linux installed on their machines. Nowadays linux isn't a geek-system anymore, so they have to go to a system that contains tools for cracking networks, so that they can feel themselves as "1337-haxorz", even if they don't know even the basics about networks and how to use those tools. They have seen a tutorial on youtube how to crack your neighbor's wlan, so they must have it.

dont take everything in negative way pls . Always think positive ...

TobiSGD 08-14-2011 04:21 PM

Quote:

Originally Posted by unkn(0)wn (Post 4442916)
dont take everything in negative way pls . Always think positive ...

Hey, that was meant neither negative nor positive. It is just what I think is a realistic view of that topic. ;)

cascade9 08-15-2011 04:58 AM

I've seen i5-XXXM setups with up to 1.7GB of 'shared' video memory. That would explain the 'missing' memory (1.something GB + 2.3GB = 3.something which is what 32bit non-PAE is normally limited to).

If that assumption is right, installing the PAE kernel might get you some memory back, but I'd doubt you would get more than 200-500MB.

Quote:

Originally Posted by unkn(0)wn (Post 4442760)
And from where i can install correct driver for my Graphics Card . When i install "Restricted Driver Download" it put ends to desktop effect (including my favorite Wobbly effect :( (Don't suggest Compiz please).

11.04 is using compiz already....

If your video driver installation failed like that, you probably have a laptop with 'switchable graphics', with the intel video chip used as the main video. You would need to change over to the nidia GPU to be able to install the drivers. That can sometimes be done from the BIOS, sometimes you have to use software.

What model laptop is it?

unkn(0)wn 08-15-2011 06:18 AM

Quote:

Originally Posted by TobiSGD (Post 4442799)
Windows may be able to use more RAM than Linux (assuming both are 32 bit), but it is impossible for a 32 bit Windows version to use the full 4GB RAM. Instead of showing the amount of RAM it can use it shows the amount of RAM it can detect. This was not the case on early Vista versions, but they patched it because many customers complained about the "missing" RAM. So Windows is lying, it shows RAM that it can not use.

To install the PAE kernel open Synaptic and search for the package linux-image-2.6.38-10-generic-pae. That is the one to install.
Alternatively you can install it with
Code:

sudo apt-get update && sudo apt-get install linux-image-2.6.38-10-generic-pae

Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://in.archive.ubuntu.com natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://security.ubuntu.com natty-security Release.gpg [198 B]
Ign http://in.archive.ubuntu.com natty-updates InRelease
Hit http://in.archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release
Get:3 http://security.ubuntu.com natty-security Release [27.2 kB]
Get:4 http://in.archive.ubuntu.com natty-updates Release.gpg [198 B]
Hit http://extras.ubuntu.com natty/main Sources
Hit http://in.archive.ubuntu.com natty Release
Hit http://extras.ubuntu.com natty/main amd64 Packages
Get:5 http://security.ubuntu.com natty-security/main Sources [63.8 kB]
Get:6 http://in.archive.ubuntu.com natty-updates Release [27.2 kB]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:7 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Hit http://in.archive.ubuntu.com natty/main Sources
Hit http://in.archive.ubuntu.com natty/restricted Sources
Get:8 http://security.ubuntu.com natty-security/universe Sources [9,829 B]
Hit http://in.archive.ubuntu.com natty/universe Sources
Hit http://in.archive.ubuntu.com natty/multiverse Sources
Get:9 http://security.ubuntu.com natty-security/multiverse Sources [655 B]
Hit http://in.archive.ubuntu.com natty/main amd64 Packages
Hit http://in.archive.ubuntu.com natty/restricted amd64 Packages
Get:10 http://security.ubuntu.com natty-security/main amd64 Packages [166 kB]
Hit http://in.archive.ubuntu.com natty/universe amd64 Packages
Hit http://in.archive.ubuntu.com natty/multiverse amd64 Packages
Ign http://extras.ubuntu.com natty/main Translation-en_IN
Get:11 http://security.ubuntu.com natty-security/restricted amd64 Packages [14 B]
Ign http://in.archive.ubuntu.com natty/main TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://in.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty/universe TranslationIndex
Get:12 http://in.archive.ubuntu.com natty-updates/main Sources [99.6 kB]
Get:13 http://in.archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:14 http://in.archive.ubuntu.com natty-updates/universe Sources [22.6 kB]
Get:15 http://in.archive.ubuntu.com natty-updates/multiverse Sources [1,895 B]
Get:16 http://security.ubuntu.com natty-security/universe amd64 Packages [31.8 kB]
Get:17 http://in.archive.ubuntu.com natty-updates/main amd64 Packages [299 kB]
Get:18 http://in.archive.ubuntu.com natty-updates/restricted amd64 Packages [14 B]
Get:19 http://security.ubuntu.com natty-security/multiverse amd64 Packages [1,942 B]
Get:20 http://in.archive.ubuntu.com natty-updates/universe amd64 Packages [82.7 kB]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Get:21 http://in.archive.ubuntu.com natty-updates/multiverse amd64 Packages [4,176 B]
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en_IN
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_IN
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_IN
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://in.archive.ubuntu.com natty/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty/main Translation-en
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty/restricted Translation-en
Ign http://in.archive.ubuntu.com natty/universe Translation-en_IN
Ign http://in.archive.ubuntu.com natty/universe Translation-en
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 839 kB in 39s (21.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-2.6.38-10-generic-pae
E: Couldn't find any package by regex 'linux-image-2.6.38-10-generic-pae'

outcome of above command , no help .

TobiSGD 08-15-2011 06:27 AM

That's rather weird, that package should be there. Try it with linux-generic-pae instead of linux-image-2.6.38-10-generic-pae

unkn(0)wn 08-15-2011 06:30 AM

Quote:

Originally Posted by cascade9 (Post 4443311)
What model laptop is it?

i see , my laptop model is Dell XPS L501X , with two graphics
1. Intel(R) HD graphics
2. NVIDIA Georce GT420M
And i am sure that Default is Intel HD graphics .
How to switch using software (I don't like to change in BIOS) .

TobiSGD 08-15-2011 06:31 AM

Quote:

Originally Posted by unkn(0)wn (Post 4443378)
How to switch using software (I don't like to change in BIOS) .

You don't. NVidia currently does not support switchable graphics.

cascade9 08-15-2011 08:01 AM

Quote:

Originally Posted by unkn(0)wn (Post 4443378)
How to switch using software (I don't like to change in BIOS) .

It would be easier...a lot easier...to force the nVidia GPU in the BIOS than to stuff around with software switching. But if you really want to do it from software, this is the place to look-

http://linux-hybrid-graphics.blogspo...for-linux.html

Quote:

Originally Posted by TobiSGD (Post 4443379)
You don't. NVidia currently does not support switchable graphics.

I dont know if nVidia offically supports switchable graphics with linux, but it can work. 'Switchable graphics' is less complex than 'optimus'.


All times are GMT -5. The time now is 04:38 PM.