From owner-freebsd-hackers Sun Dec 2 5:26:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id E317837B437 for ; Sun, 2 Dec 2001 05:25:52 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fB2DIsJ07719; Sun, 2 Dec 2001 05:18:54 -0800 (PST) (envelope-from dg) Date: Sun, 2 Dec 2001 05:18:54 -0800 From: David Greenman To: rsharpe@ns.aus.com Cc: Matthew Dillon , freebsd-hackers@FreeBSD.ORG Subject: Re: Patch #3 (TCP / Linux / Performance) Message-ID: <20011202051854.A7713@nexus.root.com> References: <20011128153817.T61580@monorchid.lemis.com> <15364.38174.938500.946169@caddis.yogotech.com> <20011128104629.A43642@walton.maths.tcd.ie> <5.1.0.14.1.20011130181236.00a80160@postamt1.charite.de> <200111302047.fAUKlT811090@apollo.backplane.com> <200111302130.fAULUU324648@apollo.backplane.com> <3C08CF9D.2030109@ns.aus.com> <200112012138.fB1LcG837063@apollo.backplane.com> <200112020810.fB28Arr77757@apollo.backplane.com> <3C0A3204.3010009@ns.aus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C0A3204.3010009@ns.aus.com>; from sharpe@ns.aus.com on Mon, Dec 03, 2001 at 12:22:04AM +1030 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 >Does the FreeBSD tcp stack do zero copy (page flip the data to >userspace)? In the localhost case, it seems like there are two copies >to/from userspace there. It has the ability to do it via sendfile() and a few other mechanisms, but not as a normal part of typical read()/write(). -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message