From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Lieven Subject: Re: win7 bad i/o performance, high insn_emulation and exists Date: Tue, 21 Feb 2012 12:16:16 +0100 Message-ID: <4F437D00.8050102@dlh.net> References: <4F428E53.2010602@dlh.net> <20120220184008.GF29601@redhat.com> <20120220190449.GG29601@redhat.com> <4F42A62A.9080503@dlh.net> <20120220204515.GI29601@redhat.com> <4F437707.8070208@dlh.net> <20120221105615.GA27176@redhat.com> <4F43790B.90603@dlh.net> <20120221110057.GA27471@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, vrozenfe@redhat.com To: Gleb Natapov Return-path: Received: from ssl.dlh.net ([91.198.192.8]:43805 "EHLO ssl.dlh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753701Ab2BULQY (ORCPT ); Tue, 21 Feb 2012 06:16:24 -0500 In-Reply-To: <20120221110057.GA27471@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 21.02.2012 12:00, Gleb Natapov wrote: > On Tue, Feb 21, 2012 at 11:59:23AM +0100, Peter Lieven wrote: >> On 21.02.2012 11:56, Gleb Natapov wrote: >>> On Tue, Feb 21, 2012 at 11:50:47AM +0100, Peter Lieven wrote: >>>>> I hope it will make Windows use TSC instead, but you can't be sure >>>>> about anything with Windows :( >>>> Whatever it does now it eates more CPU has almost equal >>>> number of exits and throughput is about the same (15MB/s). >>>> If pmtimer is at 0xb008 it still reads it like hell. >>>> >>>> I checked with bcedit /v that useplatformclock is set to "No". >>> Yeah, today I noticed that it is likely virtio drivers that hammer >>> on PM timer (at least rip of the instruction that access it is >>> very close to rip of the instruction that access virtio pio). >>> Vadim, Windows driver developer, is CCed. >> Ok, I will switch to IDE and e1000 to confirm this? Or does it not >> make sense? >> > It make perfect sense! Please try it. ~10MB/s. still a lot of 0xb008 reads. efer_reload 0 0 exits 4389875 72341 fpu_reload 36729 342 halt_exits 206204 3451 halt_wakeup 212953 3474 host_state_reload 2976799 59043 hypercalls 0 0 insn_emulation 2936091 54921 insn_emulation_fail 0 0 invlpg 0 0 io_exits 1821386 14108 irq_exits 81999 2798 irq_injections 343720 8560 irq_window 12712 153 largepages 754 2 mmio_exits 37 0 mmu_cache_miss 148 0 mmu_flooded 0 0 mmu_pde_zapped 0 0 mmu_pte_updated 0 0 mmu_pte_write 0 0 mmu_recycled 0 0 mmu_shadow_zapped 189 0 mmu_unsync 0 0 nmi_injections 0 0 nmi_window 0 0 pf_fixed 139461 21 pf_guest 0 0 remote_tlb_flush 248 0 request_irq 0 0 signal_exits 0 0 tlb_flush 15366 0 trace at http://82.141.21.156/report3.txt.gz Peter > -- > Gleb.