[netperf-talk] TCP_SENDFILE

Rick Jones rick.jones2 at hp.com
Wed Mar 29 14:31:16 PST 2006


Cindy Hodgins Burian wrote:
> I've configured netperf-2.4.1 on a Solaris 8 platform.  Nothing added to 
> the configure statement other than --prefix.  When I try to use 
> TCP_SENDFILE I get
> 
> ./netperf -H sauron -F ../4200.tar -t TCP_SENDFILE
> The test you requested is unknown to this netperf.
> Please verify that you have the correct test name,
> and that test family has been compiled into this netperf.
> 
> The file included in the info directory doesn't seem to say that I 
> needed an enable flag set when I compiled to use this, but the message 
> above sounds like I do.  If so, I can't figure out what it should be, 
> and if not, what's going on?

The configure script did not beleive there was a sendfile() call on the 
system, so config.h does not have HAVE_SENDFILE set.

Does Solaris 8 actually have a sendfile() call?  If so, we'll need to 
augment the configure script.  What I see in nettest_bsd.c suggests it 
may be Solaris 9 and later.

happy benchmarking,

rick jones



More information about the netperf-talk mailing list