[netperf-talk] netperf4 update
Rick Jones
rick.jones2 at hp.com
Thu Feb 23 12:49:05 PST 2006
Folks -
There have been many changes to netperf4 of late. Among them is netperf4's
netserver can run as a child of inetd (tested under HP-UX). Related to making
that possible are changes to use XML catalogs so the netperf DTD file doesn't
have to be in the same place on all systems.
Also, netperf will look for its default commands and configuration files in
either the current directory, or @datadir@/netperf (eg default
/usr/local/share/netperf) also, the installation of netperf (make install) will
make sure that default_config.xml and default_commands.xml are installed in
@datadir@/netperf.
Further, with the changes to support running as a child of inetd, netperf4 will
now check the following (in order) when trying to find the ".la" libraries
specified in the config file:
/* for now, we will first look for NETPERF_LIBRARY_PATH, then
LD_LIBRARY_PATH, then SHLIB_PATH. raj 2005-10-25 */
temp = getenv("NETPERF_LIBRARY_PATH");
if (NULL == temp) {
temp = getenv("LD_LIBRARY_PATH");
if (NULL == temp) {
/* OK, there was no LD_LIBRARY_PATH, was there a SHLIB_PATH? I
wonder which if these should have precedence? */
temp = getenv("SHLIB_PATH");
if (NULL == temp) {
/* OK, there were no paths at all, lets do our own internal
path, which one day really aught to be based on $(libdir)
from the make environment. raj 2006-02-22 */
temp = ".:"LIBDIR;
}
}
}
where LIBDIR comes via configure and defaults to /usr/local/lib .
Finally, the still-not-really-used subdirs for Windows builds NetPerf and
NetServer have been moved to NetPerfDir and NetServerDir to workaround a problem
on MacOS X - it is case insensitive in filename comparisons. (That change has
also been made to netperf2).
You can get all this wonderful stuff via subversion from the TOT at
http://www.netperf.org/svn/netperf4/trunk/
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list