From owner-freebsd-questions Fri Jan 15 18:20:22 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19998 for freebsd-questions-outgoing; Fri, 15 Jan 1999 18:20:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from eagle.sac.verio.net (eagle.sac.verio.net [207.159.5.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19993 for ; Fri, 15 Jan 1999 18:20:20 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (rfg.ns.net [207.159.10.82]) by eagle.sac.verio.net (8.9.1a/8.9.1) with ESMTP id SAA01423; Fri, 15 Jan 1999 18:20:17 -0800 (PST) Received: from monkeys.com (localhost [127.0.0.1]) by monkeys.com (8.9.1/8.8.5) with ESMTP id SAA03603; Fri, 15 Jan 1999 18:23:26 -0800 To: Nathan Ahlstrom cc: questions@FreeBSD.ORG Subject: Re: System V Shared memory regions... How big is too big? In-reply-to: Your message of Fri, 15 Jan 1999 15:56:03 -0600. <19990115155603.C9892@winternet.com> From: "Ronald F. Guilmette" Date: Fri, 15 Jan 1999 18:23:25 -0800 Message-ID: <3601.916453405@monkeys.com> X-Deadbolt-Note: Deadbolt(tm) Personal E-Mail Filter, Version 0.96 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19990115155603.C9892@winternet.com>, you wrote: >"Ronald F. Guilmette" wrote: >> >> Is it just me, or is there actually some sort of a limit (perhaps 4MB?) >> on the maximum supported size of a System V style shared memory region >> under FreeBSD 2.2.8? > >You should be able to increase the size of the memory region. There are >some options documented in /sys/i386/conf/LINT. Look there. Are you sure about that? I scrounged around a bit in the kernel sources and found the following in /usr/src/sys/i386/include/vmparam.h: /* * Size of the Shared Memory Pages page table. */ #ifndef SHMMAXPGS #define SHMMAXPGS 1024 /* XXX until we have more kmap space */ #endif The comment would seem to indicate that only 1024 pages are supported. 1024 * 4KB pages == 4MB. -- Ron Guilmette, Roseville, California ---------- E-Scrub Technologies, Inc. -- Deadbolt(tm) Personal E-Mail Filter demo: http://www.e-scrub.com/deadbolt/ -- Wpoison (web harvester poisoning) - demo: http://www.e-scrub.com/wpoison/ "Ping can be used offensively, and it's shipped with every windows CD" -- Steve Atkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message