[netperf-dev] Fwd: Porting netperf client app to other OS

Rick Jones rick.jones2 at hp.com
Thu Oct 19 12:11:40 PDT 2006


Bernhard Poess wrote:
> I was sending this to the netperf-talk mailing list and didn't get any
> response, maybe netperf-dev is better ?!?

In theory both are good - and both require subscription before accepting 
posts.

> 
> Hi,
> 
> i'm planning to port the nerperf 2.41 client app to run on top of the
> L4 microkernel(http://www.l4ka.org) using the
> uIP(http://www.sics.se/~adam/uip/) protocol stack.
> Is somebody here who can tell me if such a port is feasible, because
> the system it will run on has no familiarity with unix-like systems.
> Especially there will be no such things like e.g. signals. I want to
> do network throughput and cpu utilization benchmarks.

Netperf client as it currently exists does depend on signals - in 
particular SIGALRM - although for the Windows port that is faked-out 
with a timer thread.  So, if the L4 microkernel has threads you can 
probably do the same thing.  The rest of what netperf uses is generally 
C stuff or "BSD socket" stuff.

As for the CPU utilization stuff, you will need either to use the 
"looper" CPU utilization method, or extract *system-wide* CPU util data 
from the microkernel in some way in your own netcpu_l4.c file.  If this 
microkernel runs on MP systems, it would be good to teach netperf how 
the microkernel does processor affinity.

happy benchmarking,

rick jones


> 
> Thanks in advance,
> -Bernhard
> _______________________________________________
> netperf-dev mailing list
> netperf-dev at netperf.org
> http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-dev



More information about the netperf-dev mailing list