[netperf-talk] Netperf CPU utilization statistics

Andrew Gallatin gallatin at cs.duke.edu
Mon Apr 16 04:57:49 PDT 2012


On 04/16/12 07:35, Hoppetauet wrote:
> Hello
>
> Can someone confirm whether netperf reports CPU utilization on a
> per-netserver (ie. per daemon) or for the physical machine as a whole?
> Ie. if I have 4 netserver instances running simultaneously and 4 other
> machines running test on each of these, will the CPU utilization
> rpeorted from each of these tests be only for that particular netserver
> instance?

It reports it for the system as a whole, and should report the same
utilization as things like vmstat, mpstat, etc.  This was done to
provide more accurate accounting of the time spent by the OS which is
normally not chargeable by traditional (getrusage) means. Now things
which run in a context other than the netserver context, like
the NIC's interrupt handler, NAPI polling threads, etc, are counted.
So if you run 4 netservers, and each consumes 25% of the system's CPU,
you'll see 100% reported by all of them.


Drew


More information about the netperf-talk mailing list