Date: Wed, 21 Mar 2001 20:25:28 -0800 (PST) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: dillon@earth.backplane.com (Matt Dillon) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), mjacob@feral.com, arch@FreeBSD.ORG Subject: Re: remind me again, why is MAXPHYS only 128k ? Message-ID: <200103220425.UAA72645@gndrsh.dnsmgr.net> In-Reply-To: <200103212142.f2LLg1921851@earth.backplane.com> from Matt Dillon at "Mar 21, 2001 01:42:01 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
...
> Perhaps a pages[] array covering the entire kernel VM space would be an
> even better solution. 1G / 4K x 4 bytes = 1MB. Not a big deal.
Please be carefull about making assumptions that all FreeBSD boxes
run with 1G of kernel VM space:
real memory = 1073725440 (1048560K bytes)
avail memory = 1040474112 (1016088K bytes)
Preloaded elf kernel "kernel" at 0x90294000.
^^
--- pmap.h.orig Fri Aug 4 18:31:07 2000
+++ pmap.h Tue Nov 28 14:59:17 2000
@@ -92,9 +92,9 @@
#endif
#ifndef NKPDE
#ifdef SMP
-#define NKPDE 254 /* addressable number of page tables/pde's */
+#define NKPDE 446 /* addressable number of page tables/pde's */
#else
-#define NKPDE 255 /* addressable number of page tables/pde's */
+#define NKPDE 447 /* addressable number of page tables/pde's */
#endif /* SMP */
#endif
And our next round of machines will probably push this up to 3G of
KVA space (yes, we are doing some very large stuff inside the kernel).
--
Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103220425.UAA72645>
