[OpenAFS-devel] .35 sec rx delay bug?

Jean-Marc Saffroy saffroy@gmail.com
Thu, 9 Nov 2006 20:53:30 +0100 (CET)


On Thu, 9 Nov 2006, Ken Hornstein wrote:

> - You really want to make sure the header and bulk data end up in one
>  TCP frame.  If you utilize sendfile(), it isn't possible to guarantee
>  that because you'll have to do two seperate operations: one write() to
>  do the header data, then the sendfile() call to move the bulk data (right
>  now writev() is used so header data and bulk data get coalesced into one
>  TCP frame).

I think it should be possible to achieve the same result with sendfile() 
and TCP_CORK. This may be for Linux only however.


-- 
saffroy@gmail.com