From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang Haoyu" Subject: Re: [question] lots of interrupts injected to vm when pressing somekey w/o releasing Date: Tue, 25 Nov 2014 09:54:00 +0800 Message-ID: <201411250953587250205@sangfor.com> References: <201411201020560455720@sangfor.com>, <201411242017440822890@sangfor.com>, <547323A7.8050104@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Cc: "Alex Williamson" , "Zhang, Yang Z" , "Michael S.Tsirkin" , "Gleb Natapov" To: "Paolo Bonzini" , "kvm" Return-path: Received: from smtp.sanfor.com ([58.251.49.30]:44263 "EHLO mail.sangfor.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751038AbaKYByG (ORCPT ); Mon, 24 Nov 2014 20:54:06 -0500 Sender: kvm-owner@vger.kernel.org List-ID: >>> Hi all, >>> >>> If I press the one of "Insert/Delete/Home/End/PageUp/PageDown/UpArrow/ >>> DownArrow/LeftArrow/RightArrow" key w/o releasing, then lots of interrupts >>> will be injected to vm(win7/win2008), about 8000/s, the system become very slow, >>> bringing very bad experience. But the other keys are okay. >> >> Sorry for wrong description, the interrupt rate is normal, >> but huge numbers of vmexit induced by PIO were produced. > >This is expected when running Windows without paravirtualized time >counter (-cpu ...,hv_time). > I tested win-server-2008 with "-cpu core2duo,hv_spinlocks=0xffff,hv_relaxed,hv_time", this problem still happened, about 200,000 vmexits per-second, bringing very bad experience, just like being stuck. Thanks, Zhang Haoyu >Paolo