Hi Rick,<br><br>Thanks for the details.<br>Can I consider the result even when there is a warning about confidence level ?<br>Will that lead to inaccuracy ?<br><br>Also what happens when I use -r options (i.e Allow confidence to be hit on result only) ?<br>
Is it more accurate or is to ignore confidence warning ?<br><br>Thanks,<br>Steev<br><br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 11:58 PM, Rick Jones <span dir="ltr"><<a href="mailto:rick.jones2@hp.com">rick.jones2@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Steevan Rodrigues wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am newbie to netperf.<br>
I ran following command<br>
$ /usr/local/bin/netperf -l 5 -H 192.168.11.207 -t TCP_STREAM -c LOC_CPU -C REM_CPU -i 10,2 -I 95,3 -- -m 1 -s 32768 -S 32768<br>
<br>
And obtained following output (please see below). Can you please explain me following ?<br>
1) Why there is a warning about desired "Confidence level" ?<br>
</blockquote>
<br>
</div><a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dI_002c-Global-26" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dI_002c-Global-26</a><div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2) When I include -c LOC_CPU -C REM_CPU I get details about "utilization" and "Service Demand" . What do they represent ?<br>
Do they represent local and remote CPU utilization ?<br>
</blockquote>
<br></div>
I suspect there has been some cut-and-paste confusion from a script somewhere as I would expect that to be $LOC_CPU and $REM_CPU. Regardless the -c option requests measurement of local CPU utilization, -C requests measurement of remote CPU utilization.<br>
<br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#CPU-Utilization" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#CPU-Utilization</a><br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dc_002c-Global-18" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dc_002c-Global-18</a><div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
3) How max and min number of iterations are actually used ?<br>
</blockquote>
<br></div>
See the URL in the answer to 1.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
4) Actually I want to measure throughput vs CPU Load for my system.<br>
What is the best command for the above purpose ?<br>
</blockquote>
<br></div>
Are you trying to say you want to measure what throughput can be achieved at discrete levels of CPU utilization? That may be something of a challenge.<br>
<br>
It may be possible to measure CPU utilization at a given throughput level via:<br>
<br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dw_002c-Global-39" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002dw_002c-Global-39</a><br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002db_002c-Global-16" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#index-g_t_002db_002c-Global-16</a><br>
<br>
However, achieving a given level of throughput can be accomplished with more than one set of values for -b and -w, which may affect the CPU utilization. Toss-in the effect of the various values of the -m test-specific option and one is really talking about a rather large space.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
5) Do I need to use a crossover cable for the test setup ?<br>
</blockquote>
<br></div>
1GbE and later networking does not require a cross-over cable. 100BT and below does.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
6) Can I have multiple servers and one client ? Or multiple client and one server setup ?<br>
</blockquote>
<br>
</div><a href="http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#Using-Netperf-to-Measure-Aggregate-Performance" target="_blank">http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#Using-Netperf-to-Measure-Aggregate-Performance</a><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
==================================================<br>
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.11.207 (192.168.11.207) port 0 AF_INET : +/-1.500% @ 95% conf.<br>
!!! WARNING<br>
!!! Desired confidence was not achieved within the specified iterations.<br>
!!! This implies that there was variability in the test environment that<br>
!!! must be investigated before going further.<br>
!!! Confidence intervals: Throughput : 1.164%<br>
!!! Local CPU util : 0.000%<br>
!!! Remote CPU util : 56.955%<br>
<br>
Recv Send Send Utilization Service Demand<br>
Socket Socket Message Elapsed Send Recv Send Recv<br>
Size Size Size Time Throughput local remote local remote<br>
bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB<br>
<br>
65536 65536 1 5.00 9.46 100.00 59.60 865.994 516.212<br>
==============================================================<br>
<br>
Thanks for your help,<br>
Steevan<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
netperf-talk mailing list<br>
<a href="mailto:netperf-talk@netperf.org" target="_blank">netperf-talk@netperf.org</a><br>
<a href="http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk" target="_blank">http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk</a><br>
</blockquote>
<br>
</blockquote></div><br>