Date: Sun, 8 Mar 1998 05:16:46 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: marcs@znep.com Cc: hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance Message-ID: <199803080416.FAA04413@labinfo.iet.unipi.it> In-Reply-To: <Pine.BSF.3.95.980307214952.2799A-100000@alive.znep.com> from "Marc Slemko" at Mar 7, 98 10:13:12 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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...) cheers luigi 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?199803080416.FAA04413>