LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-23-2009, 01:16 AM   #1
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Maximum amount of RAM on a 64 bit OS?


I was looking to upgrade the amount of RAM in my computer (currently 2GB), and was using `dmidecode` to see how many slots I have available. In my search I noticed that it appears that the Maximum Capacity is 4GB on my motherboard.

Even though I am running a 64 bit OS, is it correct to say that my memory controller will still only support up to 4GB of RAM? If there is any other information I can provide, please let me know, thanks!

--Shaun

sabayonnavi ~ # dmidecode -t memory | grep "Total Memory Size"
Maximum Total Memory Size: 4096 MB
sabayonnavi ~ # dmidecode -t memory | grep "Maximum Capacity"
Maximum Capacity: 4 GB
sabayonnavi ~ #
 
Old 08-23-2009, 01:59 AM   #2
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
yes. unfortunately and realistically, high levels of ram require more checks and balances(hence ecc). i have a 64bit processor and my motherboard will only support 16GB but only one brand of ram will be able to pull off 12GB. if you want to use a lot of ram you really need a server motherboard with ecc. there is a a reason that people pay twice as much for the same amount of memory(ecc).
 
Old 08-23-2009, 02:18 AM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I've got 4GB in my machine, too, but I don't think I've ever seen usage above 1GB. If you're doing video editing or something like that, then you might get some benefit from it. Otherwise, if you aren't having swapping problems, then you won't see any benefit from upgrading. It's pretty common for the memory controller to be the limiting factor for memory.
 
Old 08-23-2009, 08:17 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by binary_pearl View Post
I was looking to upgrade the amount of RAM in my computer (currently 2GB), and was using `dmidecode` to see how many slots I have available. In my search I noticed that it appears that the Maximum Capacity is 4GB on my motherboard.
A lot of motherboards that claim a maximum capacity of 4GB really have a lower maximum capacity, 3 point something or even 2 point something GB.

You might want to research the motherboard further to find out how much ram you would be able to use if you installed 4GB.

Quote:
Even though I am running a 64 bit OS, is it correct to say that my memory controller will still only support up to 4GB of RAM?
If the memory controller only supports 4GB of actual ram (unlikely) then that limits you to 4GB. Nothing the 64 bit OS could do would get around that.

If the memory controller only supports 4GB of physical address space (more likely), that limits you to much less than 4GB of usable ram.
 
Old 08-23-2009, 09:00 AM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Exclamation

Something else worth noting, which I'm not yet sure what to make of in my own case:

The DMI decoded information for my board shows:

Code:
Handle 0x0008, DMI type 5, 24 bytes
Memory Controller Information      
        Error Detecting Method: 64-bit ECC
<---snip--->
        Maximum Memory Module Size: 1024 MB     
        Maximum Total Memory Size: 4096 MB      
<---snip--->          
        Associated Memory Slots: 4              
<---snip--->
        Socket Designation: DIMM1  
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)  
<---snip--->
        Socket Designation: DIMM3  
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)  
<---snip--->
        Socket Designation: DIMM2           
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)  
<---snip--->
        Socket Designation: DIMM4  
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)
So based on the above, the memory controller supports 4096Mib (4-Gib) -- and in both 32 bit Slackware (w/PAE 64Gib enabled), and 64 bit Slackware, I have no troubles seeing/identifying/using all 4-Gib.

But, further down the DMI information, I see this:

Code:
Physical Memory Array               
        Location: System Board Or Motherboard
        Use: System Memory                   
        Error Correction Type: None          
        Maximum Capacity: 16 GB              
        Error Information Handle: Not Provided
        Number Of Devices: 4
Which leads me to believe that 16 Gib are supported (4x 2-Gib sticks, as there are 4 slots)

Now, below is from the manufacturers website/specifications for the board:
Code:
DIMM Slots  	4
Max Memory (GB) 	8
Which indicates 8 Gib supported!

So taken all together, I don't know what to make of it as the information seems conflicting to me, and I'm not knowledgeable enough to make an educated guess..

The moral: DMI information is known to be inaccurate; whom to believe?


Sasha

Last edited by GrapefruiTgirl; 08-23-2009 at 09:02 AM.
 
Old 08-23-2009, 09:22 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The title of the thread is about memory supported by the OS.

There are three things that affect how much memory can be used:
The cpu
The mainboard design, including chipset
The OS

If you have a 64-bit CPU and OS, then the limitation will be the mainboard. This would be the typical situation.

A 64-bit cpu and OS will support ~ 2^64 bytes of RAM = 1.84E19 (18.4 exabytes) How many 2GB sticks is that?......
 
Old 08-23-2009, 09:31 AM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
PS - sorry if my above post skirted the exact topic/OP question-- hopefully it added a teensy bit of value to the thread nonetheless..

Pixellany appears to have answered the exact question specifically.

Sasha
 
Old 08-23-2009, 10:08 AM   #8
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98

Original Poster
Blog Entries: 3

Rep: Reputation: 23
Thanks all!

I am definitely swapping, but that's running compiz, firefox, and amarok, on a dual headed display. So I'm asking for my system to swap

This is good information, as at work I help maintain a very large number of linux x86 servers from different generations (from dual socket PIII's, to dual socket quad core's). We are trying to figure out how to spec out how much ram each server model can hold, and I think it's better to get the information from `dmidecode` vs the information from a salesperson

--Shaun
 
Old 08-23-2009, 10:20 AM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
FWIW, I too would probably trust DMIdecode farther than 'a salesperson' -- but do keep in mind, dmi information is not necessarily complete, nor necessarily accurate, a good part of the time..

Cheers,
Sasha
 
  


Reply



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
What type of problems do I may have running a 32 bit OS with a huge amount of RAM? Alberto López Torres Linux - General 1 06-03-2009 10:46 AM
Quick RAM amount question DragonM15 Linux - Hardware 6 05-24-2007 05:58 PM
RAM amount not being reported correctly cragwolf Slackware 12 09-22-2004 03:49 AM
do i have to tell linux i changed the amount of ram? osat3ch Fedora 6 09-07-2004 11:46 AM
Linux performance vs RAM amount PhilD Linux - General 3 06-02-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:28 PM.

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
Open Source Consulting | Domain Registration