httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Buff should be an I/O layer
Date Sun, 26 Mar 2000 14:35:17 GMT
sendfile itself is not very portable... TCP_CORK even less so :)

Manoj Kasichainula wrote:
> 
> On Sun, Mar 12, 2000 at 09:54:53AM -0800, Dean Gaudet wrote:
> > On Fri, 10 Mar 2000, Manoj Kasichainula wrote:
> > > 
> 
> On Sun, Mar 12, 2000 at 10:15:00AM -0800, Dean Gaudet wrote:
> > if all unixes supported TCP_CORK, and had very inexpensive syscall
> > overhead like linux does then we wouldn't have to do much work at all --
> > we could take advantage of the fact that the kernel generally has to do a
> > single copy of all the bytes anyhow.
> 
> Well, we have representatives of many of the major OSs on this list.
> Hey you all, hurry up! 
> 
> > i think TCP_CORK is still unique to linux.  they added it when they were
> > implementing sendfile() and i pointed out the packet boundary problems and
> > asked for this new api... most other sendfile() implementations are
> > kludges bundling up sendfile and writev for the headers and trailers.
> 
> Like ours, unfortunately. (I meant it, you OS developers, hurry up!)
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message