From owner-cvs-all Thu Nov 5 10:04:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08470 for cvs-all-outgoing; Thu, 5 Nov 1998 10:04:41 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA08464; Thu, 5 Nov 1998 10:04:39 -0800 (PST) (envelope-from xroot@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id KAA02734; Thu, 5 Nov 1998 10:05:40 -0800 (PST) Message-Id: <199811051805.KAA02734@implode.root.com> To: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf options param.c src/sys/kern init_sysent.c syscalls.c syscalls.master uipc_syscalls.c src/sys/sys mbuf.h socket.h socketvar.h syscall-hide.h syscall.h syscall.mk sysproto.h src/sys/vm vm_object.c In-reply-to: Your message of "05 Nov 1998 18:17:12 +0100." From: David Greenman Reply-To: dg@root.com Date: Thu, 05 Nov 1998 10:05:40 -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >David Greenman writes: >> Implemented zero-copy TCP/IP extensions via sendfile(2) - send a >> file to a stream socket. sendfile(2) is similar to implementations in >> HP-UX, Linux, and other systems, but the API is more extensive and >> addresses many of the complaints that the Apache Group and others have >> had with those other implementations. Thanks to Marc Slemko of the >> Apache Group for helping me work out the best API for this. >> Anyway, this has the "net" result of speeding up sends of files over >> TCP/IP sockets by about 10X (that is to say, uses 1/10th of the CPU >> cycles) when compared to a traditional read/write loop. > >Huzzah! > >Are you planning to rewrite FreeBSD's ftpd to use sendfile(2)? If not, >mind if I do? :) Yes, I'm running the code on wcarchive and that part of dg-ftpd was similar to the standard BSD code...so the changes have more or less already been made - I just need to retrofit them. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message