Much improved sendfile(2) kernel implementation

Peter Jeremy peterjeremy at optushome.com.au
Thu Sep 21 00:59:10 PDT 2006


On Wed, 2006-Sep-20 23:59:13 +0200, Andre Oppermann wrote:
>I have rewritten kern_sendfile() to work in two loops, the inner which turns
>as many pages into mbufs as it can up to the free send socket buffer space.

The 64K blocks sounds good but how does this interact with TCP slow
start?  Is there the possibility that a couple (for some reasonably
large value of 'couple') of TCP connections slowly accepting a file
could eat all the mbuf space?

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060921/9fafca5d/attachment.pgp


More information about the freebsd-net mailing list