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

2014-08-27 Thread Liang, Kan
> > Inside the guest, I am using "perf stat -e dTLB-load-misses -e > > dTLB-loads -e L1-dcache-loads -e L1-dcache-load-misses -e > > L1-dcache-prefetch-misses ", followed by the parsec command. > > The misses/hit radio is the first number after "#". For your case, 0.00% is the misses/hit radi

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

2014-08-27 Thread Steven
Inside the guest, I am using "perf stat -e dTLB-load-misses -e dTLB-loads -e L1-dcache-loads -e L1-dcache-load-misses -e L1-dcache-prefetch-misses ", followed by the parsec command. Thanks. - Hui On Wed, Aug 27, 2014 at 12:28 PM, Liang, Kan wrote: > >> > Hi, Kan, >> > >> > The dTLB-load-misses

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

2014-08-27 Thread Liang, Kan
> > Hi, Kan, > > > > The dTLB-load-misses is 0, but it shows 80.00%hit, does that mean the > > TLB- load miss is 0.8 * (dTLB-loads). Thanks. > > > > Performance counter stats for './parsecmgmt -a run -i native -c > > gcc-hooks -n > > 1 -p freqmine': I'm not familiar with parsecmgmt. What’s

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 Steven
Hi, Kan, The dTLB-load-misses is 0, but it shows 80.00%hit, does that mean the TLB-load miss is 0.8 * (dTLB-loads). Thanks. Performance counter stats for './parsecmgmt -a run -i native -c gcc-hooks -n 1 -p freqmine': 0 dTLB-load-misses #0.00% of all dTLB cache hit

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

2014-08-27 Thread Steven
Hi, Kan, Thanks for your reply. 1. If the guest is non-paravirt, can I get the LLC-loads number? 2. Do you know any method that can capture the LLC-loads for the guest? Thanks. - Hui On Wed, Aug 27, 2014 at 9:05 AM, Liang, Kan wrote: > > > > > > > Dear KVM developers: > > I am trying use perf

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

2014-08-27 Thread Steven
Hi, Kan, Thanks for your reply. 1. If the guest is non-paravirt, can I get the LLC-loads number? 2. Do you know any method that can capture the LLC-loads for the guest? Thanks. - Hui On Wed, Aug 27, 2014 at 9:05 AM, Liang, Kan wrote: > > >> >> Dear KVM developers: >> I am trying use perf stat i

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

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

2014-08-27 Thread Hui Kang
[Sorry about the repeated message. ] 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 s

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

2014-08-26 Thread Steven
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 offcore events are