From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harri Olin Subject: Re: Freezing Windows 2008 x64bit guest Date: Wed, 21 Jul 2010 17:05:24 +0300 Message-ID: <4C46FEA4.1050709@gmail.com> References: <20100715134441.GQ4689@redhat.com> <4C43FBEE.6000409@gmail.com> <20100719074207.GA4689@redhat.com> <4C4692DB.1000703@gmail.com> <20100721083728.GI27238@redhat.com> <4C46BC65.9050003@gmail.com> <20100721094846.GJ27238@redhat.com> <4C46C742.20808@gmail.com> <20100721103025.GK27238@redhat.com> <4C46F020.7020800@gmail.com> <20100721134516.GA27177@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Christoph Adomeit , "kvm@vger.kernel.org" To: Gleb Natapov Return-path: Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:47536 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754568Ab0GUOFf (ORCPT ); Wed, 21 Jul 2010 10:05:35 -0400 In-Reply-To: <20100721134516.GA27177@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > On Wed, Jul 21, 2010 at 04:03:28PM +0300, Harri Olin wrote: >> Gleb Natapov wrote: >>> On Wed, Jul 21, 2010 at 01:09:06PM +0300, Harri Olin wrote: >>>> Gleb Natapov wrote: >>>> On both times irq_exits go to 10000 but irq_injections stay at >>>> around 4600. On both times qemu process was at 100% cpu load. >>> irq_exits are exits due to host interrupt. What "cat /proc/interrupts" >>> show? Which counter grows at this rate there (or 1/4 of the rate but for >>> each host cpu). >> System froze again just a moment ago and there are 6100 "local timer >> interrupts" and around 3600 "Rescheduling interrupts" every second >> happening. >> >> #cat /proc/interrupts; sleep 1; cat /proc/interrupts; sleep 1; .... >> http://mizar.remote.agasha.com/k/kvm/interrupts.txt >> http://mizar.remote.agasha.com/k/kvm/interrupts1.txt >> >> quick calculations >> total >> RES: 110847929 115251972 108671867 114338799 449110567 per second: >> RES: 110848996 115252094 108673031 114340080 449114201 3634 >> RES: 110850059 115252174 108674157 114341446 449117836 3635 >> RES: 110851132 115252276 108675332 114342801 449121541 3705 >> >> total >> LOC: 1531251837 618157953 1727791012 522296117 4399496919 per second: >> LOC: 1531252861 618161024 1727792036 522297141 4399503062 6143 >> LOC: 1531253884 618164095 1727793060 522298165 4399509204 6142 >> LOC: 1531254907 618167166 1727794084 522299189 4399515346 6142 > > Same qemu and command line as before? Without -no-hpet? Yes those interrupt numbers area still running qemu-kvm-0.11.1 without -no-hpet. I now started the quest with -no-hpet, kvm_stat, everything working: efer_reload 0 0 exits 283535303 41437 fpu_reload 94754003 16231 halt_exits 24716918 4696 halt_wakeup 24416218 4651 host_state_reload 112571913 18552 hypercalls 0 0 insn_emulation 75833651 11377 insn_emulation_fail 83 0 invlpg 5327501 124 io_exits 84146648 13718 irq_exits 10182390 2295 irq_injections 31379031 5979 irq_window 941352 113 largepages 0 0 mmio_exits 29794 0 mmu_cache_miss 380265 11 mmu_flooded 167547 2 mmu_pde_zapped 288251 2 mmu_pte_updated 586646 2 mmu_pte_write 505897 3 mmu_recycled 40892 0 mmu_shadow_zapped 365079 4 mmu_unsync 19338 -1 nmi_injections 0 0 nmi_window 0 0 pf_fixed 20331924 1570 pf_guest 5332473 214 remote_tlb_flush 3213779 211 request_irq 0 0 signal_exits 0 0 tlb_flush 8205865 335 interrupt count calculations, system working, -no-hpet: total LOC: 1537337119 621778834 1732851735 525376978 4417344666 per sec LOC: 1537339334 621779137 1732851925 525377284 4417347680 3014 LOC: 1537339987 621779260 1732853664 525377824 4417350735 3055 LOC: 1537340126 621779388 1732855889 525378420 4417353823 3088 RES: 112093536 116293086 109808558 115510943 453706123 RES: 112093737 116293164 109808699 115511006 453706606 483 RES: 112093921 116293182 109808731 115511040 453706874 268 RES: 112093976 116293225 109808733 115511061 453706995 121 full /proc/interrupts at: http://mizar.remote.agasha.com/k/kvm/interrupts-working-no-hpet.txt command line: /usr/local/qemu-kvm-0.11.1/bin/qemu-system-x86_64 -drive file=/dev/rigelvg/w2k8system,cache=none,boot=on -drive file=/dev/rigelvg/w2k8data,cache=none -m 6144 -vnc :1 -net nic,macaddr=C0:FF:12:FB:AA:01 -net tap -smp 4 -localtime -no-hpet Still couple of hours before I can restart the host to new kernel. -- Harri.