Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2007 17:42:18 +0100
From:      "Claus Guttesen" <kometen@gmail.com>
To:        "Uwe Doering" <gemini@geminix.org>
Cc:        Stephen.Clark@seclark.us, freebsd-stable@freebsd.org
Subject:   Re: 4.x Collecting pv entries Suggest increasing PMAP_SHPGPERPROC,
Message-ID:  <b41c75520712070842k9f170f7u1cd827c34d3a7d5d@mail.gmail.com>
In-Reply-To: <4759717D.2090409@geminix.org>
References:  <47594087.7030703@seclark.us> <b41c75520712070453w11181b7am9d95a215d15ad091@mail.gmail.com> <475952EF.70400@seclark.us> <47596B11.90601@geminix.org> <47596CD2.4080502@seclark.us> <4759717D.2090409@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >> But you can put that option into the kernel config file:
> >>
> >>   options PMAP_SHPGPERPROC=...
> >>
> >> and build a new kernel with it.
> >
> > You are correct. My question is more how much should I increase it. The
> > current default in the 4.x LINT file
> > is "options PMAP_SHPGPERPROC=201" should I double it? Increase it by 50
> > to 251? Should it be a prime number?
> > I am just asking for information.
>
> The settings in the LINT file are not necessarily the defaults, rather
> mere examples.  The default value for PMAP_SHPGPERPROC is 200 (defined
> in the source file /usr/src/sys/i386/i386/pmap.c).  I would recommend to
> increase it by 100 until the messages stop.  We use 300 on our servers,
> for instance.

I do recall I had the same message on a 5.x-server (running
postgresql-server I think, some years ago now :-) ) once in a while. I
think I raised it twice to 400. I remember that the recommendation was
not to raise it too high in order not to make the kernel panic during
boot.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare



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