Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Mar 1998 21:57:55 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Marc Slemko <marcs@znep.com>
Cc:        "John S. Dyson" <dyson@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: kernel wishlist for web server performance 
Message-ID:  <199803080557.VAA08664@dingo.cdrom.com>
In-Reply-To: Your message of "Sat, 07 Mar 1998 22:45:14 MST." <Pine.BSF.3.95.980307224226.2799L-100000@alive.znep.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803080557.VAA08664>