From owner-freebsd-hackers Sat Mar 7 21:59:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07974 for freebsd-hackers-outgoing; Sat, 7 Mar 1998 21:59:56 -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 VAA07965; Sat, 7 Mar 1998 21:59:50 -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 VAA08664; Sat, 7 Mar 1998 21:57:55 -0800 (PST) Message-Id: <199803080557.VAA08664@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Marc Slemko cc: "John S. Dyson" , hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance In-reply-to: Your message of "Sat, 07 Mar 1998 22:45:14 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 07 Mar 1998 21:57:55 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, 8 Mar 1998, John S. Dyson wrote: > > > > > > > A sendfile() (eg. HPUX 11.x) or TransmitFile (eg. WinNT) system call. > > > > > ???? More info ???? > > Give it a file descriptor. Give it a socket. Give it some header and > trailer info. The contents of the header, the descriptor, then the > trailer magically go to the network without having to diddle around trying > to do copy avoidance in the kernel between write and the socket buffers. Ah, I think the substance of the mail you quoted in your earlier message makes more sense now. I'm inclined to feel that adding a new system call to work around problems in other parts of the system is less than optimal. At least, something says to me that fixing the problem first might save lots of work later. 8) -- \\ 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