[netperf-talk] Running netperf server in multi-threaded mode?
Anna Fischer
anna.fischer at hp.com
Tue Jun 26 02:54:40 PDT 2012
Hi there, thanks for your reply. Unfortunately I think this won't work as I need to multi-thread the server and not the client. My server is the bottleneck as it just runs on a single core. Any other ideas?
Anna
-----Original Message-----
From: Simon Duboue <Simon.Duboue at ces.ch>
Date: Tue, 26 Jun 2012 11:32:55
To: Fischer, Anna<anna.fischer at hp.com>
Cc: netperf-talk at netperf.org<netperf-talk at netperf.org>; <netperf-talk-bounces at netperf.org>
Subject: Re: [netperf-talk] Running netperf server in multi-threaded mode?
>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/3abe10b6/attachment.html>
More information about the netperf-talk
mailing list