[netperf-talk] Sun-related code in netlib.h and netlib.c

Rick Jones rick.jones2 at hp.com
Mon Jun 2 10:32:02 PDT 2008


Alexander Vinokur wrote:
> Hi netperf,
> 
> Netperf-2.4.4
> 
> Files netlib.h and netlib.c contain HP-, Wndows- and AIX-related 
> specific pieces of code:
> 
> For instance:
> 
> #ifdef __hpux
> 
> // Stuff
> 
> #endif
> 
> But it seems that those files don’t contain Sun-related specific pieces 
> of code.
> 
> Should netlib.h and netlib.c contain such pieces of code?

> My question ... was caused by other my message:
> http://www.netperf.org/pipermail/netperf-talk/2008-May/000419.html

Well, actually, there are some Sun-related bits of code in netlib.c - 
look for "sun" - some code for processor affinity that is ifdef __sun.

As for whether it needs Sun (I presume Solaris) specific code beyond 
what is there, we'll need some folks with more Solaris expertise to 
chime-in.  Particularly I suppose on the use of DLPI under Solaris.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list