Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 11:34:12 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        GB Clark II <gclarkii@vsservices.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: shared mem and locking it in core (Database usage)
Message-ID:  <20011214113412.K79896@elvis.mu.org>
In-Reply-To: <01121315261800.27037@prime.vsservices.com>; from gclarkii@vsservices.com on Thu, Dec 13, 2001 at 03:26:18PM -0600
References:  <01121315261800.27037@prime.vsservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* GB Clark II <gclarkii@vsservices.com> [011214 06:28] wrote:
> Hello,
> 
> I'm running PostgreSQL and it uses SysV shared mem for alot of its functions.
> 
> How can verify that the shared mem is wired and not pageable?
> 
> sysctl settings:
> kern.ipc.shmmax: 128004097
> kern.ipc.shmmin: 1
> kern.ipc.shmmni: 512
> kern.ipc.shmseg: 1024
> kern.ipc.shmall: 31251
> kern.ipc.shm_use_phys: 1 <- This wires the mem right?
> 
> Yes postgres shows to be 119M via top, but is this mem wired?

As long as you set the sysctl before starting postgresql, then
yes.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
                           http://www.morons.org/rants/gpl-harmful.php3

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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