From owner-freebsd-questions Sun Dec 16 13:10:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id B842E37B421 for ; Sun, 16 Dec 2001 13:10:44 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBGL2Ch88752; Sun, 16 Dec 2001 13:02:12 -0800 (PST) (envelope-from dg) Date: Sun, 16 Dec 2001 13:02:12 -0800 From: David Greenman To: Dominic Marks Cc: Roy Sigurd Karlsbakk , freebsd-questions@FreeBSD.ORG Subject: Re: in-kernel web server??? Message-ID: <20011216130212.B88592@nexus.root.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from dominic_marks@btinternet.com on Sun, Dec 16, 2001 at 06:56:00PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >On Sunday 16 December 2001 6:36 pm, Roy Sigurd Karlsbakk wrote: >> > Have you experimented with FTP and NFS copy speeds for >> > comparison? >> >> I can't use them. Currently, I heed to run http. >> >> > AFAIK FreeBSD does not support zero copy. There are some patches >> > floating around but I have no knowledge about them. >> >> Are you sure? >> >> According to Paal Halvorsen, PhD on 'improving i/o performance on >> multimedia systems' (see >> http://ConfMan.unik.no/~paalh/index2.html), he says sendfile() is >> supported under FreeBSD. > >Sendfile is supported. As I understand it being able to do zero copy >memory access and using sendfile are not the same thing. Sendfile may >be implemented with zero copy, or it may not. I may be wrong with >this issue. sendfile() in FreeBSD is zero-copy, but you're right that an implementation of sendfile() need not be zero-copy, and in fact I recall that at least an early version of sendfile() on Linux was not zero-copy. -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-questions" in the body of the message