From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 25 23:02:43 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02D8316A4B3 for ; Sat, 25 Oct 2003 23:02:43 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 49EFF43F3F for ; Sat, 25 Oct 2003 23:02:41 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 61375 invoked from network); 26 Oct 2003 06:02:39 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 26 Oct 2003 06:02:39 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 26 Oct 2003 01:02:38 -0500 (CDT) From: Mike Silbersack To: David Schultz In-Reply-To: <20031026052854.GA20701@VARK.homeunix.com> Message-ID: <20031026005938.L2023@odysseus.silby.com> References: <1066789354.21430.39.camel@boxster.onthenet.com.au> <1066816287.25609.34.camel@boxster.onthenet.com.au> <1066820436.25609.93.camel@boxster.onthenet.com.au> <20031026052854.GA20701@VARK.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Dag-Erling =?us-ascii:iso-8859-1?Q?Sm=F8rgrav?=" cc: Kris Kennaway cc: Q cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Some mmap observations compared to Linux 2.6/OpenBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 06:02:43 -0000 On Sat, 25 Oct 2003, David Schultz wrote: > But regardless of the approach, someone has yet to demonstrate > that this is actually a performance problem in the real world. ;-) I could be way wrong, but I would think that a database might mmap discontiguous segments of memory. Perhaps someone familiar with mysql/postgres/others might know if they would be a good benchmark. Actually, relating to this, didn't phk request a VM function which would remap a page (or contiguous segment of pages) to a new address which had free space after it? I believe that he needed such a feature to turbocharge realloc(). It sounds like the freelist mode of operation would make that more feasible. Mike "Silby" Silbersack