From owner-freebsd-ia64 Fri Jan 3 15:12:42 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF0437B401 for ; Fri, 3 Jan 2003 15:12:41 -0800 (PST) Received: from hermes.sc.intel.com (fmr03.intel.com [143.183.121.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5708043EEC for ; Fri, 3 Jan 2003 15:12:40 -0800 (PST) (envelope-from adsharma@unix-os.sc.intel.com) Received: from petasus.sc.intel.com (petasus.sc.intel.com [10.3.253.4]) by hermes.sc.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h03NAqg00669 for ; Fri, 3 Jan 2003 23:10:52 GMT Received: from unix-os.sc.intel.com (unix-os.sc.intel.com [143.183.96.244]) by petasus.sc.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with ESMTP id h03NBoK16731 for ; Fri, 3 Jan 2003 23:11:50 GMT Received: from unix-os.sc.intel.com.intel.com (adsharma-mobl3.sc.intel.com [143.183.130.54]) by unix-os.sc.intel.com (8.11.6/8.11.2) with ESMTP id h03NCdr00975 for ; Fri, 3 Jan 2003 15:12:39 -0800 Date: Fri, 3 Jan 2003 15:12:39 -0800 Message-Id: <200301032312.h03NCdr00975@unix-os.sc.intel.com> To: freebsd-ia64@freebsd.org Subject: Exporting vhpt_base and vhpt_size via sysctl ? From: Arun Sharma Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This information may be useful to somebody trying to tune the system. # sysctl vm.vhpt vm.vhpt.base: 327680 vm.vhpt.size: 15 --- pmap.c- Fri Jan 3 12:41:58 2003 +++ pmap.c Fri Jan 3 12:52:16 2003 @@ -252,6 +252,12 @@ SYSCTL_INT(_vm_stats_vhpt, OID_AUTO, resident, CTLFLAG_RD, &pmap_vhpt_resident, 0, ""); +SYSCTL_NODE(_vm, OID_AUTO, vhpt, CTLFLAG_RD, 0, ""); +SYSCTL_INT(_vm_vhpt, OID_AUTO, base, CTLFLAG_RD, + &vhpt_base, 0, ""); +SYSCTL_INT(_vm_vhpt, OID_AUTO, size, CTLFLAG_RD, + &vhpt_size, 0, ""); + static PMAP_INLINE void free_pv_entry(pv_entry_t pv); static pv_entry_t get_pv_entry(void); static void ia64_protection_init(void); -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message