From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [question] lots of interrupts injected to vm when pressing somekey w/o releasing Date: Thu, 20 Nov 2014 09:06:20 +0200 Message-ID: <20141120070620.GG26187@minantech.com> References: <201411201020560455720@sangfor.com> <546D8805.6040508@redhat.com> <201411201459337426770@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paolo Bonzini , kvm , Alex Williamson , "Zhang, Yang Z" , "Michael S.Tsirkin" To: Zhang Haoyu Return-path: Received: from mail-wi0-f172.google.com ([209.85.212.172]:45842 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756318AbaKTHGZ (ORCPT ); Thu, 20 Nov 2014 02:06:25 -0500 Received: by mail-wi0-f172.google.com with SMTP id n3so7671508wiv.5 for ; Wed, 19 Nov 2014 23:06:23 -0800 (PST) Content-Disposition: inline In-Reply-To: <201411201459337426770@sangfor.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Nov 20, 2014 at 02:59:36PM +0800, Zhang Haoyu wrote: > >On 20/11/2014 03:20, Zhang Haoyu wrote: > >> 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. > >> And, linux guest has no this problem. > > > >Do you have a trace for this? What version of QEMU and what UI backend? > > > Sorry for forgetting to mention test environment from the start. > Host: rhel7 with kernel-3.10.0-121 > QEMU: qemu-2.0.2 > Guest: win7(bad),win2008(bad),linux-kernel-3.10.0-121(good) > > No UI backend, directly start the VM via qemu command. > > perf top data when above problem happening: Trace it like this: http://www.linux-kvm.org/page/Tracing -- Gleb.