Date: Thu, 5 Nov 1998 06:28:27 -0800 (PST) From: David Greenman <dg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: 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: <199811051428.GAA15513@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 1998/11/05 06:28:27 PST
Modified files:
sys/conf options param.c
sys/kern init_sysent.c syscalls.c syscalls.master
uipc_syscalls.c
sys/sys mbuf.h socket.h socketvar.h
syscall-hide.h syscall.h syscall.mk
sysproto.h
sys/vm vm_object.c
Log:
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.
Revision Changes Path
1.107 +2 -1 src/sys/conf/options
1.31 +7 -1 src/sys/conf/param.c
1.61 +1 -0 src/sys/kern/init_sysent.c
1.54 +1 -0 src/sys/kern/syscalls.c
1.54 +3 -1 src/sys/kern/syscalls.master
1.42 +403 -1 src/sys/kern/uipc_syscalls.c
1.30 +2 -1 src/sys/sys/mbuf.h
1.27 +12 -1 src/sys/sys/socket.h
1.30 +8 -1 src/sys/sys/socketvar.h
1.48 +1 -0 src/sys/sys/syscall-hide.h
1.52 +2 -1 src/sys/sys/syscall.h
1.7 +2 -1 src/sys/sys/syscall.mk
1.42 +10 -0 src/sys/sys/sysproto.h
1.135 +1 -3 src/sys/vm/vm_object.c
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?199811051428.GAA15513>
