Skip site navigation (1)Skip section navigation (2)
Date:      05 Nov 1998 18:17:12 +0100
From:      dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        David Greenman <dg@FreeBSD.ORG>
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
Message-ID:  <xzp7lxaxdnr.fsf@hrotti.ifi.uio.no>
In-Reply-To: David Greenman's message of "Thu, 5 Nov 1998 06:28:27 -0800 (PST)"
References:  <199811051428.GAA15513@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Greenman <dg@FreeBSD.ORG> 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? :)

DES
-- 
Dag-Erling Smørgrav - dag-erli@ifi.uio.no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp7lxaxdnr.fsf>