From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: qemu-kvm-0.13.0 - winsows 2008 - chkdisk too slow Date: Thu, 06 Jan 2011 11:30:19 +0200 Message-ID: <4D258BAB.1020004@redhat.com> References: <20110106074822.GB17772@pcnci.linuxbox.cz> <4D258690.4070904@redhat.com> <20110106092046.GD17772@pcnci.linuxbox.cz> <4D258B18.5000402@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM list , nikola.ciprich@linuxbox.cz To: Nikola Ciprich Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55637 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319Ab1AFJaZ (ORCPT ); Thu, 6 Jan 2011 04:30:25 -0500 In-Reply-To: <4D258B18.5000402@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/06/2011 11:27 AM, Avi Kivity wrote: > On 01/06/2011 11:20 AM, Nikola Ciprich wrote: >> Hello Avi! >> On Thu, Jan 06, 2011 at 11:08:32AM +0200, Avi Kivity wrote: >> > Let's start with a few 'kvm_stat -1' snapshots while this is going >> on. >> >> here it is, but note that there are few more machines running on this >> host. >> but they're almost idle in contrast to this windows one, so I hope >> it's not problem. > >> kvm_cr 780 772 >> kvm_emulate_insn 46181 44982 >> kvm_entry 55012 53867 >> kvm_exit 55182 53884 > > It's emulating quite a bit. Let's see why. > > - install udis86 and udis86-devel > - build and install > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git > - run trace-cmd record -e kvm -b 100000 -P pid1 -P pid2, ctrl-C after > a few seconds (pid1/pid2 are thread ids from 'info cpus' of the bad > guest, plus the pid of the qemu process itself) > - post the resulting trace.dat somewhere > btw, that 100000 is 400MB of nonswappable kernel memory per cpu, so if you have lots of cpus and not enough memory, adjust it down. -- error compiling committee.c: too many arguments to function