Re: [Qemu-devel] pert stat in KVM guest can not get LLC-loads hardware cache event

2014-08-27 Thread Liang, Kan
> > Dear KVM developers: > I am trying use perf stat inside a VM to obtain some hardware cache > performance counter values. > The perf stat can report some numbers for L1 and TLB related counters. But > for the LLC-loads and LLC-load-misses, the numbers are always 0. It seems > that the these o

Re: [Qemu-devel] pert stat in KVM guest can not get LLC-loads hardware cache event

2014-08-27 Thread Liang, Kan
> > 1. If the guest is non-paravirt, can I get the LLC-loads number? No, the guest will crash. > 2. Do you know any method that can capture the LLC-loads for the guest? I don't know. > Thanks. >

Re: [Qemu-devel] pert stat in KVM guest can not get LLC-loads hardware cache event

2014-08-27 Thread Liang, Kan
0%] > > > >782,552,911,616 L1-dcache-loads > > [80.00%] > > > > 5,810,697,456 L1-dcache-load-misses #0.74% of all > > L1-dcache hits [80.00%] > > > > 2,145,907,209 L1-dcache-prefetch-misses > > [80.00%] >

Re: [Qemu-devel] pert stat in KVM guest can not get LLC-loads hardware cache event

2014-08-27 Thread Liang, Kan
t;. For your case, 0.00% is the misses/hit radio for dTLB cache. 0.74% is the misses/hit radio for L1dcache. I have no idea what does 80.00% mean. > > > > On Wed, Aug 27, 2014 at 12:28 PM, Liang, Kan wrote: > > > > > >> > Hi, Kan, > > >> > >