Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I've been trying to clarify how much memory per process is available using Linux and 64bit processors like the Opteron or the Itanium2. Even if Linux supports 64Gb or RAM, if you've got apps that need more than 3GB per process and you're on x86, then you're out of luck. I've got some such applications, that require more than 3GB per process. So I'm currently "out of luck". It doesn't matter that my machines have 8Gb+ ram. 3GB per process is the max on these x86 boxes.
I've gotten my hands on an Itanium2 box, and I'm currently waiting for 8GB of RAM to arrive. Soon I will know the answer, but in the meantime I am trying to find out from anyone who knows for sure, whether or not 64bit processors raise the bar on maximum memory "per process" and allow processes to use more than the 3GB per process max.
Can I stick with 2.4 kernel and my Itanium2 or Opteron box, or do I need to use 2.6 to get beyond the 3GB per process max?
The closest answer I've gotten so far was from a guy named John-Paul Stewart, who demanded I look at TASK_SIZE in /usr/src/linux/include/asm-x86_64/processor.h instead of just telling me how much memory per process was supported.
Hint: I'm not entirely sure what the TASK_SIZE is supposed to represent, so I still do not know that answer to my question - "How much memory per process is allowed with kernel 2.4 running on Itanium2 processor".
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
When you configure a kernel for compiling 32 bit, you have to option to turn on "High Memory" support. This has been available for a while (and is available for, at least, the 2.4.21 kernel). I would suggest you turn on the 64GB support for high memory (this should allow the Linux kernel to address all of your memory). This applies to 32 bit CPUs.
64 bit CPUs have a physical memory limit of about 1TB, so your 8GB RAM will all be addressable. The per process size limit also is going to be much larger than the 8GB you are talking about.
If you are running 32 bit processes, though, you're still stuck with the 32 bit addressable space, which is about 3-4 GB, even if you've got a 64 bit kernel. . .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.