From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 21:12:51 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 5D4D916A4CE; Sat, 31 Jan 2004 21:12:51 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B6DC43D4C; Sat, 31 Jan 2004 21:12:49 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 49767530A; Sun, 1 Feb 2004 06:12:48 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 91CAF5308; Sun, 1 Feb 2004 06:12:28 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 3A56333C6A; Sun, 1 Feb 2004 06:12:28 +0100 (CET) To: Robert Watson References: From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 01 Feb 2004 06:12:28 +0100 In-Reply-To: (Robert Watson's message of "Sun, 1 Feb 2004 00:01:07 -0500 (EST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.6 required=5.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_SORBS autolearn=no version=2.61 cc: current@FreeBSD.org Subject: Re: Coalescing pipe allocation 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: Sun, 01 Feb 2004 05:12:51 -0000 Robert Watson writes: > FYI, the vast majority of the cost of pipe creation appears to be in > setting up those mappings. I ran some mutex profiling and the amount of > work getting done is pretty high -- we should be able to reap a lot of > benefit by doing even a little less work there. Like I said, setting up a VM mapping is very inefficient in FreeBSD. This, and the fd allocation issue which I fixed earlier this year, were the two areas where fefe's scalability benchmark really trounced us last October. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no