Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You misunderstand PAE. It allows you to access more REAL RAM (on the motherboard). The 32-bit address space remains at 4 Gig - of which (usually) 1 Gig is kernel reserved.
You misunderstand PAE. It allows you to access more REAL RAM (on the motherboard). The 32-bit address space remains at 4 Gig - of which (usually) 1 Gig is kernel reserved.
thanks for reply,
I understood the concept
Now i need to use physical RAM more than 4GB.
On windows we can achieve the same by using VirualAlloc (along with other required hacks).
How can we do the same on Linux? I need my process to allocate more than 4GB (7GB for instance).
What are the required changes for the same in terms of CODE, COMPILATION, LINKING and other OS booting options.
1) enable PAE in motherboard BIOS
2) enable PAE in kernel
3) may require PAE in GRUB entry
thanks for reply
But i don't know how to check PAE is enable or not and also
how to enable PAE in kernel and GRUB.
Also want to know that is there is any compilation and linking option required to set so that my process can allocate more than 4GB. I have 4GB of RAM for my linux machine
/usr/src/kernels/2.6.9-42.EL-smp-i686
grep CONFIG_HIGHMEM64G .config
got result
CONFIG_HIGHMEM64G=y
So i think PAE is enable in kernel
i have 4GB of RAM may be problem is because of that
I want my process to allocate 7GB
please help me
Location: The country that converted APES to Human Beings.
Distribution: Ubuntu, Solaris, OLE, Red Hat, Asianux, Turbo Linux
Posts: 10
Rep:
I am a newbie in Linux.
[QUOTE=Micro420;3047585]1) enable PAE in motherboard BIOS
I wonder, there is a option to enable PAE from the BIOS. (It might be possible, that the same is present in other systems).
If this issue is only related to the use of memory more than 4GB, then, Why don't u try to setup the PAE kernel itself in the system.
On my system,I successfully built a PAE kernel, the issue got resolved. The steps I used:
cd /usr/src/sys/i386/conf
config PAE
cd ../compile/PAE
make cleandepend && make depend
make
The next steps would be to run "make install", which would install the kernel and then to reboot.
The PAE kernel configuration file is included with the distribution, you don't need to create it.
Regards,
newbie
Comments from senior members is needed. This will encourage me. Thanks
How to detect the PAE: if you have 4G installed memory, look what the tools (e.g. top) tell you. It may be 1G (non extended memory support), about 3.2G (extended but not PAE) or 4G (PAE enabled). Of course, you may as well check kernel config...
You have to enable it in kernel (i.e. compile new kernel).
BIOS may enable more memory automatically.
Even in case of PAE, a single process cannot take over 2G memory AFAIK. You need 64bit system if your process needs 7G. However, there may be some tricks available.
2.6.9 kernel is pretty old. If you need memory a lot, I would recommend to install a 64-bit distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.