zero copy tcp send

Bruce Cran bruce at cran.org.uk
Mon Oct 8 10:42:25 PDT 2007


Wojciech Puchar wrote:
> i found sendfile(2) doing this.
> but the question - does normal write(2) doing this when sending from 
> user process memory, not file?
> 
> does memory have to be aligned special way,like to page boundary?
> 

Yes - see zero_copy(9)

--
Bruce


More information about the freebsd-questions mailing list