From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Date: Tue, 15 Jul 2008 11:53:28 +0000 Subject: FYI - current trace results Message-Id: <487C8FB8.8050906@linux.vnet.ibm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: kvm-ppc@vger.kernel.org As part of the preparation to extend our code with paravirtual features=20 to speed up the guest execution I used the new kvmtrace code and took a=20 trace of a ubuntu_8.04 guest booting on a ubuntu_8.04 host. The full log is ~800M but I wanted to post the instruction emulation=20 summary for all interested parties. Based on that I want to compare the behavior later on when we use the PV=20 features. I think about tracing segments like "early boot", "init scripts" and=20 some basic workloads separate, but for now the full boot is all I have. @Hollis - I'll try contact you on IRC later today to discuss about PV=20 potential of SPRG0-SPRG3 (and maybe other SPR's) mnemonic + count ---------------+----------- mtspr | 1154660 mfspr | 1083036 wrteei | 347988 tlbwe | 296970 mfmsr | 253217 rfi | 210161 wrtee | 184312 mtmsr | 87671 tlbsx | 18837 lbz | 8497 lbzx | 4710 stb | 2144 mfdcr | 1696 stbx | 1550 mtdcr | 1282 sthbrx | 389 stwbrx | 224 iccci | 204 lwbrx | 84 lhbrx | 25 lwz | 1 stw | 1 sum =3D 3657659 mnemonic-spr + count ---------------+----------- mfspr-SPRG3 | 208616 mtspr-SPRG4 | 164330 mtspr-SPRG0 | 164330 mtspr-SPRG1 | 164330 mfspr-SPRG0 | 164330 mfspr-SPRG1 | 164330 mfspr-SRR1 | 123952 mtspr-SRR0 | 123814 mtspr-SRR1 | 123814 mtspr-MMUCR | 111975 mfspr-MMUCR | 111973 mfspr-SRR0 | 105592 mtspr-SPRG5 | 102354 mtspr-SPRG7 | 102354 mfspr-PID | 102199 mfspr-DEAR | 67266 mtspr-DEC | 61666 mfspr-ESR | 34774 mtspr-TSR | 30833 mtspr-SPRG3 | 2696 mtspr-PID | 2144 mfspr-PVR | 4 mtspr-IVOR8 | 1 mtspr-IVOR9 | 1 mtspr-IVOR2 | 1 mtspr-IVOR3 | 1 mtspr-IVOR0 | 1 mtspr-IVOR1 | 1 mtspr-IVOR6 | 1 mtspr-IVOR7 | 1 mtspr-IVOR4 | 1 mtspr-IVOR5 | 1 mtspr-IVOR14 | 1 mtspr-IVOR15 | 1 mtspr-IVOR10 | 1 mtspr-IVOR11 | 1 mtspr-IVOR12 | 1 mtspr-IVOR13 | 1 mtspr-TCR | 1 mtspr-IVPR | 1 mtspr-TBWL | 1 mtspr-TBWU | 1 sum =3D 2237696 mnemonic-dcr + count ---------------+----------- mtdcr-00C2 | 849 mfdcr-00C2 | 848 mfdcr-00C6 | 842 mtdcr-00C0 | 425 mtdcr-00C5 | 4 mtdcr-00C4 | 3 mfdcr-00C4 | 3 mfdcr-00C5 | 3 mtdcr-00C3 | 1 sum =3D 2978 mnemonic-tlb + count ---------------+----------- tlbwe-PAGEID | 133491 tlbwe-ATTRIB | 86348 tlbwe-XLAT | 77131 sum =3D 296970 --=20 Gr=FCsse / regards,=20 Christian Ehrhardt IBM Linux Technology Center, Open Virtualization