[netperf-talk] netperf4: solaris building, and usage..

Andrew Gallatin gallatin at cs.duke.edu
Mon May 22 11:14:59 PDT 2006


Rick Jones writes:

 > > 2) Somewhere in here, the build dies because it cannot find
 > > netsysstats_kstat10.c and netlib_kstat10.c.   This confused
 > > me, since configure knows about them.  Do they exist, just
 > > not on this branch?  Anyway, I copied the _none variants
 > > over to their names.
 > 
 > That is the correct first step.  That will give files with "null" CPU 
 > util and processor affinity calls.

OK.  I did some archive reading over the weekend.  Apparently
this came up before.  If I can get netperf4 working, I'll
re-implement the kstat util stuff.

 > > 2) At this point, the build dies complaining about passing a
 > > GNUish --export-dynamic dynamic to ld.  I edited src/Makefile
 > > by hand and removed this flag.
 > 
 > Libtool bug perhaps, or was there an actual --export-dynamic in one of 
 > the ".am" makefiles?

% grep export-dynamic src/Makefile.am 
netperf_LDFLAGS = -rpath $(libdir) -export-dynamic

Interestingly, I removed it from the .am file, and
the build still puked the same way.  These GNUish auto*
things confuse the heck out of me.  Do I need to rerun some
auto* thingie?

In the same spirit, the build seems to want to tack the
-pthread linux-ism onto the gcc compiler commandline.  I'm not
sure where this is coming from, but it at least just
generates a warning.

Speaking of configure.  It takes about 6 minutes to
run configure on a T2000.  It seems to want to figure out
all sorts of stuff you don't care about (like testing for
fortran and c++ compilers).   Can that be eliminated somehow?

 > Hmm, seems that solaris dumps core where others might not.  You can use 
 > the -L option to specify the local control endpoint stuff.  As a start 
 > you can try -L localhost  so  src/netserver -L localhost
 > 
 > Make sure that "netperf4" is in /etc/services or whatever your system 
 > uses to lookup service names.

Ick.  That means you need to be root to install and use netperf.

 > Also make sure that /etc/xml/catalog got updated during the make install 
 > to include an entry for netperf.

That was it.  The xml code stops SEGV'ing when you do this.

But that means you need to be root to use netperf.  That totally kills
portability of binaries to systems you don't own, and greatly reduces
netperf's value as a diagnostic tool.

Is there any way to remove the xml requirement (possibly via
a configure option) and go back to the nice, simple, easy to
use command line arguments like netperf2.x has?



Drew


More information about the netperf-talk mailing list