From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 29 00:41:15 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 DF6E0106564A for ; Mon, 29 Jun 2009 00:41:15 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 9727D8FC18 for ; Mon, 29 Jun 2009 00:41:15 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: by yxe11 with SMTP id 11so3301511yxe.3 for ; Sun, 28 Jun 2009 17:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=uA8sN5jVCbleWHVEURmxF9YJy2brUR+DZSbMyOfIDoo=; b=ukdeFYiHNhEIpV6VuKFjVkifQEuqm1qoXTwJmIGvXMQ9KGSa8SmRJjTK0k2UI4yIwi aykBta9GdKLAziS22KZCDi/Vn2ltdECWv9vs5ygALOPh//h89RNefnHXq9mE/YN9pWAo tqq067Cjb5ZEjhji4e3oZA4IMbSOrMFuj6FTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=UzOF7sOhABrvSRBvMmMcfs+tOjzPKfRabXvMCad8JdZseKnBvtlAAkD0bnIdgxbd3D hLiyr66TT+NsNWHxS4/4YNMfICWfTsBIg2qxqe/7ZPf4claFKNuz4fqkXBKuAzVW2nLo S2/MjpaaCcXnRBeQOfMc/QSIOUIiDjZmwAgRA= MIME-Version: 1.0 Received: by 10.151.72.4 with SMTP id z4mr3385131ybk.25.1246236074574; Sun, 28 Jun 2009 17:41:14 -0700 (PDT) In-Reply-To: <4A480760.50705@hoyletech.com> References: <4A480760.50705@hoyletech.com> Date: Sun, 28 Jun 2009 19:41:14 -0500 Message-ID: From: Alan Cox To: Nathanael Hoyle Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: large pages (amd64) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alc@freebsd.org 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:41:16 -0000 On Sun, Jun 28, 2009 at 7:14 PM, Nathanael Hoyle wrote: > 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. > No. Many of those processors supported 4MB pages. Regards, Alan