From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 01:22:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F09061065672 for ; Thu, 21 Aug 2008 01:22:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3DFCA8FC0C; Thu, 21 Aug 2008 01:22:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48ACC366.2070804@FreeBSD.org> Date: Thu, 21 Aug 2008 03:22:46 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Christian Weisgerber References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Superpages? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 01:22:49 -0000 Christian Weisgerber wrote: > Alan Cox wrote: > >> Superpages are not enabled by default but support for them is a standard >> part of the amd64 and i386 kernel on HEAD. You can enable superpages on >> either of those architectures by simply setting the tunable >> vm.pmap.pg_ps_enabled to a non-zero value at boot time. > > To clarify: This needs to be set in loader.conf. sysctl.conf is > evaluated too late. > Yeah, "tunable" means that in the FreeBSD context. For modules you can also set it in kenv before the module loads. Kris