From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Date: Thu, 10 Apr 2008 14:45:47 +0000 Subject: [kvm-ppc-devel] First detailed look at instruction emulation using Message-Id: <47FE281B.9090209@linux.vnet.ibm.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------000707050506010708040104" List-Id: To: kvm-ppc@vger.kernel.org This is a multi-part message in MIME format. --------------000707050506010708040104 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable We all saw in prior kvm_stat counters that listed the different exit reason= s the high count of instruction emulation. The recent patch to kvm-ppc-deve= l splits up those into the different instructions. I attached a log of a si= mple guest boot&halt FYI. E.g. see the high number of m[ft]msr instructions. The file is attached because no one wants to look at it line wrapped in the= mail client anyway. --=20 Gr=FCsse / regards,=20 Christian Ehrhardt IBM Linux Technology Center, Open Virtualization --------------000707050506010708040104 Content-Type: text/plain; name="kvmstat_instr_boothalt.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvmstat_instr_boothalt.txt" | exits| dcr| mmio| sig| light| itlb_v| itlb_r| isi| dtlb_v| dtlb_r| dsi| inst_emu| sysc| dec| ext_intr| instr_dcbi| instr_iccci| instr_lbz| instr_lbzu| instr_lbzx| instr_lhbrx| instr_lhz| instr_lhzu| instr_lhzux| instr_lhzx| instr_lwbrx| instr_lwz| instr_lwzu| instr_mfdcr| instr_mfmsr| instr_mfspr| instr_mtdcr| instr_mtmsr| instr_mtspr| instr_rfi| instr_stb| instr_stbu| instr_stbux| instr_stbx| instr_sth| instr_sthbrx| instr_sthu| instr_sthux| instr_sthx| instr_stw| instr_stwbrx| instr_stwu| instr_tlbsx| instr_tlbsync| instr_tlbwe| instr_trap| instr_wrtee| instr_wrteei| | 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 92| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 1| 0| 70| 0| 1996| 2849| | 97182| 28| 3876| 101| 99273| 22522| 0| 0| 22038| 6| 0| 61707| 205| 332| 103| 0| 1| 1887| 0| 12| 15| 0| 0| 0| 0| 79| 0| 0| 12| 17432| 6220| 16| 1336| 10733| 2293| 1833| 0| 0| 0| 0| 1| 0| 0| 0| 0| 210| 0| 0| 0| 78| 0| 16567| 25802| | 183854| 0| 282| 148| 183303| 45160| 0| 0| 42612| 1| 0| 94658| 396| 479| 147| 0| 0| 29| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 20746| 8208| 0| 1765| 13702| 2937| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 17913| 29005| | 182335| 0| 0| 149| 182087| 45430| 0| 0| 44994| 0| 0| 90662| 370| 460| 157| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 19607| 7955| 0| 1694| 13239| 2827| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 16846| 27346| | 178634| 0| 572| 149| 178097| 44301| 0| 0| 45873| 4| 0| 87061| 335| 456| 187| 0| 0| 185| 0| 257| 4| 0| 0| 0| 0| 8| 1| 0| 5| 19620| 7635| 7| 1586| 12640| 2665| 192| 0| 0| 541| 0| 8| 0| 0| 0| 1| 11| 0| 0| 0| 87| 0| 14816| 22684| | 94852| 262| 2094| 135| 92339| 20809| 83| 20| 19261| 226| 42| 51715| 72| 270| 104| 0| 0| 70| 0| 807| 3| 0| 0| 0| 0| 0| 0| 0| 164| 8747| 9323| 170| 965| 11563| 2246| 0| 0| 0| 540| 0| 56| 0| 0| 0| 0| 0| 0| 179| 0| 3117| 0| 7457| 13359| | 183827| 150| 128| 149| 183244| 37668| 894| 197| 42225| 1282| 296| 100176| 138| 472| 190| 0| 21| 19| 0| 40| 0| 0| 0| 0| 0| 0| 0| 0| 39| 7363| 28990| 33| 2320| 31184| 5685| 0| 0| 0| 44| 0| 10| 0| 0| 0| 0| 0| 0| 524| 0| 7484| 0| 5000| 10129| | 182212| 30| 10| 149| 182513| 36952| 969| 171| 43906| 1451| 304| 97786| 197| 452| 169| 0| 2| 13| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 39| 7397| 28165| 39| 2058| 30364| 5585| 0| 0| 0| 0| 0| 13| 0| 0| 0| 0| 0| 0| 460| 0| 8239| 0| 5204| 10134| | 183949| 84| 28| 150| 183380| 41524| 600| 109| 42650| 989| 235| 95787| 1132| 498| 173| 0| 24| 5| 0| 4| 0| 0| 0| 0| 0| 0| 0| 0| 19| 7131| 28493| 19| 3071| 31527| 6451| 0| 0| 0| 5| 0| 5| 0| 0| 0| 0| 0| 0| 392| 0| 5136| 0| 5172| 10050| | 183767| 18| 46| 149| 183432| 36702| 1173| 139| 40484| 1471| 458| 102403| 86| 484| 163| 0| 12| 2| 0| 16| 0| 0| 0| 0| 0| 0| 0| 0| 11| 7481| 29074| 11| 2758| 32133| 5607| 0| 0| 0| 17| 0| 3| 0| 0| 0| 0| 0| 0| 580| 0| 8346| 0| 5089| 10470| | 182143| 18| 6| 148| 181959| 36825| 979| 74| 41206| 1641| 463| 100238| 102| 471| 156| 0| 3| 6| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 15| 7567| 28420| 15| 2443| 31603| 5485| 0| 0| 0| 0| 0| 5| 0| 0| 0| 0| 0| 0| 516| 0| 8853| 0| 5021| 10286| | 180692| 48| 16| 149| 180419| 33824| 687| 24| 41951| 2399| 462| 100605| 23| 453| 181| 0| 0| 6| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 15| 7183| 28760| 15| 2077| 32086| 5493| 0| 0| 0| 0| 0| 5| 0| 0| 0| 0| 0| 0| 491| 0| 10316| 0| 4813| 9841| | 180910| 12| 4| 149| 180761| 33460| 954| 13| 41204| 2177| 481| 101939| 26| 466| 162| 0| 0| 2| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 6| 7212| 29095| 6| 2190| 32432| 5576| 0| 0| 0| 0| 0| 2| 0| 0| 0| 0| 0| 0| 528| 0| 9938| 0| 4838| 9871| | 181406| 12| 4| 149| 181261| 35129| 1102| 76| 40766| 1889| 459| 101544| 78| 481| 196| 0| 0| 1| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 6| 7202| 29338| 6| 2349| 32718| 5681| 0| 0| 0| 0| 0| 2| 0| 0| 0| 0| 0| 0| 512| 0| 9323| 0| 4814| 9990| | 183063| 6| 2| 150| 182882| 35972| 1262| 65| 40930| 1561| 473| 101863| 146| 484| 204| 0| 0| 1| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 7429| 28792| 0| 2475| 32029| 5597| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 529| 0| 9193| 0| 4988| 10211| | 180976| 6| 2| 149| 181273| 34437| 988| 18| 41862| 2026| 522| 100649| 46| 455| 183| 0| 0| 1| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 6| 7004| 28901| 6| 1886| 31926| 5515| 0| 0| 0| 10| 0| 1| 0| 0| 0| 0| 0| 0| 539| 0| 9950| 0| 4811| 9483| | 181990| 96| 278| 149| 181037| 35238| 989| 117| 43220| 1622| 367| 98691| 161| 447| 204| 0| 2| 0| 0| 205| 0| 0| 0| 0| 0| 0| 0| 0| 45| 7127| 28626| 45| 2103| 31075| 5648| 0| 0| 0| 63| 0| 4| 0| 0| 0| 0| 0| 0| 474| 0| 8308| 0| 5173| 10067| | 160418| 54| 335| 146| 154281| 31299| 797| 99| 35594| 1022| 254| 77888| 152| 377| 143| 0| 18| 7| 0| 349| 0| 0| 0| 0| 0| 0| 0| 0| 43| 7390| 17823| 43| 1374| 19131| 3489| 0| 0| 0| 133| 0| 3| 0| 0| 0| 0| 0| 0| 240| 0| 3895| 0| 4781| 7392| | 29621| 50| 317| 109| 29168| 4158| 113| 0| 4325| 63| 31| 20435| 29| 73| 20| 0| 2| 0| 0| 104| 0| 0| 0| 0| 0| 0| 0| 0| 9| 4057| 3413| 9| -34450| -430085| -78780| -2117| 0| 0| -1353| 0| -118| 0| 0| 0| -1| -221| 0| -5965| 0| -102333| 0| -135299| -238969| | -2931831| -874| -8000| -2577| -2920709| -611410| -11590| -1122| -675101| -19830| -4847| -1585807| -3694| -7610| -2842| 0| -85| -2234| 0| -1794| -22| 0| 0| 0| 0| -87| -1| 0| -434| -177695| -377231| -440| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| | exits| dcr| mmio| sig| light| itlb_v| itlb_r| isi| dtlb_v| dtlb_r| dsi| inst_emu| sysc| dec| ext_intr| instr_dcbi| instr_iccci| instr_lbz| instr_lbzu| instr_lbzx| instr_lhbrx| instr_lhz| instr_lhzu| instr_lhzux| instr_lhzx| instr_lwbrx| instr_lwz| instr_lwzu| instr_mfdcr| instr_mfmsr| instr_mfspr| instr_mtdcr| instr_mtmsr| instr_mtspr| instr_rfi| instr_stb| instr_stbu| instr_stbux| instr_stbx| instr_sth| instr_sthbrx| instr_sthu| instr_sthux| instr_sthx| instr_stw| instr_stwbrx| instr_stwu| instr_tlbsx| instr_tlbsync| instr_tlbwe| instr_trap| instr_wrtee| instr_wrteei| | 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| --------------000707050506010708040104 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone --------------000707050506010708040104 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel --------------000707050506010708040104--