Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 22nd August 2011, 10:30 PM
Mordac Offline
Registered User
 
Join Date: Aug 2011
Location: Scotland
Age: 24
Posts: 54
linuxfirefox
Re: *PAE* Kernel Still Does Not Detect All RAM

See, the thing is, I could see all the memory I had when I only had 2GB installed. That's what confuses me. If I could only see 1GB back then, I would've thought it natural...
Reply With Quote
  #17  
Old 22nd August 2011, 11:17 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: *PAE* Kernel Still Does Not Detect All RAM

I think you are confusing physical address space with physical memory.

The address space is used already. Whether you have 1GB or 4GB. The only change is when the assigned physical address space is filled (4GB) you can't use all 4 - some is taken for video, some is taken for the I/O. The same memory map applies.

Look in /proc/cpuinfo and show us what is in the values are for address sizes.
Reply With Quote
  #18  
Old 24th August 2011, 05:32 PM
Mordac Offline
Registered User
 
Join Date: Aug 2011
Location: Scotland
Age: 24
Posts: 54
linuxfirefox
Re: *PAE* Kernel Still Does Not Detect All RAM

I'm not sure I fully understand that. *scratches head*

So, what you're saying is, that if I don't have the full 4GB, i.e., when I had 2GB of physical memory installed, I would be able to see all 2GB when running, say, 'free -m', but now that I have 4GB physically installed, I cannot see all that, but the kernel is still using it?

Looking at /proc/cpuinfo tells me this:
Quote:
address sizes : 32 bits physical, 32 bits virtual
For each core. I think that's what you were looking for, but if not, just let me know and I'll post the whole thing.

Cheers!
Reply With Quote
  #19  
Old 24th August 2011, 08:01 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: *PAE* Kernel Still Does Not Detect All RAM

Yup. Thats the line.

The maximum physical address allowed on your processor is 32 bits (physical). That is 4G. BUT, some addresses must be reserved for I/O, and that subtracts from the physical memory you can address. There is a minimum of 1MB for the hole, and then the memory for the video (reachable by the CPU, but mapped out because the video is using it). The remainder gets divided into system and user space. I belive the current mapping reserved 1G for the kernel to use for mapping I/O buffers and access to the user mode process. That leaves a maximum of something in the range of 2.5-2.9G for user processes.

As a comparison, my system (x86-64) has:
Code:
address sizes	: 38 bits physical, 48 bits virtual
The physical range I can reach are 264G. My motherboard can't go anywhere near that (only 12G). This means I have address bits to spare, and can completely map the physical memory I have, and not worry about loosing any for the I/O hole, or even that consumed by the kernel.

Note the 48 bit virtual address. That is the largest process I can have (of course, most of that would have to be swapped out).

Last edited by jpollard; 24th August 2011 at 08:10 PM.
Reply With Quote
Reply

Tags
detect, kernel, pae, ram

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Endless USB loop: detect, disable, detect ocgltd Hardware & Laptops 1 11th July 2010 06:02 AM
Cannot detect kernel version pablos Using Fedora 5 26th January 2008 07:27 PM
Kernel panic with kernel 2.6.20-1.2925.fc6 - cannot detect SATA drives paulez Using Fedora 0 15th March 2007 07:02 PM


Current GMT-time: 10:17 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat