[netperf-talk] Running netperf server in multi-threaded mode?

Simon Duboue Simon.Duboue at ces.ch
Tue Jun 26 02:32:55 PDT 2012


>Hi,

Hello Anna,

>I've downloaded netperf 2.5.0 and I'm using it to test a 10GbE 
connection. My problem is that the server-side of netperf is >running on a 
single core at 100% CPU utilization. However, the machine has another 3 
cores which seem idle. How can I >configure the netperf server to span 
across those cores? At the moment the server-side is my bottleneck which 
makes my >testing useless as the client is limited by how much the server 
can do :( Any help would be appreciated.

I think the best solution is to use shell scripts (if it is under Linux) 
and to use multiple instances of the Netperf tests.
The netserver is always a single core process.
Here is an example:

netperf -l 60 -H ip_addr -T ,1 -t TCP_STREAM -cC -i 10 -I 99,5 &
netperf -l 60 -H ip_addr -T ,2 -t TCP_STREAM -cC -i 10 -I 99,5 &
netperf -l 60 -H ip_addr -T ,3 -t TCP_STREAM -cC -i 10 -I 99,5 &
netperf -l 60 -H ip_addr -T ,4 -t TCP_STREAM -cC -i 10 -I 99,5 

-T option is for the CPU binding. You can change the number of iterations 
-i, the confidence interval -I and the length of the tests.

>Thanks,
>Anna

Regards.

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.netperf.org/pipermail/netperf-talk/attachments/20120626/bde14090/attachment.html>


More information about the netperf-talk mailing list