Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920

Maho NAKATA chat95 at mac.com
Mon Apr 12 23:34:37 UTC 2010


Hi Andriy and Jeremy

In my case,
% sysctl vm.pmap.pg_ps_enabled
vm.pmap.pg_ps_enabled: 1

thanks a lot!

From: Jeremy Chadwick <freebsd at jdc.parodius.com>
Subject: Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920
Date: Mon, 12 Apr 2010 08:00:23 -0700

> On Mon, Apr 12, 2010 at 05:41:35PM +0300, Andriy Gapon wrote:
>> Perhaps, he talks about support of large pages (2M) and related improvements in
>> TLB performance.  If so, he (and you) may read about 'superpages' feature of FreeBSD.
>> I am not sure if it is enabled by default in 8.0, you can check vm.pmap.pg_ps_enabled.
> 
> On 8.0-RELEASE and later, they are.  Line 183:
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/pmap.c?annotate=1.667.2.12
> 
> Commit where they got enabled by default (approx. 16 months ago):
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/pmap.c#rev1.646
> 
> -- 
> | Jeremy Chadwick                                   jdc at parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                  Mountain View, CA, USA |
> | Making life hard for others since 1977.              PGP: 4BD6C0CB |
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 


More information about the freebsd-stable mailing list