Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 07:42:17 -0700
From:      Scott <scottl@samsco.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: 4M page size
Message-ID:  <4219F349.8010106@samsco.org>
In-Reply-To: <4219EC1D.7020401@he.iki.fi>
References:  <4219EC1D.7020401@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
Petri Helenius wrote:
> 
> Is there a way currently to utilize 4M page size with FreeBSD for large 
> data set programs (to optimize TLB misses)?
> 
> Pete
> 

FreeBSD/i386 uses 4MB pages to hold the kernel text and data, but there
is no way (to my knowledge) to ask the pmap layer for a 4MB page after
that either from the kernel or from userland.  However, it's also my
understanding that most non-Xeon CPUs only have a 4kb TLB, and 4MB pages
are just broken down into 4kb chunks for it.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4219F349.8010106>