[netperf-talk] query

Rick Jones rick.jones2 at hp.com
Mon Apr 23 11:12:02 PDT 2007


apurva patel wrote:
> Hello
> We are doing our final year engineering project in networking. We have 
> developed a simple protocol which can handle only one connection.Legacy 
> TCP application programs can use our protocol without any modification 
> in the application program code.Can we use netperf to test it?
> Can netperf be used with only one connection?.....or does it open 
> multiple connections?

By default, netperf will open two connections - the first is the control 
connection.  This runs between netperf and netserver and is how netperf 
tells netserver what to do.  This is always a TCP connection.

The second is the "data connection."  Depending on the protocol/test it 
may not be a "real connection, but it will be another set of sockets.

So, if your simple protocol can run at the same time as a TCP 
connection, you should be all set.  All you need to do is 
cobble-together a nettest_yourprocol.c file and put your test in there 
(perhaps heavy cut and paste from nettest_bsd.c and a test similar to 
what you want to do) and some stuff in netsh.c and perhaps netserver.c 
etc and you should be good to go.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list