[netperf-talk] netperf in windows environment
anil mishra
rsvl06 at yahoo.com
Wed Sep 20 10:43:19 PDT 2006
Rick,
I got your explaination about CPU Utilization. That seems to be correct.
Your suggestion for the "temp" directory also works fine for me.
I have not yet tried the histogram output. I get it correctly, then you are suggesting me to modify the makefile and recreate the netserver and netperf.
Am I correct?
Thanks a lot for all your help
Rick Jones <rick.jones2 at hp.com> wrote:
anil mishra wrote:
> Rick,
>
> 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.)
> The problem what I have it gives output something (IIRC) like following:
>
> Total CPU Utilization CPU-1 Utilization CPU-2 Utilization
>
> Total Int/sec Int/sec (for CPU-1) Int/sec (for CPU-2)
>
>
> But when I tried to do the math like:
>
> Total CPU = CPU-1 + CPU-2
>
> 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.
Assume for the moment that each CPU had a total of 100 cycles available
at any one moment. Further assume that on CPU1 60 of those cycles were
used and on CPU2 30 of those cycles were used. The utilization of CPU1
would be 60%. The CPU utilization of CPU2 would be 30%. However, the
CPU utilization of the system as a whole is not 60%+30% or 90%. The CPU
utilziation of the system as a whole would be (60+30)/(100+100) or
90/200 or 45%.
Netperf does not report CPU utilization for MP systems as being > 100%.
>
> I will try to add the histogram to see the individual round trip.
>
> 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.
It is assume that c:\\temp exists. From netserver.c:
#ifndef DEBUG_LOG_FILE
#ifndef WIN32
#define DEBUG_LOG_FILE "/tmp/netperf.debug"
#else
#define DEBUG_LOG_FILE "c:\\temp\\netperf.debug"
#endif /* WIN32 */
#endif /* DEBUG_LOG_FILE */
> If I got the Service Demand explaination correctly, it is kind of
> normalization of
> "Service Demand = CPU Utilization / Amont of Data Transfer". Am I
> correct? I will go thru the documentation to get more ifo about this.
You are correct. It is the quantity of CPU per unit of work.
rick jones
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20060920/459b6349/attachment.htm
More information about the netperf-talk
mailing list