Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 11:26:57 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: amd64: change VM_KMEM_SIZE_SCALE to 1?
Message-ID:  <20100909082657.GJ2465@deviant.kiev.zoral.com.ua>
In-Reply-To: <4C8894E4.2030804@freebsd.org>
References:  <4C4DB2B8.9080404@freebsd.org> <AANLkTikY%2BnPTgBtDWcphNkOrW-Aif5TRSCuCn8BsK3p7@mail.gmail.com> <4C4DD1AA.3050906@freebsd.org> <AANLkTinytwzBTbkhpMhODHQX=kMKFD-7Qr-483tx8TTo@mail.gmail.com> <4C8894E4.2030804@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQAwcd5tHl0Qlnzi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 09, 2010 at 11:03:48AM +0300, Andriy Gapon wrote:
> on 26/07/2010 22:29 Peter Wemm said the following:
> >=20
> > That hard limit of 512G of physical ram doesn't seem so distant anymore=
..
>=20
> I was reviewing this thread and got curious about this statement.
> What is this limit?  Where does it come from?
I do not think that such limit is enforced by hardware. In the recent Intel
x86 sw architecture specification, there is a statement (vol 3a, 4.1.4):

CPUID.80000008H:EAX[7:0] reports the physical-address width supported by
the processor. (For processors that do not support CPUID function 80000008H,
the width is generally 36 if CPUID.01H:EDX.PAE [bit 6] =3D 1 and 32 otherwi=
se.)
This width is referred to as MAXPHYADDR. MAXPHYADDR is at most 52.

I suspect that "512GB" might refer to the current direct map sizing in
the amd64 pmap module. The direct map is provided by single entry in
pml4 table, that allows to map 512GB.

--LQAwcd5tHl0Qlnzi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkyImlEACgkQC3+MBN1Mb4hn7ACeLy82tA2YE49RoolzC/hfiqrD
kfAAn2cK7Dz0xWpl+YIczEQTrqnH/tEO
=l3CR
-----END PGP SIGNATURE-----

--LQAwcd5tHl0Qlnzi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100909082657.GJ2465>