Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2007 14:24:41 -0300
From:      "Eduardo Meyer" <dudu.meyer@gmail.com>
To:        "Bill Moran" <wmoran@collaborativefusion.com>
Cc:        hackers@freebsd.org, current@freebsd.org
Subject:   Re: How PMAP_SHPGPERPROC relate to vm.v_free_min, vm.v_free_reserved and vm.v_free_target?
Message-ID:  <d3ea75b30703070924t3f361c7w42ddb62d698c37fd@mail.gmail.com>
In-Reply-To: <20070307114338.344304f9.wmoran@collaborativefusion.com>
References:  <d3ea75b30703070754p5a8296f3lbaf8dab8b3a24a20@mail.gmail.com> <20070307114338.344304f9.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Heavy Apache usage is demanding a higher PMAP_SHPGPERPROC kernel
> > option in my system. However I keep getting the NOTES-documented panic
> > at boot time, meaning I need to adequately do vm.v_free_min,
> > vm.v_free_reserved and vm.v_free_target sysctl tuning.
> >
> > However, this sysctl vars dont have a description and I simply can't
> > find any further documentation regarding how the vars relate among
> > themselves and how they related to PMAP_SHPGPERPROC. Can anyone please
> > explain some basics about how they relate and how I can do the tuning?
> >
> > It is a 5.5-STABLE with 9GB of memory and PAE enable (sure).
> >
> > Hackers' feedback or sysadmins' personal experiences are heavily appreciated.
>
> How high did you raise PMAP_SHPGPERPROC?  We raised it to 250 on our
> stock PostgreSQL systems and did not have to tweak any other values.
>
> Note that we're running 6.x on these systems, so YMMV.
>
> > Sorry for cross-posting, I was not sure which list was more adequate.
>
> Probably -hackers@.  Although I would have started with -questions@
>
> --
> Bill Moran
> Collaborative Fusion Inc.
>

Mr Moran, did you set up any other sysctl mib such as the mentioned ones?

I have raised it to "500". If I set lower values, around 400 I start
getting a huge flood of:

collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

Specially on "apachectl graceful" signaling. If I raise it over 500 my
system panics on boot.

I still get "collecting pv entries -- suggest increasing
PMAP_SHPGPERPROC" at the current setup value, however not very often.


-- 
===========
Eduardo Meyer
pessoal: dudu.meyer@gmail.com
profissional: ddm.farmaciap@saude.gov.br



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