From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyNUH-0004eN-6A for qemu-devel@nongnu.org; Fri, 07 Nov 2008 04:18:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyNUG-0004do-5Q for qemu-devel@nongnu.org; Fri, 07 Nov 2008 04:18:40 -0500 Received: from [199.232.76.173] (port=51969 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyNUF-0004df-Qa for qemu-devel@nongnu.org; Fri, 07 Nov 2008 04:18:39 -0500 Received: from mx2.redhat.com ([66.187.237.31]:43568) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyNUF-00058U-Su for qemu-devel@nongnu.org; Fri, 07 Nov 2008 04:18:40 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mA79IaMA006852 for ; Fri, 7 Nov 2008 04:18:36 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mA79IZMU029645 for ; Fri, 7 Nov 2008 04:18:35 -0500 Received: from zweiblum.travel.kraxel.org (vpn-4-83.str.redhat.com [10.32.4.83]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mA79IXoE010727 for ; Fri, 7 Nov 2008 04:18:34 -0500 Message-ID: <491407E9.4040506@redhat.com> Date: Fri, 07 Nov 2008 10:18:33 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] vga slow with -enable-kvm Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, The vga display is very slow when using latest svn with kvm enabled. Just try to boot any linux kernel with vesafb enabled (vga=0x314 for 800x600@16), enjoy watching the boot messages scroll. Booting without kvm enabled is *faster*. Feels like every single screen access is trapped or something like that. kvm_stat confirms that, there are tons of mmio exits: [root@zweiblum ~]# kvm_stat -1 efer_reload 0 0 exits 98234706 132054 fpu_reload 6330433 0 halt_exits 104372 0 halt_wakeup 0 0 host_state_reload 96499874 132038 hypercalls 0 0 insn_emulation 94632076 129954 insn_emulation_fail 0 0 invlpg 0 0 io_exits 2627489 1653 irq_exits 239675 397 irq_window 11138 14 largepages 0 0 mmio_exits 93583132 129946 mmu_cache_miss 38079 0 mmu_flooded 37708 0 mmu_pde_zapped 35810 0 mmu_pte_updated 588299 0 mmu_pte_write 647324 0 mmu_recycled 0 0 mmu_shadow_zapped 48191 0 pf_fixed 1211070 1 pf_guest 109462 0 remote_tlb_flush 0 0 request_irq 0 0 signal_exits 164181 402 tlb_flush 728218 44 cheers, Gerd