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
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
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