Date: Sat, 7 Mar 1998 22:53:20 -0700 (MST) From: Marc Slemko <marcs@znep.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance Message-ID: <Pine.BSF.3.95.980307225128.2799N-100000@alive.znep.com> In-Reply-To: <199803080416.FAA04413@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Mar 1998, Luigi Rizzo wrote: > > Just a few misc comments regarding what I would want in an OS used for a > > high performance web server, for anyone who may be considering > ... > > A sendfile() (eg. HPUX 11.x) or TransmitFile (eg. WinNT) system call. > > The key features are: > > - it can transmit from an arbitrary start position and an > > arbitrary length. Sending starting from the current position > > why do you want it to be a syscall ? Can't you mmap() the file and then > issue a large write() to save the copy ? (and having AIO might also > save you from using a separate thread...) In addition to the other followups I posted on this, see: ftp://ftp.cup.hp.com/dist/networking/briefs/copyavoid.pdf for a few comments on HPUX. This is an old paper so it doesn't talk about sendfile() at all, just about the problems of copy avoidance using write(). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980307225128.2799N-100000>
