From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 01:37:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C73716A4CE; Thu, 8 Jan 2004 01:37:59 -0800 (PST) Received: from exc-1.cc.CyberCity.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0CBD43D46; Thu, 8 Jan 2004 01:37:56 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk ([172.16.7.254]) by exc-1.cc.CyberCity.dk over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Thu, 8 Jan 2004 10:37:55 +0100 Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i087jDJq000623; Thu, 8 Jan 2004 08:45:13 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: David Schultz From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 07 Jan 2004 20:28:16 PST." <20040108042816.GA1813@VARK.homeunix.com> Date: Thu, 08 Jan 2004 08:45:13 +0100 Message-ID: <622.1073547913@critter.freebsd.dk> X-OriginalArrivalTime: 08 Jan 2004 09:37:55.0324 (UTC) FILETIME=[17F0CBC0:01C3D5CB] cc: Alexander Leidinger cc: stable@FreeBSD.ORG cc: current@FreeBSD.ORG cc: Peter Jeremy Subject: Re: perl malloc slow? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 09:37:59 -0000 In message <20040108042816.GA1813@VARK.homeunix.com>, David Schultz writes: >FWIW, you can do the required gymnastics with mmap() as long as >the mapped region is backed by a file. There has been a lot of talk about using file backing instead of swap backing. The typically proposed scenario is for each process to open "$HOME/.backingstore/$$" or some such. There are a lot of interesting applications, good ideas and nifty tricks enabled by this, but there are also some nasty details, a few security concerns and probably a performance impact. All in all it has not happened yet, and given the size of fish we are currently catching in other areas, I don't see it happening anytime soon. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.