Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 15:50:51 -0800
From:      Mike Smith <mike@smith.net.au>
To:        dyson@iquest.net
Cc:        dg@root.com, tlambert@primenet.com, dillon@apollo.backplane.com, kuku@gilberto.physik.RWTH-Aachen.DE, hackers@FreeBSD.ORG
Subject:   Re: portability of shm, mmap, pipes and socket IPC 
Message-ID:  <199902102350.PAA01211@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 10 Feb 1999 16:34:07 EST." <199902102134.QAA02537@y.dyson.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> David Greenman said:
> > >> >:The overall size of the shared memory segment is limited to that
> > >> >:	which can fit in the kernels virtual address space; this
> > >> >:	artificially restricts the maximum size.
> > >> 
> > >>    That isn't true and hasn't been true for several years in FreeBSD.
> > >
> > >Are you sure?
> > 
> >    Yes, I'm quite sure.
> > 
> DG's statement is accurate.  I removed that very artificial restriction over
> 2 yrs ago.  There is no reason to use KVA space for data that the kernel never
> needs to see.  Correcting that deficit was pretty much on my list as soon as
> I saw that problem when FreeBSD made it an official part of the distribution.

Hmm, so does that mean that the shared memory pages can be paged out?  
And if so, should we be removing the SHMMAXPGS kernel option (since our 
current shared memory profile is woefully inadequate for most uses)?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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