LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-02-2012, 02:12 PM   #1
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Rep: Reputation: Disabled
Fedora 64bit and Ubuntu 12.04 64bit sees only 7.8GiB when i have 8GB. no igp.


Hello, I recently using Ubuntu 12.04 64bit and i like it.

Windows and memtest86 both are saying i have 8155MB for full use. And windows say i have 8gb on computer properties.

Ubuntu says i have 7.8GiB in system monitor. I also booted Fedora 64bit live cd and it says the same thing.

Why?? As far as i can tell, there is nothing wrong with my memory.
I also use a dedicated GPU, so no igp is stealing my memory.

How much ram memory having you all in system monitor?
Does it also display less memory than in windows or memtest? Assuming you have no igp.

I am really worried since this is a new pc.


Thanks,
 
Old 11-02-2012, 02:42 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,019
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Member Response

Hi,

'1024 x 8 = 8192' this will be the total footprint (shift the 0 to increase the footprint i.e.10240 x 8= 81920. If you have shared video memory then that will be subtracted from the total memory. Even with video cards you will have some allocation for shared memory video processing, small portion depends on video card direct memory access control.

As to 'memtest86+' diagnostics, the program itself will take some space and do relocation once things are walking through so the whole footprint can be tested. 'memtest86+' does verify on memory sections to allow the program to overlay on pretested memory. Then relocate on validate memory again to test with varied patterns. 'memtest86+' does comprehensive pattern test on the whole footprint.

Your system does need kernel memory space and sometimes depending on modules or drivers the memory allocation will change. Growth for the kernel memory usage can vary over periods and loads.

Just remember that when speaking of memory you should use '1024' not '1000'.

Why the concerns? Experiencing memory issues? If using 'MS Windows as reference then take the 1024 factor when reading anything referenced by MS. MS does not present true memory foot prints unless you use proper tools to interpret.
 
Old 11-02-2012, 03:14 PM   #3
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Well, the strange thing is that i tested it with ubuntu 32bit and it says i have 7.9GiB vs 7.8GiB with 64bit.
How can this be explained?

Last edited by snowcake; 11-02-2012 at 03:24 PM.
 
Old 11-02-2012, 03:55 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,357
Blog Entries: 2

Rep: Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980
Quote:
Originally Posted by onebuck View Post
'memtest86+' does comprehensive pattern test on the whole footprint.
Small correction, by default Memtest86+ does not test the whole memory. There is a small part of the memory (actually only a few MB) that is overlayed with the BIOS. These parts will not be tested. One can activate that in the options, but as the documentation states (and I have tested that to be true) you will errors that simply aren't there.

Quote:
Originally Posted by snowcake
Well, the strange thing is that i tested it with ubuntu 32bit and it says i have 7.9GiB vs 7.8GiB with 64bit.
How can this be explained?
The 64 bit kernel simply has a larger footprint.
 
Old 11-02-2012, 04:02 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,019
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Member Response

Hi,

Your right, I omitted the 'BIOS' overlay.

Plus the 64bit Kernel seems to release more memory during init.

Really not a far comparison between Gnu/Linux as to memory allocations since each can be slightly different depending on kernel configurations.
 
Old 11-02-2012, 04:04 PM   #6
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Small correction, by default Memtest86+ does not test the whole memory. There is a small part of the memory (actually only a few MB) that is overlayed with the BIOS. These parts will not be tested. One can activate that in the options, but as the documentation states (and I have tested that to be true) you will errors that simply aren't there.

The 64 bit kernel simply has a larger footprint.
That part that can´t be tested because it is overlayed with the bios, is that always in the same place of the ram? At every boot?
In that case, that ram part can be actually tested if you reverse the memory-modules on the motherboard.
 
Old 11-02-2012, 04:14 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,357
Blog Entries: 2

Rep: Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980
Quote:
Originally Posted by snowcake View Post
In that case, that ram part can be actually tested if you reverse the memory-modules on the motherboard.
A few years back that would have worked. Nowadays, with dual- and triple-channel memory controllers, which access the modules interleaved, this won't work anymore.
 
Old 11-02-2012, 05:28 PM   #8
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
A few years back that would have worked. Nowadays, with dual- and triple-channel memory controllers, which access the modules interleaved, this won't work anymore.
How is this possible? is it because, since it is interleaved, the date is ¨scattered¨ around the 2 dimms?
 
Old 11-02-2012, 05:29 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,357
Blog Entries: 2

Rep: Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980Reputation: 3980
Quote:
Originally Posted by snowcake View Post
How is this possible? is it because, since it is interleaved, the date is ¨scattered¨ around the 2 dimms?
Exactly.
 
Old 11-02-2012, 06:55 PM   #10
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
I just saw that my DDR3 DRAM Voltage is at auto setting 1.585V. The Asrock program reports the same voltage for the ram. However the ram modules are specified to work at 1.5V.
Is this a problem or is it oke?

Edit, i think it is better that this question has its one thread. So i made one.

Last edited by snowcake; 11-02-2012 at 07:05 PM.
 
Old 11-03-2012, 07:12 PM   #11
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
So far as i understand:


8192mb is the total memory. Since bios overlay uses 37mb, the remaining memory is 8155mb.
ubuntu ¨should¨ showing 8155mb=7.96gb (like memtest) and windows.

But ubuntu 32bit is showing in hardinfo that i have:
8235888kb=8042mb=7.85GB. In system monitor it is rounded of to 7.9GiB

Ubuntu 64bit is showing in hardinfo that i have:
8141292kb=7950mb=7.76GB. In sytem monitor it is rounded of to 7.8

If i understand it correctly, Both ubuntu versions use a footprint which use a portion of the 8155mb memory and that portion of the memory is not shown. So Hardinfo shows the remaining usable memory, 8042mb/7.85gb for 32bit and 7950mb/7.76gb for the 64bit. Since the 64bit uses more memory for the footprint; thats why it shows less remaining usable memory than the 32bit version.
Hardinfo and system monitor do not show the footprint memory, only the 8155mb minus the footprint = Usable memory of 8141292kb=7950mb=7.76GB for the 64bit version of ubuntu.

To calculate how big the footprint is:
Since 8141292kb(64bit) = 7950.48046875mb
And the Memory minus the bios overlay= 8155MB.
8155MB - 7950.48046875mb= 204.51953125mb for the footprint.

Onebuck said:
Quote:
Your system does need kernel memory space and sometimes depending on modules or drivers the memory allocation will change. Growth for the kernel memory usage can vary over periods and loads.
So the kernel memory is stored in the same ram section as the programs memory? I mean in the usable 8141292kb/7950mb/7.76gb(64bit) remaining memory. There is actually 204.51953125mb more memory but that is used by the footprint. Or is the kernel memory the footprint? What is the footprint?

Other understanding:
Or can the total usable memory ubuntu is showing in hardinfo vary? From 8141292kb/7950mb/7.76gb(64bit) to xxxx? That is if the kernel memory is the footprint, if the size of the kernel memory changes so wil be the footprint because they are the same. Result: if the memory size of the footprint/kernel can change, so wil the total usable memory change.
But i don´t think the kernel is the footprint. Am i right?



I am a complete noob at this, but i am trying to understand.
It is actually quite interesting.

Last edited by snowcake; 11-03-2012 at 08:25 PM.
 
Old 11-04-2012, 12:48 AM   #12
snowcake
LQ Newbie
 
Registered: Nov 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Oh, and really, really thanks for all the answers!
 
  


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
[SOLVED] Which 64bit Debian Wheezy Release is wright for my Intel 64bit P8700 CPU PC? esgol Linux - Newbie 15 07-15-2012 03:50 PM
Which 64bit Debian wheezy Release is wright for my Intel 64bit P8700 CPU? esgol Linux - Newbie 1 07-15-2012 03:11 AM
64bit RPM installation is failing on SLES-10/11 but working fine on RHEL4/5 64bit os raghuhb Linux - Software 2 11-06-2009 07:31 AM
8GB RAM, 64bit Linux? MaGicMaX Linux - Software 20 09-03-2009 07:12 PM
How do I resolve install DB2v9.5 64bit/RHEL 5 64bit (libstdc++.so.5 is not found)? okonita Linux - Newbie 2 11-13-2008 02:15 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration