From owner-cvs-src-old@FreeBSD.ORG Mon Dec 7 00:54:17 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C0CA1065780 for ; Mon, 7 Dec 2009 00:54:17 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 598778FC08 for ; Mon, 7 Dec 2009 00:54:17 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nB70sHeX012482 for ; Mon, 7 Dec 2009 00:54:17 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB70sHQi012481 for cvs-src-old@freebsd.org; Mon, 7 Dec 2009 00:54:17 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <200912070054.nB70sHQi012481@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Mon, 7 Dec 2009 00:54:02 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 mp_machdep.c pmap.c src/sys/ia64/include param.h pcpu.h pmap.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 00:54:17 -0000 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