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

[ Available lists | Index of freebsd-stable | Month of Apr 2010 | Week of 12 Apr 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jeremy Chadwick <freebsd@jdc.parodius.com>
Date
12 Apr 2010 15:00:30
Subject
Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920
Message-ID
20100412150023.GA80292@icarus.home.lan

In reply to
References to

[ Hide this part ]
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@parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |


Elapsed time: 0.130 seconds