Re: "3.5GB user address space" option.

Andrea Arcangeli (andrea@suse.de)
Thu, 18 Oct 2001 11:09:14 +0200


On Wed, Oct 17, 2001 at 09:38:35PM -0700, H. Peter Anvin wrote:
> Followup to: <1981072193242.20011018021819@spylog.com>
> By author: "Oleg A. Yurlov" <kris@spylog.com>
> In newsgroup: linux.dev.kernel
> >
> >
> > Hi, folks,
> >
> > How I can use 3.5GB in my apps ? I try malloc() and get error on 2G
> > bounce... :-(
> >
> > Hardware - SMP server, 2Gb RAM, 8Gb swap, kernel 2.4.12aa1.
> >
>
> Get a 64-bit CPU. You're running into a fundamental limit of 32-bit
> architectures.

Actually 3.5G per-process is theoretically possible using a careful
userspace as Rik suggested with -aa after enabling the proper
compile time configuration option. So for apps that needs say 3G
per-process it should work just fine. But of course for anything that
needs more than that 64bit is the right way to go :)

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/