Il 17/09/2014 12:45, Radim Krčmář ha scritto:
>  a) count local KVM_REQ_TLB_FLUSH requests
>  b) count all TLB flushes
>  c) both (a) and (b)
> 
> I was thinking that when you look at /sys/kernel/debug/kvm/tlb_flushes,
> you are interested in the number of TLB flushes that VMs did, not
> requests, so you won't have to add remote_tlb_flushes multiplied by
> maximal vcpu count and guess their amount from this upper bound.

I agree.  The difference isn't too big, but if two requests are
coalesced they will only cause a hit once.

Paolo

> And that we don't even care about requests, so (c) is just complication.


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to