[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Large Shared Memory
From:       borsburn () codonics ! com (Bret Orsburn)
Date:       1999-06-30 22:25:39
[Download RAW message or body]



Matti Aarnio wrote:
> 
> On Wed, Jun 30, 1999 at 12:48:52PM -0400, Bret Orsburn wrote:
> > Worthies of the Linux Kernel List:
> >
> > I need to create a rather large region of shared memory -- on the order of 50MB.
> > More specifically, I need a contiguous region of memory that can be mapped into
> > multiple processes (serially, not simultaneously) on a uniprocessor system and
> > persist beyond any particular process.
> >
> > It appears that there is a limit on System V style shared memory segments of
> > about 4MB, so that method is out.
> 
>         (This is a FAQ with e.g. Oracle setup at Linux..)
> 
>         Size of the SysV SHM is runtime controlled by writing to:
>                 /proc/sys/kernel/shmmax
> 
>         # echo "55000000" > /proc/sys/kernel/shmmax
> 
>         Now your maximum SHM size is 55 million bytes (you get the idea ?)
> 
>         There are some limits at how high you can push that, but they
>         are pretty high...  At least 512 MB is possible at SysV SHM.

Wow! That's great news. I'll give it a try.

----

	Bret Orsburn
	borsburn@codonics.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic