Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 18:23:25 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        Nathan Ahlstrom <nrahlstr@winternet.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: System V Shared memory regions... How big is too big? 
Message-ID:  <3601.916453405@monkeys.com>
In-Reply-To: Your message of Fri, 15 Jan 1999 15:56:03 -0600. <19990115155603.C9892@winternet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <19990115155603.C9892@winternet.com>, you wrote:

>"Ronald F. Guilmette" <rfg@monkeys.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3601.916453405>