From owner-freebsd-hackers Tue Jun 25 15:26:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from overcee.wemm.org (12-232-114-102.client.attbi.com [12.232.114.102]) by hub.freebsd.org (Postfix) with ESMTP id 7481A37B400 for ; Tue, 25 Jun 2002 15:26:28 -0700 (PDT) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id B7C7D3811; Tue, 25 Jun 2002 15:26:32 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Matthew Dillon Cc: Alfred Perlstein , Terry Lambert , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Subject: Re: tunings for many httpds... In-Reply-To: <200206252209.g5PM9J79010543@apollo.backplane.com> Date: Tue, 25 Jun 2002 15:26:32 -0700 From: Peter Wemm Message-Id: <20020625222632.B7C7D3811@overcee.wemm.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > : > :This is also the _default_ for how solaris manages sysv segments, > :although it would be nice if we could get the OBJT_PHYS stuff to > :use 4meg pages (unless someone already did that?)... > : > :Anyhow, I'm glad we corrected your misconception and we now have > :a more accurate understanding of how this system works. > : > :-Alfred > > Even more importantly it would be nice if we could share compatible > pmap pages, then we would have no need for 4MB pages... 50 mappings > of the same shared memory segment would wind up using the same pmap > pages as if only one mapping had been made. Such a feature would work > for SysV shared memory and for mmap()s. I've looked at doing this > off and on for two years but do not have a sufficient chunk of time > available yet. SVR4/Solaris/Digital Unix^H^H^H^H^H^HTru64 do this by having an additional layer between VM and pmap. The equivalent of our pmap is just another one of the address space handlers. The SHM stuff etc is often implemented such that it grabbed blocks of 4MB address space to manage in a way that it likes. This means it constructs its own page tables etc in such a way that they are suitable for common use. *If* I recall correctly, in SunOS/SVR4/ Solaris parlance this is the segment layer. Naturally there is quite a bit of variation. It has been a long long time since I looked at this. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message