From owner-freebsd-hackers Wed Jun 26 1:41: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by hub.freebsd.org (Postfix) with ESMTP id 4414837B404 for ; Wed, 26 Jun 2002 01:41:01 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id g5Q7OxR18790 for ; Wed, 26 Jun 2002 00:24:59 -0700 (PDT) Received: from pool0159.cvx21-bradley.dialup.earthlink.net ([209.179.192.159] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17N7Ag-000009-00; Wed, 26 Jun 2002 00:24:58 -0700 Message-ID: <3D196C02.75AE4256@mindspring.com> Date: Wed, 26 Jun 2002 00:23:46 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Peter Wemm , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: tunings for many httpds... References: <20020625230407.B68572-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 wrote: > Ok, I'm confused now - so I understood you to originally say that SHM does > not eat into KVA regardless of whether I set the kern.ipc.shm_use_phys to > '1' or not. Don't be confused. It takes 1/1024th of the KVA space I thought it did, times the number of processes atached to the segment. Setting the sysctl reduces this overhead by getting rid of the swap mappings. You can try it. I don't expect it to work. The reason I don't expect it to work is that without the sysctl, it's allocating swappable memory, and you are never getting to the point where you are seeing any swapping, therefore it probably won't matter. Q: Has the machine where you've gone to a 2G KVA crashed at the appointed hour yet? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message