From owner-freebsd-hackers Sat Mar 7 21:26:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01390 for freebsd-hackers-outgoing; Sat, 7 Mar 1998 21:26:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01383 for ; Sat, 7 Mar 1998 21:26:06 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id VAA08488; Sat, 7 Mar 1998 21:24:03 -0800 (PST) Message-Id: <199803080524.VAA08488@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Marc Slemko cc: hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance In-reply-to: Your message of "Sat, 07 Mar 1998 22:13:31 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 07 Mar 1998 21:24:02 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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