[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DCBAE34.2000203@redhat.com>
Date: Thu, 12 May 2011 12:53:56 +0300
From: Avi Kivity <avi@...hat.com>
To: Jan Kiszka <jan.kiszka@...mens.com>
CC: Joerg Roedel <joro@...tes.org>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Subject: Re: [PATCH v1 0/5] KVM in-guest performance monitoring
On 05/12/2011 12:47 PM, Jan Kiszka wrote:
> >
> > Anyway, I thought about a paravirt-approach instead of implementing a
> > real PMU... But there are certainly good reasons for both.
>
> Paravirt is taking away the pressure from CPU vendors to do their virt
> extensions properly - and doesn't help with unmodifiable OSes.
Yes. In the case of the PMU things are less clear, since they are very
model specific. In the case of Linux, you have to lie to the guest and
present a model number that it doesn't recognize, otherwise it prefers
the model-specific PMU to the architectural PMU.
I though of adding a kvm cpuid bit that says "prefer the architectural
pmu" to work around this issue.
--
error compiling committee.c: too many arguments to function
--
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