From owner-freebsd-hackers Wed Jun 26 9:53:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id B729937B401 for ; Wed, 26 Jun 2002 09:53:26 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 882B4AE03F; Wed, 26 Jun 2002 09:53:26 -0700 (PDT) Date: Wed, 26 Jun 2002 09:53:26 -0700 From: Alfred Perlstein To: Patrick Thomas Cc: Terry Lambert , Peter Wemm , freebsd-hackers@FreeBSD.ORG Subject: Re: tunings for many httpds... Message-ID: <20020626165326.GC18877@elvis.mu.org> References: <3D190FFA.C7AE70BF@mindspring.com> <20020625225929.U68572-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020625225929.U68572-100000@utility.clubscholarship.com> User-Agent: Mutt/1.3.27i 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 * Patrick Thomas [020625 23:06] wrote: > > > > Uhh, Terry, neither form of SHM uses KVA. Either pageable or physically > > > backed. The memory is only mapped into processes and is NOT mapped into > > > KVA anywhere. (*) > > > > You and Alfred are right. > > > > It looks like this was corrected by John Dyson, shortly after he > > had checked it in to work that way. > > So the conclusion is that: > > sysctl kern.ipc.shm_use_phys=1 > > Is not even potentially a magic bullet for the issue I am seeing (since > either way, all those greatly increased SHM/SEM settings I added are not > using KVA) ?? Without kern.ipc.shm_use_phys=1 you will use more KVA, however do realize that with it the shared memory is non-pageable, meaning it can not be swapped out if something else needs the RAM. -- -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