[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] perfc: count number of explicit vcpu yields



On Mon, 2015-11-09 at 16:14 +0100, Dario Faggioli wrote:
>Â
> > As far as xl accessibility --- doesn't xenperf already read them out?
> > 
> Mmm... ISTR having tried without much luck, and having heard that it
> wasn't functional any longer, but maybe I'm confusing it with something
> else. I'll try again.

I happened to have an xterm with this in its scroll buffer from earlier:

root@marilith-n0:~# xenperf 
invalid hypercallsÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: wfiÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂ85068ÂÂÂÂÂÂÂ56068ÂÂÂÂÂÂ11762ÂÂÂÂÂÂÂ
8461ÂÂÂÂÂÂÂ8777
trap: wfeÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂ2811ÂÂÂÂÂÂÂÂÂ614ÂÂÂÂÂÂÂÂ716ÂÂÂÂÂÂÂÂ
964ÂÂÂÂÂÂÂÂ517
trap: cp15 32-bit accessÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ4ÂÂÂÂÂÂÂÂÂÂÂ1ÂÂÂÂÂÂÂÂÂÂ1ÂÂÂÂÂÂÂÂÂ
Â1ÂÂÂÂÂÂÂÂÂÂ1
trap: cp15 64-bit accessÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: cp14 32-bit accessÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: cp14 64-bit accessÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: cp14 dbg accessÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: cp accessÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: 32-bit smcÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: 32-bit hvcÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂ1291ÂÂÂÂÂÂÂÂÂ510ÂÂÂÂÂÂÂÂ568ÂÂÂÂÂÂÂÂ
161ÂÂÂÂÂÂÂÂÂ52
trap: guest instr abortÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
trap: guest data abortÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂ16446ÂÂÂÂÂÂÂÂ6885ÂÂÂÂÂÂÂ4358ÂÂÂÂÂÂÂ
3431ÂÂÂÂÂÂÂ1772
trap: condition failedÂÂÂÂÂÂÂÂÂÂÂÂÂÂT=ÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂÂ0ÂÂÂÂÂÂÂÂÂ
Â0ÂÂÂÂÂÂÂÂÂÂ0
[...]

So I think it works.

You need to build the hypervisor binary with perfc=y (and optionally
perfc_arrays=y) or it doesn't do anything.

Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.