From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: high load with win7 & usb tablet Date: Fri, 10 Sep 2010 19:03:04 +0300 Message-ID: <4C8A56B8.4020607@redhat.com> References: <4C80E839.50604@msgid.tls.msk.ru> <4C8A2254.7090505@redhat.com> <4C8A282A.5010506@msgid.tls.msk.ru> <4C8A29A6.60108@redhat.com> <4C8A44E6.2060008@msgid.tls.msk.ru> <4C8A4736.8030704@redhat.com> <4C8A48D9.2070404@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM list To: Michael Tokarev Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56993 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159Ab0IJQDM (ORCPT ); Fri, 10 Sep 2010 12:03:12 -0400 In-Reply-To: <4C8A48D9.2070404@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On 09/10/2010 06:03 PM, Michael Tokarev wrote: > >> Strange. Can you also post a few lines of 'vmstat 1'? >> >> Maybe we'll see a lot of context switches in there. > Not that many. Still running the same w7 guest, still > ~25..27% CPU usage reported by top for the kvm process, > here's `vmstat 5' after a while (I tend to use larger > delay to mitigate large(ish) spikes): > > procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- > r b swpd free buff cache si so bi bo in cs us sy id wa > 0 0 286764 1262976 20640 1618468 0 0 0 24 6206 4460 7 9 84 0 > 1 0 286764 1263040 20640 1618436 0 0 0 0 6080 4415 7 9 84 0 > 1 0 286764 1264380 20648 1618448 0 0 0 5 6332 4576 8 11 81 0 > 1 0 286760 1264700 20656 1618436 6 0 6 18 6464 4742 7 8 84 1 > 1 0 286760 1264864 20664 1618472 0 0 0 10 6266 4704 8 8 85 0 > 0 Stumped. A shot in the dark: can you try running with vnc instead of sdl (and disconnecting your vnc client while measuring)? Maybe the guest is doing a lot of vga updates. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.