From owner-freebsd-questions Wed Oct 11 11:35:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from manatee.mammalia.org (manatee.mammalia.org [216.231.50.6]) by hub.freebsd.org (Postfix) with ESMTP id 598E537B503 for ; Wed, 11 Oct 2000 11:35:51 -0700 (PDT) Received: (from rjoseph@localhost) by manatee.mammalia.org (8.9.3/8.9.3) id LAA11519 for freebsd-questions@FreeBSD.org; Wed, 11 Oct 2000 11:35:47 -0700 (PDT) (envelope-from rjoseph) Date: Wed, 11 Oct 2000 11:35:47 -0700 From: "R. Joseph Wright" To: freebsd-questions@FreeBSD.org Subject: SHMMAXPGS settings for Oracle Message-ID: <20001011113547.A11478@mammalia.org> Reply-To: rjoseph@mammalia.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm setting up FreeBSD 4.1 to run Oracle for Linux. The Oracle docs say the SHMMAX should be set to 0.5 * (physical memory), which in my case would be 0.5 * 131072 = 65536, if I understand correctly. From reading the tutorials and mailing list archives regarding Oracle on FreeBSD, I see that the SHMMAX setting is deprecated and the setting SHMMAXPGS should be used instead. So, here is where I'm stuck. If SHMMAX == (SHMMAXPGS * PAGE_SIZE + 1), as per LINT, then SHMMAXPGS == SHMMAX / PAGE_SIZE + 1, or 65536 / 8192 + 1, which is 9. This is far different than the numbers given in the handbook or in the tutorial at http://www.lf.net/lf/pi/oracle/install-linux-oracle-on-freebsd, which are set at 10000 and 4097 respectively. Has my logic gone wrong here? Joseph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message