[netperf-talk] zero-copy sendfile for Solaris

Rick Jones rick.jones2 at hp.com
Wed May 24 10:33:09 PDT 2006


Andrew Gallatin wrote:
> The easiest way I've found to enable zero-copy sendfile on Solaris is
> 
> 1) compile with largefile options
> 2) use sendfilev() rather than sendfile, so
>    that I can set SFV_NOWAIT
> 3) use a really big (16MB or larger) file
> 
> The attached patch does all this, plus it enables sendfile
> to be used at all on Solaris by adding a check for the
> sendfile library so configure does not think Solaris 
> is missing a sendfile routine.

Applied to top of trunk.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list