public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <ms@teamix.de>
To: linux-kernel@vger.kernel.org
Cc: Andi Kleen <andi@firstfloor.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>, Ingo Molnar <mingo@elte.hu>
Subject: Re: physical memory limit of 64-bit linux
Date: Wed, 17 Dec 2008 15:12:15 +0100	[thread overview]
Message-ID: <200812171512.24993.ms@teamix.de> (raw)
In-Reply-To: <20081216164443.GY25779@one.firstfloor.org>

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]


Thanks to all for the answers and the detailed discussions.

Am Dienstag, 16. Dezember 2008 schrieb Andi Kleen:
> On Tue, Dec 16, 2008 at 04:54:16PM +0100, Rafael J. Wysocki wrote:
> > On Tuesday, 16 of December 2008, Martin Steigerwald wrote:
> > > Hi!
> > >
> > > What is the physical memory limit for 64-bit Linux? I read about 40 bit
> > > address bus for AMD Athlon X2 (1 TB) and 48 bit for Barcelona X4 (256
> > > TB).
> > >
> > > Is 64-bit linux able to use that amount - provided that one would
> > > manage to build it into a machine? Or does it have a lower limit?
>
> It depends on which 64bit Linux; e.g. IA64 has larger limits.

Is it 50 bits (1024 TB)?

ms@mango:~/lokal/Kernel/linux-2.6.27/arch/ia64> 
egrep -r "(define.*MAX_PHYS_MEMORY|define.*MAX_PHYS_BITS|
define.*IA64_MAX_PHYSBITS)" *
include/asm/pgtable.h:#define IA64_MAX_PHYS_BITS        50      /* max. number 
of physical address bits (architected) */
include/asm/pgtable.h:#define _PAGE_PPN_MASK            (((__IA64_UL(1) << 
IA64_MAX_PHYS_BITS) - 1) & ~0xfffUL)
sn/kernel/setup.c:#define MAX_PHYS_MEMORY               (1UL << 
IA64_MAX_PHYS_BITS)     /* Max physical address supported */

Ciao,
-- 
Martin Steigerwald - team(ix) GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-12-17 14:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 14:56 physical memory limit of 64-bit linux Martin Steigerwald
2008-12-16 15:54 ` Rafael J. Wysocki
2008-12-16 16:44   ` Andi Kleen
2008-12-17 14:12     ` Martin Steigerwald [this message]
2008-12-16 18:47   ` Ingo Molnar
2008-12-16 19:07     ` Jeremy Fitzhardinge
2008-12-16 19:23       ` Ingo Molnar
2008-12-16 19:28     ` Andi Kleen
2008-12-17 14:30     ` Martin Steigerwald

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=200812171512.24993.ms@teamix.de \
    --to=ms@teamix.de \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    /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