Date: Sat, 07 Mar 1998 21:24:02 -0800 From: Mike Smith <mike@smith.net.au> To: Marc Slemko <marcs@znep.com> Cc: hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance Message-ID: <199803080524.VAA08488@dingo.cdrom.com> In-Reply-To: Your message of "Sat, 07 Mar 1998 22:13:31 MST." <Pine.BSF.3.95.980307214952.2799A-100000@alive.znep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 > is ok I guess, but requires a mutex to allow multiple > threads to start it on the same descriptor at the same time and > adds the overhead of a seek. > - An AIO version of this system call would be very useful; > NT can do this with its completion ports API. This is required > to avoid having to dedicate a thread to a connection. How does this differ from mmap/AIOwrite in terms of what it actually achieves? > An efficient poll(). What's inefficient about the current poll()? Thanks for the suggestions, of course. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com 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?199803080524.VAA08488>