[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120430091246.GB5414@redhat.com>
Date: Mon, 30 Apr 2012 12:12:47 +0300
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Rick Jones <rick.jones2@...com>
Cc: Shirley Ma <mashirle@...ibm.com>,
David Miller <davem@...emloft.net>, eric.dumazet@...il.com,
avi@...hat.com, arnd@...db.de, netdev@...r.kernel.org,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: getting host CPU utilization (was Re: [PATCH V7 2/4 net-next]
skbuff: Add userspace zero-copy buffers in skb)
On Tue, Jun 28, 2011 at 10:19:48AM -0700, Rick Jones wrote:
> one of these days I'll have to find a good way to get accurate
> overall CPU utilization from within a guest and teach netperf about
> it.
I think the cleanest way would be to run another netperf server on the
host. netperf would get a flag with host address and get cpu
utilization info.
This is what we currently do manually: run mpstat on the host.
Thoughts?
By the way, could you point me to code used by netperf
to measure CPU utilization on Linux? I'd like to figure
out why isn't the result always consistent with e.g. mpstat.
Thanks!
--
MST
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists