From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Adam Shand <larry@spack.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: What is the truth about Linux 2.4's RAM limitations?
Date: Tue, 10 Jul 2001 01:17:55 +0300 [thread overview]
Message-ID: <20010710011755.M18653@mea-ext.zmailer.org> (raw)
In-Reply-To: <Pine.LNX.4.32.0107091250170.25061-100000@maus.spack.org>
In-Reply-To: <Pine.LNX.4.32.0107091250170.25061-100000@maus.spack.org>; from larry@spack.org on Mon, Jul 09, 2001 at 01:01:17PM -0700
This really should be a Linux-Kernel FAQ item...
( http://www.tux.org/lkml/ )
On Mon, Jul 09, 2001 at 01:01:17PM -0700, Adam Shand wrote:
> Linux 2.4 does support greater then 4GB of RAM with these caveats ...
>
> * It does this by supporting Intel's PAE (Physical Address Extension)
> features which are in all Pentium Pro and newer CPU's.
Carefull out there.
Check intel 386 family processors address mapping manuals.
You will see that the address calculated by combining "base"
and "segment" are in fact TRUNCATED at 32-bits before feeding
them to page mapping machinery --> There are no tricks at all
to have SIMULTANEOUS access to more than 4 GB of memory without
playing MMU mapping tricks -- which are painfully slow...
That is the origin of i386 architecture 4 GB virtual memory limit.
All that PAE mode does is to allow that 4 GB virtual space to be
mapped into larger physical space.
Compound that with unability to have separate user and kernel
mappings active at the same time (unlike e.g. Motorola 68000
family MMUs do), and the userspace can't have even that 4GB,
but is limited to at least 3.5/0.5 (user/kernel) split, more
commonly to 3.0/1.0 split.
With 64-bit processors (those that do addresses in 64-bit mode)
there are a plenty of bits to "waste" in these mappings. E.g.
one can have a 1:1 mapping in between kernel and user, with
2^63 bits address space for each. The number is mindbogglingly
large.. ( 2G * 4G = 8 000 000 T = 8 000 E )
(In reality e.g. Alphas do use "only" 43-bits of addresses in
these mappings, but even those are 1000+ times larger than 4G.)
> Thanks,
> Adam.
/Matti Aarnio
next prev parent reply other threads:[~2001-07-09 22:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-09 20:01 Adam Shand
2001-07-09 21:15 ` Brian Gerst
2001-07-09 21:18 ` Rik van Riel
2001-07-09 22:17 ` Matti Aarnio [this message]
2001-07-10 13:49 ` Chris Wedgwood
2001-07-10 17:03 ` Timur Tabi
2001-07-10 17:35 ` Richard B. Johnson
2001-07-10 18:01 ` Timur Tabi
2001-07-10 18:08 ` Jonathan Lundell
2001-07-10 18:45 ` Richard B. Johnson
2001-07-10 19:26 ` Jonathan Lundell
2001-07-10 23:56 ` Jesse Pollard
2001-07-10 20:19 ` Malcolm Beattie
2001-07-10 3:01 ` jlnance
2001-07-10 3:29 ` Michael Bacarella
2001-07-16 8:37 ` Ingo Oeser
[not found] <Pine.LNX.4.32.0107091250170.25061-100000@maus.spack.org.suse.lists.linux.kernel>
2001-07-09 21:03 ` Andi Kleen
2001-07-09 21:29 Jesse Pollard
2001-07-10 17:01 ` Timur Tabi
2001-07-10 18:12 Jesse Pollard
2001-07-10 18:22 ` Jonathan Lundell
2001-07-10 18:28 ` Brian Gerst
2001-07-10 18:43 ` Chris Wedgwood
2001-07-10 19:35 ` Brian Gerst
2001-07-10 18:38 Jesse Pollard
2001-07-10 19:14 ` Mark H. Wood
2001-07-10 21:49 Jesse Pollard
2001-07-10 22:07 ` Jonathan Lundell
2001-07-11 4:31 alad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010710011755.M18653@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=larry@spack.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®