From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 29 00:27:09 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 158DC106564A for ; Mon, 29 Jun 2009 00:27:09 +0000 (UTC) (envelope-from nhoyle@hoyletech.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mx1.freebsd.org (Postfix) with ESMTP id D63E88FC23 for ; Mon, 29 Jun 2009 00:27:08 +0000 (UTC) (envelope-from nhoyle@hoyletech.com) Received: from [192.168.1.10] (pool-96-231-140-65.washdc.fios.verizon.net [96.231.140.65]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1ML4Vv0GkL-000SW8; Sun, 28 Jun 2009 20:14:29 -0400 Message-ID: <4A480760.50705@hoyletech.com> Date: Sun, 28 Jun 2009 20:14:24 -0400 From: Nathanael Hoyle User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Wojciech Puchar References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/3Ajplncj0A0qp4qSPbvv8sxfxiJAZUcW3KBk nZWRxdlmJI/BfxkaaMDFIZA0CPYUvF+Lhjiiu6c5zD2RGQyDJV UobbuME4iO5KEbQbB8pU/9oMfOOuuaU Cc: freebsd-hackers@freebsd.org Subject: Re: large pages (amd64) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 00:27:09 -0000 Wojciech Puchar wrote: > i enabled > vm.pmap.pg_ps_enabled: 1 > > > could you please explain what exactly this values means? > because i don't understand why promotions-demotions!=mappings > > vm.pmap.pde.promotions: 2703 > vm.pmap.pde.p_failures: 6290 > vm.pmap.pde.mappings: 610 > vm.pmap.pde.demotions: 289 > > > > > other question - tried enabling it on my i386 laptop (256 megs ram), > always mappings==0, while promitions>demotions>0. > > certainly there are apps that could be put on big pages, gimp editing > 40MB bitmap for example Just to be clear, since you say i386 (I presume you mean architecture), I believe the Physical Address Extensions which allowed 2MB Page Size bit to be set was introduced with Pentium Pro. Processors prior to this were limited to standard 4KB pages. -Nathanael