From owner-freebsd-hackers Fri Feb 13 01:57:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04193 for freebsd-hackers-outgoing; Fri, 13 Feb 1998 01:57:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from meowy.angio.net (meowy.angio.net [206.197.119.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA04188 for ; Fri, 13 Feb 1998 01:57:37 -0800 (PST) (envelope-from angio@meowy.angio.net) Received: from meowy.angio.net (localhost.angio.net [127.0.0.1]) by meowy.angio.net (8.8.8/8.7.3) with ESMTP id CAA28357; Fri, 13 Feb 1998 02:57:22 -0700 (MST) Message-Id: <199802130957.CAA28357@meowy.angio.net> To: Damon Permezel cc: freebsd-hackers@FreeBSD.ORG Subject: Re: SHMMAXPGS In-reply-to: Your message of "Wed, 11 Feb 1998 01:53:26 CST." <199802110753.BAA01085@damon.com> Date: Fri, 13 Feb 1998 02:57:22 -0700 From: Dave Andersen Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This appears to be due to: > i386/include/vmparam.h:#ifndef SHMMAXPGS > i386/include/vmparam.h:#define SHMMAXPGS 1024 /* XXX until we have more kmap space */ > > It has said this ever since 2.1.6 (as far back as I looked) > > When will we have more kmap space? > Where did it go? > When did they come from? > > Is this limitation still relevant? > Can I just up this? What is the max? XX% of swap? In your kernel config file: options "SHMMAXPGS=XXXX" (At 4k per page, pick a value of XXXX that works for you. I use powers of two, but it may simply be a religious thing. :-) I'm not sure why it's not in LINT for earlier versions, but it works like a charm under modern FreeBSDs. Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message