superpages not solving "PV entries" limit warning

Alan Cox alan.l.cox at gmail.com
Thu May 10 16:37:10 UTC 2012


On Thu, May 10, 2012 at 10:52 AM, Charles Owens <cowens at greatbaysoftware.com
> wrote:

>  That's very helpful!  I had read about that and wondered if it applied to
> i386.
>
> Should I have expected "superpages" to completely cure the condition... or
> does it just help?  Should I now be looking at tuning the related pmap
> sysctls to give further relief?
>
>
Superpages won't cure the problem due to the nature of your workload.
After a fork, writes to portions of the address space that are both
superpages and copy-on-write will trigger demotion, or re-instantiation of
the 4KB page granularity PV entries.  Ultimately, repromotion to superpages
may occur, but in the meantime, your peak usage of PV entries is only
slightly reduced.

The bottom line is that you'll need to resort to tuning.

Alan


More information about the freebsd-stable mailing list