<div>Rick,</div> <div> </div> <div>I tried to run the test with -v 3 option. I am running my tests on MP system with processors. I used -c and -C both the options. It gives the CPU Utilization and interrupt/sec in three columns. ( I am off today, tomorrow I will cut and paste the result here.)<BR></div> <div>The problem what I have it gives output something (IIRC) like following:</div> <div> </div> <div>Total CPU Utilization CPU-1 Utilization CPU-2 Utilization</div> <div> </div> <div>Total Int/sec Int/sec (for CPU-1) Int/sec (for CPU-2)</div> <div> </div> <div> </div> <div>But when I tried to do the math like:</div> <div> </div> <div>Total CPU = CPU-1 + CPU-2 </div> <div> </div> <div>This does not seem to match. Rather IIRC, "Total CPU" was somehow ;less
than "CPU-1". I had the similar observation for the "interrupts/second" metric also.</div> <div> </div> <div>I will try to add the histogram to see the individual round trip.</div> <div> </div> <div>For the problem what I see while trying to run the "netserver" on the Dell 2900 system, I am not sure what is going on there. The same code base seems to be working on the different Windows system. I am not sure if anyone elase has seen this issue.</div> <div> </div> <div>If I got the Service Demand explaination correctly, it is kind of normalization of </div> <div>"Service Demand = CPU Utilization / Amont of Data Transfer". Am I correct? I will go thru the documentation to get more ifo about this. </div> <div> </div> <div>Thanks for the help.</div> <div> <BR><B><I>Rick Jones <rick.jones2@hp.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">For the sake of
posterity, let's keep this in the netperf-talk list. It <BR>may help others in the future.<BR><BR>anil mishra wrote:<BR>> Rick,<BR>> <BR>> Thanks for the reply.<BR>> <BR>> I am using Netperf 2.4 + downloaded from the trunk.<BR>> I am not sure what is IIRC in your reply. I tried to use the -c option <BR>> to get the CPU utilization while running my test, it gives me following :<BR><BR>IIRC == If I Recall Correctly<BR><BR>> TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.14.52.155 <BR>> (10.14.52.155) port 0 AF_INET<BR>> Recv Send Send Utilization Service <BR>> Demand<BR>> Socket Socket Message Elapsed Send Recv Send Recv<BR>> Size Size Size Time Throughput local remote local <BR>> remote<BR>> bytes bytes bytes secs. 10^6bits/s % N % U us/KB us/KB<BR>> 8192 8192 8192 10.00 1068.93 92.89 -1.00 14.238 <BR>> -1.000<BR>> <BR>> I am not sure if CPU Utilization (92.8 for local and -1.00 for remote ) <BR>>
values are correct.<BR><BR>Since -c only requests local CPU utilization, the -1.00 for remote is <BR>indeed correct. If you want to also see remote CPU utilization you need <BR>to add -C to the netperf global command options.<BR><BR>If your's is a UP system, depending on the CPU horsepower I could <BR>believe that ~93% CPU util was correct.<BR><BR>> What is service demand metric printed in the result. <BR><BR>IIRC :) described in the manual :) Normalization of throughput and CPU <BR>utilization, showing how much CPU resource was consumed per KB of data <BR>transferred. Lower is better.<BR><BR>> <BR>> Can we also get the # of interrupts/sec metric from the Netperf?<BR>> <BR><BR>Nope.<BR><BR>> <BR>> Yes, good point, I need to convert the script to .bat. Can I use them as <BR>> it is in the Cygwin environment?<BR><BR>Perhaps, I've never tried it before.<BR><BR>> <BR>> Yes, you have done your math correctly.<BR>> <BR>> I got the following for
the # trans/sec.<BR>> <BR>> TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to <BR>> 192.168.1.100<BR>> (192.168.1.100) port 0 AF_INET<BR>> Local /Remote<BR>> Socket Size Request Resp. Elapsed Trans.<BR>> Send Recv Size Size Time Rate<BR>> bytes Bytes bytes bytes secs. per sec<BR>> 8192 8192 1 1 10.00 17150.77<BR>> 8192 8192<BR><BR><BR>Then indeed, the average round-trip latency would be 1/17150.11 seconds. <BR>You could probably ass-u-me that the one-way latency was that over <BR>two. If you want to see individual rount-trip times, you need to enable <BR>the histogram support in the stuff in NetPerfDir - adding it to the <BR>config.h that is there (IIRC) or adding it as a -D<BR><BR>> I am trying to run the netserver on the Dell Poweredge 2900 system and <BR>> it gives me following error messages:<BR>> <BR>> C:\netperf>netserver<BR>> netserver: fopen of debug file as new stdout failed!: The system cannot
<BR>> find the path specifie<BR>> <BR>> Am I missing something very obvious?<BR><BR>Likely as not, the code is it may be ass-u-me-ing something about paths <BR>that is Unix-like specific. Somewhere in src/netserver.c I would think.<BR><BR>> Thanks much in advance for your help and for such a nice benchmarking tool.<BR><BR>my, and I suspect all those who have contributed, pleasure,<BR><BR>rick<BR><BR>> R<BR>> <BR>> <BR>> <BR>> */Rick Jones <RICK.JONES2@HP.COM>/* wrote:<BR>> <BR>> anil mishra wrote:<BR>> > Hi,<BR>> > I am trying to run the netperf in the Windows 2003 environment. Can<BR>> > someone let me know how to get the %CPU Utilization in the Windows<BR>> > environment.<BR>> <BR>> Which version of netperf are you using? I would suggest at least 2.3 if<BR>> not 2.4 from top of trunk in the subversion repository:<BR>> <BR>> http://www.netperf.org/svn/netperf2/trunk<BR>> <BR>> > It looks like
the configure script and Makefile has to be changed<BR>> to get<BR>> > the CPU Utilization.<BR>> <BR>> Netperf doesn't use configure under Windows. The README.windows file<BR>> should describe how netperf is compiled under windows. IIRC that will<BR>> include the Windows-specific CPU utilization measurement code you can<BR>> access via -c/-C just like the rest of the platforms.<BR>> <BR>> > Has anyone done in it Windows environment?<BR>> ><BR>> > What do I need to do run all the available scripts in the Windows<BR>> > environment?<BR>> <BR>> The set of "all available scripts" for netperf under Windows is the<BR>> empty set as none of them have been ported to bat files. So, the first<BR>> thing you would need to do is port them over to bat files.<BR>> <BR>> > I just tried to run the Netperf on Brodcom NIC and got the<BR>> latency as ~<BR>> > 58 usec. Does it seem to be correct?<BR>> <BR>>
If I've done my math correctly, that suggests you are seeing ~17K<BR>> Transactions/second yes? Or is that one-way latency you are reporting?<BR>> <BR>> rick jones<BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great <BR>> rates starting at 1¢/min. <BR>> <HTTP: evt="39666/*http://messenger.yahoo.com" us.rd.yahoo.com *http: postman7 taglines mail_us><BR><BR></BLOCKQUOTE><BR><p> 
                <hr size=1>Stay in the know. Pulse on the new Yahoo.com. <a href="http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview"> Check it out.</a>