Received: from [140.186.70.92] (port=51485 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OamVE-0004rH-BE for qemu-devel@nongnu.org; Mon, 19 Jul 2010 05:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OamVD-0003MM-8G for qemu-devel@nongnu.org; Mon, 19 Jul 2010 05:19:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22680) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OamVC-0003MD-M9 for qemu-devel@nongnu.org; Mon, 19 Jul 2010 05:19:11 -0400 Date: Mon, 19 Jul 2010 10:19:07 +0100 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device Message-ID: <20100719091907.GT13194@amd.home.annexia.org> References: <20100717095059.GA19767@amd.home.annexia.org> <20100717095353.GB19767@amd.home.annexia.org> <269D196D-8CE8-4E24-8EE1-39756AC55F7F@suse.de> <20100718200942.GL13194@amd.home.annexia.org> <44FD4F00-843D-41C8-B21A-148D16745015@suse.de> <20100719062356.GU4689@redhat.com> <20100719072802.GO13194@amd.home.annexia.org> <20100719073312.GY4689@redhat.com> <4E9BBBA5-F2D1-4485-AFD3-8D6FDE3A3CCC@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: <4E9BBBA5-F2D1-4485-AFD3-8D6FDE3A3CCC@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org, Gleb Natapov --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > Richard, what does kvm_stat tell you while loading the initrd? Are > there a lot of PIO requests or are we simply looping inside qemu > code? The two attached files were made by running kvm_stat -l > /tmp/... during a single run starting libguestfs. This use of kvm_stat is as described in Chris's blog entry here: http://clalance.blogspot.com/2009/01/kvm-performance-tools.html The first attachment ('no-patch') is without the proposed patch. The second attachment ('with-patch') is with the proposed patch. It seems some numbers such as #vmexits are lower with the proposed patch, although not by a very much. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=no-patch efer_relo exits fpu_reloa halt_exit halt_wake host_stat hypercall insn_emul insn_emul invlpg io_exits irq_exits irq_injec irq_windo largepage mmio_exit mmu_cache mmu_flood mmu_pde_z mmu_pte_u mmu_pte_w mmu_recyc mmu_shado mmu_unsyn nmi_injec nmi_windo pf_fixed pf_guest remote_tl request_i signal_ex tlb_flush 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 147464 10991 0 0 75176 0 70151 0 0 75122 106 8 11 0 7 49 0 0 0 56360 0 94 0 0 0 390 0 0 0 39 0 0 21165 0 0 0 21159 0 21139 0 0 21151 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 108370 1024 0 0 57189 0 9936 0 8674 55697 342 108 209 0 1014 2828 610 180 0 776 0 2754 0 0 0 24981 0 0 0 286 10996 0 78421 0 0 0 16362 0 1828 0 0 12189 2136 1073 1371 0 1827 93 0 1 0 1 0 0 2 0 0 46659 0 0 0 2041 1 0 52784 611 8 0 13498 0 2722 0 1084 10562 1236 769 1106 0 1317 769 276 1138 0 1405 0 630 42 0 0 31694 4779 0 0 1227 2799 0 122866 7220 0 0 11116 0 11677 0 7619 6596 1655 1137 1560 0 2035 5133 1956 7687 0 9642 0 4375 472 0 0 62778 32417 0 0 1976 19957 0 48502 19852 9 0 22262 0 3173 0 1607 19781 802 1199 1700 0 799 1063 452 1918 0 2370 0 1125 49 0 0 14706 7666 0 0 642 4795 0 -579572 -39698 -17 0 -216762 0 -120626 0 -18984 -201098 -6295 -4294 -5957 0 -6999 -9935 -3294 -10924 0 -70554 0 -8978 -565 0 0 -181208 -44862 0 0 -6227 -38548 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=with-patch efer_relo exits fpu_reloa halt_exit halt_wake host_stat hypercall insn_emul insn_emul invlpg io_exits irq_exits irq_injec irq_windo largepage mmio_exit mmu_cache mmu_flood mmu_pde_z mmu_pte_u mmu_pte_w mmu_recyc mmu_shado mmu_unsyn nmi_injec nmi_windo pf_fixed pf_guest remote_tl request_i signal_ex tlb_flush 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 153571 12053 0 0 75788 0 70663 0 0 74676 186 9 13 0 1007 67 0 0 0 56360 0 94 0 0 0 5819 0 0 0 93 0 0 130357 1 0 0 62092 0 1558 0 8674 59699 1388 650 886 0 781 2827 610 181 0 777 0 2754 2 0 0 27246 0 0 0 1299 10997 0 69127 0 1 0 7362 0 1983 0 0 2960 2002 993 1344 0 1983 118 0 0 0 0 0 0 1 0 0 60866 1 0 0 2065 0 0 85260 3696 7 0 13338 0 7089 0 4826 10226 1020 847 1228 0 1344 3583 1156 4584 0 5730 0 2560 281 0 0 40829 20586 0 0 1298 13181 0 70517 4555 7 0 6803 0 7038 0 4415 4066 979 671 913 0 1225 2499 1174 4654 0 5828 0 2786 237 0 0 35782 18756 0 0 1207 10910 0 38824 20237 6 0 21919 0 2185 0 797 19687 870 1120 1597 0 656 713 294 1231 0 1525 0 741 9 0 0 9360 4779 0 0 543 3089 0 -547656 -40542 -21 0 -187302 0 -90516 0 -18712 -171314 -6445 -4290 -5981 0 -6996 -9807 -3234 -10650 0 -70220 0 -8935 -530 0 0 -179902 -44122 0 0 -6505 -38177 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 --gj572EiMnwbLXET9--