From owner-freebsd-hackers Fri May 3 7:19:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id B713C37B416 for ; Fri, 3 May 2002 07:19:19 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g43EGXr08215; Fri, 3 May 2002 07:16:33 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Fri, 3 May 2002 07:16:33 -0700 (PDT) From: Patrick Thomas To: Alfred Perlstein Cc: Subject: Re: RFC on my SHM tunings for multiple jailed postgres... In-Reply-To: <20020503082731.GI36741@elvis.mu.org> Message-ID: <20020503071536.G86733-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG So kern.ipc.shm_use_phys=1 will give me more flexibility, but will slow down performance (vs. using kernel memory) ? thanks, PT On Fri, 3 May 2002, Alfred Perlstein wrote: > * Patrick Thomas [020503 00:38] wrote: > > > > I have a large server that will be running ~24 jails, 8 of which will be > > running their own postgres server. > > You should be aware of the kern.ipc.shm_use_phys sysctl, you might > want to try flipping it on if you encounter problems as it will > greatly reduce the amount of kernel memory required to track > shared memory segments at the expense of making them non-pageable. > > -- > -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.' > Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message