[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kvm-ppc
Subject:    FYI - current trace results
From:       Christian Ehrhardt <ehrhardt () linux ! vnet ! ibm ! com>
Date:       2008-07-15 11:53:28
Message-ID: 487C8FB8.8050906 () linux ! vnet ! ibm ! com
[Download RAW message or body]

As part of the preparation to extend our code with paravirtual features 
to speed up the guest execution I used the new kvmtrace code and took a 
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 
summary for all interested parties.
Based on that I want to compare the behavior later on when we use the PV 
features.

I think about tracing segments like "early boot", "init scripts" and 
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 
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 =    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 =    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 =       2978


  mnemonic-tlb +      count
---------------+-----------
  tlbwe-PAGEID |     133491
  tlbwe-ATTRIB |      86348
    tlbwe-XLAT |      77131
           sum =     296970

-- 

Grüsse / regards, 
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic