From owner-freebsd-hackers Sun Feb 17 16:21:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 0B65437B41B; Sun, 17 Feb 2002 16:20:20 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020218002019.LJYB1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Mon, 18 Feb 2002 00:20:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA48414; Sun, 17 Feb 2002 16:13:05 -0800 (PST) Date: Sun, 17 Feb 2002 16:13:03 -0800 (PST) From: Julian Elischer To: Terry Lambert Cc: Roy Sigurd Karlsbakk , Dag-Erling Smorgrav , Thomas Hurst , hiten@uk.FreeBSD.org, hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: in-kernel HTTP Server for FreeBSD? In-Reply-To: <3C703A92.2EBD3E67@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 17 Feb 2002, Terry Lambert wrote: > > Fourth, I think the reason he made the joke about MSCE's > was that there are ways of doing true zero copy, using > DMA directly between devices. There are a couple of > people that have done this by, for example, rewriting > the Tigon II firmware to permit page aligned buffers, > and DMA'ing directly between disk and ethernet controllers. > > Technically, that's not zero copy, either, since there's > a copy on the disk, and one in some controller memory. > > "Zero copy" usually means "zero unnecessary copies"; but > what someone thinks of as "necessary" is really based on > their bias towards an existing implementation. At TFS we did this on BSD4.3, Mach 2.5 and FreeBSD(2.x) with proprietary protocols and proprieary network cards with lots of onboard RAM. We divided the RAM up into buffers and when we needed to send data we programmed the disk controllers to move the data directly to the network cards by DMA. This was on old slow busses but it gave us an order of magnitude advantage in bang per buck over the oposition.. Allowed us to do as much as them but on much cheaper hardware :-) Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message