[netperf-talk] TCP_SENDFILE

Rick Jones rick.jones2 at hp.com
Thu Mar 30 15:02:28 PST 2006


Simon Leinen wrote:
> Checking on some systems here, it seems that Rick is right - Solaris 8
> doesn't have sendfile(), but Solaris 9 and later do.  You need to link
> with -lsendfile to use it (which doesn't exist on Solaris 8).
> 
> By the way, just today I stumbled across a Web page with recent
> NETPERF results on a Solaris 11 (snapshot) Dual Opteron machine using
> PCI-Express 10GE adapters... quite impressive
> 
> http://www.myri.com/Myri-10G/10gbe_performance.html

One other note about those results - unless Myrinet selected the CPU 
utilization measument method directly, likely as not they got the _old_ 
kstat version, which is definitely known to miss some CPU time.  The 
reason is simply that the netperf2 configure script (assuming that what 
I've seen in netperf4 is any indication - since netperf4 got its from 
netperf2) would have matched the second entry in this:


		   *-*-solaris2.10)
		     use_cpuutil=true
		     AC_DEFINE([USE_KSTAT],,
		     [Use Solaris's kstat interface to measure CPU util.])
		     AC_HAVE_LIBRARY(kstat)
		     enable_cpuutil="kstat10 - auto"
		     NETSYS_SOURCE="kstat10"
		     ;;
		   *-*-solaris2.*)
		     use_cpuutil=true
		     AC_DEFINE([USE_KSTAT],,
		     [Use Solaris's kstat interface to measure CPU util.])
		     AC_HAVE_LIBRARY(kstat)
		     enable_cpuutil="kstat - auto"
		     NETSYS_SOURCE="kstat"
		     ;;

I guess I should make that first one "*-*-solaris2.1* on the 
ass-u-me-tion that solaris 2.1 systems are sufficiently long-gone - 
thoughts?  Especially from anyone listening who may be from either Sun, 
or Myrinet...

rick jones


More information about the netperf-talk mailing list