LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2011, 01:04 AM   #1
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
Question Incorrect Memory: Ubuntu


Hi all,

When i use free-m, i get this when I have physical RAM of 4 GB.

Code:
ninad@ninad-Studio-1555:/$ free -m
             total       used       free     shared    buffers     cached
Mem:          2862       2780         82          0         93       2214
-/+ buffers/cache:        472       2390
Swap:         6143          0       6143

My system config is:

Code:
ninad@ninad-Studio-1555:/$ uname -a
Linux ninad-Studio-1555 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux
Why my system is showing only 2.8 GB of RAM where it should be 3.8 GB?
I need this fix very urgently so as to run a heavy memory consuming program.

Thanks,
 
Old 09-14-2011, 02:43 AM   #2
DanceMan
Member
 
Registered: Mar 2009
Location: Vancouver BC
Posts: 101

Rep: Reputation: 22
My guess? You probably have a 32-bit cpu and/or OS install which can only use up to something like 3.2G. The remaining missing ram is likely being used by integrated video.

If your cpu is 64-bit capable, a 64-bit install of Ubuntu would solve the issue.
 
1 members found this post helpful.
Old 09-14-2011, 02:46 AM   #3
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yes I do have a 64 bit cpu.
So this should be a problem i see. Is there anyway that I can install a new 64 bit OS with my current OS settings (updates and installs)?
 
Old 09-14-2011, 02:52 AM   #4
DanceMan
Member
 
Registered: Mar 2009
Location: Vancouver BC
Posts: 101

Rep: Reputation: 22
I think you'd have to do a complete reinstall. Any 32-bit OS, Win or linux, can only address up to 3.2G or so. A 64-bit install will require 64-bit programs as well. By now availability of current programs would not be a problem, but again this would be reinstall territory.
 
1 members found this post helpful.
Old 09-14-2011, 02:55 AM   #5
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Ohhk... Right..!!
Thanks a lot for letting know an imp fact.
 
Old 09-14-2011, 02:57 AM   #6
kcbtux
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Rep: Reputation: Disabled
any one knows how to check the version of o.s. and processor separately??
 
Old 09-14-2011, 03:38 AM   #7
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Try uname -p and uname -o
for details, uname --help
 
Old 09-14-2011, 03:59 AM   #8
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Heyy, check this out.
It says 32bit system can use up to 4 GB RAM
http://www.linuxquestions.org/questi...-limit-707762/
 
Old 09-14-2011, 04:44 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Studio-1555? Sounds like a laptop name.

Some laptops can use huge amounts of 'main' system RAM to 'share' for use by intergrated video. That is what I would check 1st, how much RAM is allocated to video in the BIOS.

Quote:
Originally Posted by DanceMan View Post
My guess? You probably have a 32-bit cpu and/or OS install which can only use up to something like 3.2G. The remaining missing ram is likely being used by integrated video.

If your cpu is 64-bit capable, a 64-bit install of Ubuntu would solve the issue.
Wrong, 32bit can use and see 4GB+ with the PAE option.

http://en.wikipedia.org/wiki/Physical_Address_Extension

You're probably right about the intergrated video, but the 'missing' RAM will also be used by networking, audio, etc..

If it is the 3.something GB limit of standard 32bit, installing the PAE kernel will give you back the 'missing' RAM.

Quote:
Originally Posted by kcbtux View Post
any one knows how to check the version of o.s. and processor separately??
Yes. lshw and uname.
 
Old 09-14-2011, 04:48 AM   #10
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
How can I check what amount of my RAM is used for integrated video?
And how can I alter that usage? Is it ok to alter that?
 
Old 09-14-2011, 06:05 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
You can normally set the amount of shared RAM in the BIOS settings. Since I've never played with a Dell 1555 I dont know where in the BIOS the shared RAM settings would be (and a quick search didnt show me either).

If you play games its possible that dropping the amount of shared video RAM will slow some games down.
 
Old 09-14-2011, 06:09 AM   #12
ninadoak
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
well i am on linux... that underlines that i dont really play games. so that is not a problem.
P.S.: if you know good linux games, please suggest.
 
Old 09-15-2011, 07:39 AM   #13
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by ninadoak View Post
P.S.: if you know good linux games, please suggest.
What sort of games?

The games I like tend to be pretty old and most have pretty basic graphics.
 
Old 09-15-2011, 11:19 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
Quote:
Originally Posted by ninadoak View Post
if you know good linux games, please suggest.
http://www.linuxgames.com/ http://happypenguin.org/ http://www.penguspy.com/#/All/free_a...view=1/limit=0 http://www.lgdb.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
incorrect monitor model detected in ubuntu 9.10 damol Linux - Hardware 5 02-27-2010 07:33 AM
Debian incorrect RAM Memory display Taz3 Debian 2 08-14-2009 09:14 PM
RAM memory total shows incorrect james2b Mandriva 11 10-26-2008 09:01 AM
incorrect memory size reported tintapok Slackware 3 10-29-2005 02:11 AM
RHEL4 - Memory count incorrect? logosys Linux - Newbie 1 08-09-2005 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration