Date: Mon, 7 Dec 2009 00:54:02 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ia64/ia64 mp_machdep.c pmap.c src/sys/ia64/include param.h pcpu.h pmap.h Message-ID: <200912070054.nB70sHQi012481@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2009-12-07 00:54:02 UTC
FreeBSD src repository
Modified files:
sys/ia64/ia64 mp_machdep.c pmap.c
sys/ia64/include param.h pcpu.h pmap.h
Log:
SVN rev 200200 on 2009-12-07 00:54:02Z by marcel
Allocate the VHPT for each CPU in cpu_mp_start(), rather than
allocating MAXCPU VHPTs up-front. This allows us to max-out MAXCPU
without memory waste -- MAXCPU is now 32 for SMP kernels.
This change also eliminates the VHPT scaling based in the total
memory in the system. It's the workload that determines the best size
of the VHPT. The workload can be affected by the amount of memory,
but not necessarily. For example, there's no performance difference
between VHPT sizes of 256KB, 512KB and 1MB when building the LINT
kernel. This was observed with a system that has 8GB of memory.
By default the kernel will allocate a 1MB VHPT. The user can tune the
system with the "machdep.vhpt.log2size" tunable.
Revision Changes Path
1.76 +10 -4 src/sys/ia64/ia64/mp_machdep.c
1.208 +62 -72 src/sys/ia64/ia64/pmap.c
1.34 +1 -1 src/sys/ia64/include/param.h
1.24 +1 -0 src/sys/ia64/include/pcpu.h
1.30 +1 -0 src/sys/ia64/include/pmap.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912070054.nB70sHQi012481>
