Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 10:02:49 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Stephen.Clark@seclark.us
Cc:        FreeBSD Stable List <freebsd-stable@freebsd.org>
Subject:   Re: Approaching the limit on PV entries
Message-ID:  <5EA4E7F3-6F25-4B41-A123-082E250E3D19@mac.com>
In-Reply-To: <47D91998.9030607@seclark.us>
References:  <fr69hn$q0o$1@ger.gmane.org> <20080312215624.GR67856@elvis.mu.org> <47D91998.9030607@seclark.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 13, 2008, at 5:10 AM, Stephen Clark wrote:
>> sysctl kern.ipc.shm_use_phys=1
>>
>
> Could you please explain what that does and why?

% sysctl -d kern.ipc.shm_use_phys
kern.ipc.shm_use_phys: Enable/Disable locking of shared memory pages  
in core

Basically, this sysctl can force SysV shared memory regions to be  
unpageable aka "locked down" or "wired down".

> Also could someone point me to where all these sysctls are  
> documented other than in the source code - which lots of time has no  
> explanation.  It would really help the average sys admin/ user if  
> these were documented.

"sysctl -ad" will show a one-line description for most of them.  Not  
all of these are intended for normal usage or tuning, however...some  
reflect purely debugging interfaces which only do make sense in the  
context of the associated source code.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5EA4E7F3-6F25-4B41-A123-082E250E3D19>