1+ GB support

To: linux-mm-www@nl.linux.org
Subject: 1+ GB support
From: Kelly Alexander <kelly@nvidia.com>
Date: Thu, 13 Jan 2000 15:19:00 -0800
Reply-To: linux-mm-www@nl.linux.org
Sender: owner-linux-mm-www@nl.linux.org

	I've read a bunch of linux news that says that the later kernels
such as 2.3.35 can support more than 1gb of memory.  I've put together a
system with 4gb of RAM (dell 6300, 2x PIII 550 xeon CPUs) and can see that
the kernel reports all 4gb is there and I can use 4gb if running multiple
processes.  However, I've been unable to malloc and use more than 1gb per
process.  Is this a limitation or am I doing something wrong?  I've tried to
use the obsolete FAQ on large memory to give me some ideas of where to poke
around but no luck so far.  Any ideas or pointers for me to investigate?

---
Kelly Alexander
nVidia Corporation    
-
Linux-mm-www: builders list for the Linux-MM website
Archive:      http://humbolt.nl.linux.org/lists/
Web site:     http://www.linux.eu.org/Linux-MM/

From: Andrea Arcangeli <and...@suse.de>
Subject: Re: 1+ GB support (fwd)
Date: 2000/01/15
Message-ID: <fa.hnjjv5v.556uh4@ifi.uio.no>#1/1
X-Deja-AN: 572861849
Original-Date: Fri, 14 Jan 2000 16:49:00 +0100 (CET)
Sender: owner-linux-ker...@vger.rutgers.edu
Original-Message-ID: <Pine.LNX.4.21.0001141635030.240-100000@alpha.random>
References: <fa.mdpr8gv.s3cnia@ifi.uio.no>
X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
To: Rik van Riel <r...@nl.linux.org>, ke...@nvidia.com
X-Sender: and...@alpha.random
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Orcpt: rfc822;linux-kernel-outgoing-dig
Organization: Internet mailing list
MIME-Version: 1.0
X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
Newsgroups: fa.linux.kernel
X-Loop: majord...@vger.rutgers.edu

>From: Kelly Alexander <ke...@nvidia.com>
>
>	I've read a bunch of linux news that says that the later kernels
>such as 2.3.35 can support more than 1gb of memory.  I've put together a
>system with 4gb of RAM (dell 6300, 2x PIII 550 xeon CPUs) and can see that

2.2.14aa1 supports 4g of RAM on IA32 and 2Terabyte of RAM on alpha (wihout
per-process limit on alpha) with production quality. Apply the below patch
against 2.2.14 if you can't run an unstable tree.

	ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.2/2.2.14aa1.gz

>processes.  However, I've been unable to malloc and use more than 1gb per
>process.  Is this a limitation or am I doing something wrong?  I've tried to

If you use 2.2.14aa1 you can apply these two incremental patches (they
should go on the top of 2.3.x as well) to allocate more ram per-process
(something like 3.5G). The two incremental patches are _not_ a good idea
if you need a large I/O cache (like for webservers). For scientific
application that only needs lots of RAM they should be fine.

	ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/bigmem-large-mapping-1.gz
	ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.14/patches/v2.2/2.2.14/bigmem-large-task-1.gz

Andrea


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