From owner-cvs-all Thu May 23 19:33:34 2002 Delivered-To: cvs-all@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 71CC437B401; Thu, 23 May 2002 19:33:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cs.rice.edu (Postfix) with ESMTP id A40C34A9B6; Thu, 23 May 2002 21:33:27 -0500 (CDT) Received: by cs.rice.edu (Postfix, from userid 19572) id 31E374A9B5; Thu, 23 May 2002 21:33:27 -0500 (CDT) Date: Thu, 23 May 2002 21:33:27 -0500 From: Alan Cox To: Mike Silbersack Cc: Alan Cox , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_map.c vm_map.h Message-ID: <20020524023327.GB17481@cs.rice.edu> References: <200205240133.g4O1XP047545@freefall.freebsd.org> <20020523205929.R18281-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020523205929.R18281-100000@patrocles.silby.com> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 23, 2002 at 09:01:41PM -0500, Mike Silbersack wrote: > > On Thu, 23 May 2002, Alan Cox wrote: > > > alc 2002/05/23 18:33:25 PDT > > > > Modified files: > > sys/vm vm_map.c vm_map.h > > Log: > > with a large number of entries. For example, the execution time > > for replaying an access log from www.cs.rice.edu against the thttpd > > web server was reduced by 23.5% due to the large number of files > > simultaneously mmap()ed by this server. (The machine in question has > > enough memory to cache most of this workload.) > > Wow! Have you done any benchmarks with other apps? Yes. The thttpd result was just the one that I thought most people could relate to. Applications that make heavy use of mprotect() to implement garbage collection or virtual/distributed shared memory on clusters benefit from this as well. Alan P.S. I hope this motivates others on this list to look at splay trees. They are extemely easy to work with and to implement. (Notice that vm_map.c only grew by 24 lines.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message