Re: [PATCH RFC 2/2] kvm: Be courteous to other VMs in overcommitted
scenario in PLE handler
[Posted September 26, 2012 by corbet]
From: |
| Avi Kivity <avi-AT-redhat.com> |
To: |
| Peter Zijlstra <peterz-AT-infradead.org> |
Subject: |
| Re: [PATCH RFC 2/2] kvm: Be courteous to other VMs in overcommitted
scenario in PLE handler |
Date: |
| Mon, 24 Sep 2012 18:10:48 +0200 |
Message-ID: |
| <50608608.4000507@redhat.com> |
Cc: |
| Raghavendra K T <raghavendra.kt-AT-linux.vnet.ibm.com>,
"H. Peter Anvin" <hpa-AT-zytor.com>,
Marcelo Tosatti <mtosatti-AT-redhat.com>,
Ingo Molnar <mingo-AT-redhat.com>, Rik van Riel <riel-AT-redhat.com>,
Srikar <srikar-AT-linux.vnet.ibm.com>,
"Nikunj A. Dadhania" <nikunj-AT-linux.vnet.ibm.com>,
KVM <kvm-AT-vger.kernel.org>, Jiannan Ouyang <ouyang-AT-cs.pitt.edu>,
chegu vinod <chegu_vinod-AT-hp.com>,
"Andrew M. Theurer" <habanero-AT-linux.vnet.ibm.com>,
LKML <linux-kernel-AT-vger.kernel.org>,
Srivatsa Vaddagiri <srivatsa.vaddagiri-AT-gmail.com>,
Gleb Natapov <gleb-AT-redhat.com> |
Archive‑link: | |
Article |
On 09/24/2012 06:05 PM, Peter Zijlstra wrote:
> On Mon, 2012-09-24 at 17:58 +0200, Avi Kivity wrote:
>> There is the TSC deadline timer mode of newer Intels. Programming the
>> timer is a simple wrmsr, and it will fire immediately if it already
>> expired. Unfortunately on AMDs it is not available, and on virtual
>> hardware it will be slow (~1-2 usec).
>
> Its also still a LAPIC write -- disguised as an MSR though :/
It's probably a whole lot faster though.
> Also, who gives a hoot about virtual crap ;-)
I only mentioned it to see if your virtual crap detector is still
working. Looks like it's still in top condition, low latency and 100%
hit rate.
--
error compiling committee.c: too many arguments to function