SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
The On-going Evolutions of Power Management in Xen

                                               Kevin Tian
                      Open Source Technology Center (OTC)
                                         Intel Cooperation
Agenda
• Brief history
• Evolutions of Idle power management
• Evolutions of run-time power management
• Tools
• Experimental data about Xen power efficiency
• Power impact from VM




                         Intel Confidential
                                                 2
Brief History

                                                                           Enhanced green computing
                                                                              Improved stability
                                   Jan. 2008                Jun. 2008
                                                                                Better usability
          Jul. 2007                 Xen 3.2               Mature deep C-
                                                                                       …
                                   released               states support
          Host S3




Xen 3.1               Sep. 2007            May. 2007           Aug. 2008
                         Dom0             Preliminary            Xen 3.3
                      controlled          cpufreq and           released
                       freq/vol         cpuidle support
                        scaling             in Xen




                               Intel Confidential
                                                                                                      3
Evolutions of Idle power management
           (Xen cpuidle)




          Intel Confidential
                                      4
Xen Summit Boston 2008
                 Dom0



     ACPI Parser

      External
      Control




                                                                      Schedulers

Registration                                                               Enter Idle


               Hypercall                 Ladder                                     Halt (C1)

                                CpuIdle driver                                     Dynamic
                                                                                                Timekeeping
                                                                                     Tick
                           C1    C2
               Mwait/IO




                                                        Xen


                                                 Intel Confidential
                                                                                                              5
Enhanced C-states support
                 Dom0                                                                                                       noPM x ps p1 hv m
                                                                                                                            noC3 x ps p1 hv m
                                                                                    120%
                                                                                                                            C3 x ps p1 hv m
                                                                                             100%              100%
                                                                                    100%

     ACPI Parser                                                                     80%                         102.60%




                                                                       Percentage
      External                                                                                   91.40%
                                                                                     60%
                                                                                                                       107.70%
      Control
                                                                                                      82.30%
                                                                                     40%

                                                                                     20%
                                                                       Schedulers
                                                                                      0%
                                                                                           id le (W att)   SPEC p o w e r
Registration                                                                          Enter Idle             (Sco r e )



               Hypercall                  Ladder                                                Halt (C1)
                                                                                    ‘noPM’ has both cpuidle and cpufreq
                                 CpuIdle driver                                     disabled, and vice versa for other two
                                                                                            Dynamic
                                                                                                       Timekeeping
                                                                                              Tick
                                                                                    cases. Compared to ‘C3’, noC3 has
                           C1     C2
               Mwait/IO                     Deep C-states
                                                                                    maximum C-state limited to C2
                                                                                                           Timer
                           C1E                                                                            Xentrace
                                                                                    For idle watt, lower value means
                                                                                    greener. For SPECpower score, higher
                                                                                    value indicates more power efficient



                                                         Xen


                                                  Intel Confidential
                                                                                                                                                6
TSC freeze
                          TSC freeze
                                            Ideal TSC
                                                              Unsynchronized TSC                          Time went backwards warning
               Dom0
 CPU0
                                       Actual TSC
                                                                                                                   Lots of lost ticks
                                                              Fluctuating TSC scale
                                                                      factor
    ACPI    Parser
 CPU1                                                                                                                 Faster ToD
                                                             Xen system time skew
        External
        Control                                     0                 1 sec         1 sec                    Scale error
                                                          …
                             Platform counter
                                                          …
                                            TSC                                                                Restore TSC upon elapsed platform
                                                                                                                   counter since current entry
                                                                                  Schedulers
                                                                    Percpu platform to TSC scale
                                                          …
                                            TSC
Registration                                                                             Enter Idle            Restore TSC upon elapsed platform
         Software compensation                                                                                    counter since last calibration
          according to elapsed                                   Percpu platform to TSC scale
                                                          …
        counter of platform timer           TSCLadder
             Hypercall                                                                              Halt (C1)
                                                          …                                                    Restore TSC upon elapsed platform
                                                                                                                     counter since power on
                                 CpuIdle driver          Global platform to TSC scale              Dynamic
                                                                                                                 Timekeeping
                                                          …                                          Tick
                                            TSC
                            C1    C2
               Mwait/IO                             Deep C-states
                                                                                                                      Timer
                           C1E                                  TSC
                                                                                                                    Xentrace
                                                            save/restore

                                                                                                   Hardware enhancement to have TSC
                                                              Always                               never stopped (e.g. by Intel Core-i7)
                                                            running TSC
                                                                              Platform counter
                                                                                            TSC

                                                                Xen


                                                        Intel Confidential
                                                                                                                                                   7
APIC timer freeze
                 Dom0                                               Timer heap
                                                                                                Nearest deadline         Reprogram local APIC
                                                                           T                                               count-down timer
                                                                   T                T
                                                                                                                       APIC timer
     ACPI Parser                                               T       T        T       T                                freeze     interrupt when
                                                                           …                                                        count down to
                                                                                                                                          zero
      External                                                                 Scan/execute
      Control                                                                  expired timers                                         (Delayed)


                                                                   Timer softirq handler                                     Local APIC ISR

                                                                                 Schedulers

Registration                                                                                Enter Idle
                                                                                     Solution
                                                                  use platform timer Halt (C1)
                                                                                     (PIT/HPET) to carry nearest
               Hypercall                   Ladder
                                                               deadline, when APIC timer is halted in deep C-
                                                               states:
                                 CpuIdle driver                                    Dynamic
                                                                                                                   Timekeeping
                                                                                                     Tick
                           C1     C2
               Mwait/IO                      Deep C-states                 is required since number of platform
                                                                 Broadcast
                                                                                                Timer
                                                               timer source is less than number of CPUs
                           C1E          PIT/HPET           TSC
                                                                                                                    Xentrace
                                        broadcast      save/restore
                                                                                      will come soon to have more
                                                                  MSI based HPET interrupt

                                                               platform timer sources with reduced broadcast traffic
                                                          Always
                                                        running TSC

                                                                                                       will be supported in new CPU
                                                                   Always running APIC timer

                                                               soon
                                                           Xen


                                                    Intel Confidential
                                                                                                                                                     8
Menu governor
                                                                                               Ladder
                 Dom0
                                                                         Expected minimal residency at Cn
                                                                         Expected minimal residency at Cn+1

                                                              C0

     ACPI Parser
                                                              Cn

      External
      Control                                                 Cn+1
                                                                                                                                  Inefficient

                                                                         Promotion if continuous N Cn
                                                                             Schedulers
                                                                           residencies > expectation             Demotion if current Cn+1
                                                                                                                  residency < expectation
Registration                                                                       Enter Idle
                                                                             less idle watt consumed (-5.2%)
                                                                             Higher SPECpower score (+1.6%)
               Hypercall                   Ladder
                                            Menu                                     (HVM WinWPsp1)

                                 CpuIdle driver
                                                                         Menu          Halt (C1)
                           C1     C2
               Mwait/IO                      Deep C-states                                              Nearest timer deadline
                                                                      C1, 1ns, 20w
                                                                                     Dynamic
                                                                                        PICK
                                                                                                    Timekeeping
                                                                                                  Last unexpected break event
                                                                                       Tick
                           C1E                                      C2, 10ns, 15w
                                        PIT/HPET           TSC
                                        broadcast      save/restore
                                                                                                        Timer
                                                                    C3, 100ns, 5w                  Latency/power requirement
                                                                           …
                                                          Always
                                                                                                         Xentrace
                                                        running TSC
                                                                                      To be further tuned!

                                                           Xen


                                                    Intel Confidential
                                                                                                                                                9
Range timer
                  Dom0
          0(ms)   1   2     3          4      5        6

                                                                                 For each timer, it accepts a
                                                                                  range for expiration now:
     C0
     ACPI Parser
                                                                                  [expiration, expiration +
     Cn
                                                             Frequent C-state
      External
                                                                                         timer_slop]
      Control                                                 Entry/exit may    (default 50us for timer_slop)
                                                             Instead consume
          0(ms)   1   2     3          4      5        6
                                                                More power       Overlapping ranges can be
                                                                                  merged to reduce timer
                                              Schedulers
                                                                                      interrupt count
     C0
Registration                                           Enter Idle
     Cn

               Hypercall                      Ladder
                                               Menu                              Halt (C1)

                                 CpuIdle driver                                 Dynamic
                                                                                             Timekeeping
                                                                                  Tick
                           C1     C2
               Mwait/IO                           Deep C-states                 Range
                                                                                                Timer
                                                                                timer

                           C1E             PIT/HPET            TSC
                                                                                              Xentrace
                                           broadcast       save/restore


                                                             Always
                                                           running TSC




                                                              Xen


                                                       Intel Confidential
                                                                                                                10
Range timer effect

       One UP HVM RHEL5u1                                                           Multiple idle UP HVM RHEL5u1


                                                                            10000
                                                                                     range=50us
                                                                             9000
                                                                                     range=1ms




                                                   timer interrupt/second
                                                                             8000
                                                                             7000
                                                                             6000
         -7.5%           +1.2%
                                                                             5000
                                                                             4000
                                                                             3000
                                                                             2000
                                                                             1000
        Idle(watt)   SPECpower(score)
                                                                                0
           100%            100%
50us
                                                                                       1HVM          2HVM          4HVM
          92.50%         101.20%
1ms




                                   Collected on a two-cores mobile platform




                                        Intel Confidential
                                                                                                                          11
Current picture
                 Dom0
                            Xenpm



     ACPI Parser

      External
      Control



                                                             Power
                                                                         Schedulers
                                                             Aware

Registration                                                                  Enter Idle


               Hypercall   Statistics      Ladder
                                            Menu                                       Halt (C1)

                                 CpuIdle driver                                       Dynamic
                                                                                                   Timekeeping
                                                                                        Tick
                           C1     C2
               Mwait/IO                      Deep C-states                            Range
                                                                                                      Timer
                                                                                      timer

                           C1E          PIT/HPET           TSC
                                                                                                    Xentrace
                                        broadcast      save/restore


                                                          Always
                                                        running TSC




                                                           Xen


                                                    Intel Confidential
                                                                                                                 12
Evolutions of run-time power management
             (Xen cpufreq)




             Intel Confidential
                                          13
Xen Summit Boston 2008
                    Dom0
            Linux
             PM
            Tools




    On       User
                     Others
  Demand    Space


        Cpufreq core

             Power    ACPI
   Others                          ACPI Parser
            Now-K8   cpufreq

        Linux Cpufreq                External
                                     Control
Query
Idle
State
                                Registration
   Schedulers
                                         On
                                       Demand


                                                Tiny cpufreq core
                Enable
                 MSR                   ACPI
                                      Cpufreq
                Access
                                      (IA32)
                 Perm

                                                       Xen


                                                Intel Confidential
                                                                     14
Current picture
                    Dom0
            Linux
             PM                       Xenpm
                     ?
            Tools




    On       User
                         Others
  Demand    Space


        Cpufreq core

             Power    ACPI
   Others                            ACPI Parser
            Now-K8   cpufreq

        Linux Cpufreq                  External
                                       Control
Query
Idle
                                                                         More
State
                                                                       governors
                                  Registration
   Schedulers                                                                         Turbo mode
                                           On           User      Perfor      Power
                                                                                                    Enhanced
                                         Demand        Space      mance        Save
                                                                                        Control
                                                                                                      User
                                                  Tiny cpufreq core                                 Interface
                                                                                       Statistics
                Enable
                                                                                      Cpu offline
                 MSR                     ACPI                ACPI             Power
                                                                                       / online
                                        Cpufreq             Cpufreq            Now
                Access
                                        (IA32)              (IA64)              K8
                 Perm
                                                                         More
                                                         Xen            drivers


                                                  Intel Confidential
                                                                                                                15
Tools




Intel Confidential
                     16
Dom0
                                         Retrieve run-time
                       Xenpm
                                         statistics about Xen
                                         cpuidle and cpufreq


                                         Apply user policy on
                                         exposed control
                                         knobs of Xen cpufreq
                                         (governor, set freq,
                                         etc)

                                         More capabilities to
                                         be added later, e.g.
                                         profile…




Log every state change for Xen cpuidle and cpufreq:

                                                                      Xentrace
CPU0 391365842416 (+ 21204) cpu_idle_entry [ idle to state 2 ]
CPU0 391375951050 (+10108634) cpu_idle_exit [ return from state 2 ]


Raw data could be further processed by other scripts


                                                    Xen


                                             Intel Confidential
                                                                                 17
Experimental data about Xen power efficiency




               Intel Confidential
                                               18
•   All data shown in this section:
     –                                 For reference only and not guaranteed
     –                                 On a two-core mobile platform, with one HVM guest created
                                              •   Server consolidation effect with multiple VMs/workloads are in progress

•   Improvement when Xen cpuidle and cpufreq are enabled
     –                                 SPECpower score is normalized (100% noPM score is 1000 ssj_ops / watt)
     –                                 Similarly, consumed watt is also normalized (idle noPM watt is 10w)
                                       1500




                                                                                                                                                 25
                                                      noPM-score
                                                      PM-score
     normalized score (ssj_ops/watt)




                                                      noPM-watt
                                                      PM-watt                                                                                    20




                                                                                                                                                      Normalized power (watt)
                                                             Reduced
                                       1000




                                                              Power!                                                                             15



                                                                                                                                                 10
                                       500




                                                                                                       Improved
                                                                                                       Efficiency
                                                                                                                                                 5



                                                                                                                                                 0
                                       0




                                                  0         10        20         30        40         50        60          70   80   90   100
                                                                                      SPECpower workload (%)




                                                                                      Intel Confidential
                                                                                                                                                                                19
• Below is a more attracting comparison
   – Native WinXPsp1’s idle watt and SPECpower score are both normalized to 100% as the base
                                                                                                              native xpsp1
                                140%                                                                          native rhel5u1
                                                                                   HZ=1000 in
                                                                                                              xen xpsp1 hvm
                                                                               RHEL5u1 incurs high
                                                                                 timer interrupt              kvm xpsp1 hvm
                                130%
                                                                                                              xen rhel5u1 hvm
                                                                                                              kvm rhel5u1 hvm
                                120%
    Normalized percentage (%)




                                110%

                                100%
                                                                                                       Xen is slightly
                                                                                                         more power
                                90%
                                                                                                     efficient than KVM
                                                 Similar Idle power
                                80%              consumption for
                                                 Xen and KVM
                                70%

                                60%
                                       Native                                        Native
                                50%
                                                idle (Watt)                          SPECpow er (ssj_ops/w att)




                                                          Intel Confidential
                                                                                                                                20
Power impact from VM




   Intel Confidential
                        21
• VMM shouldn’t be blamed as only reason for high power consumption!
• A ‘bad’ VM could eat power
   – Just like what ‘bad’ application could do in a native OS
   – Cause high break events (e.g. timer interrupts) with short C-state residency
• Which parts in VM could draw high power?
  – ‘Bad’ applications hurt just as what they could on native
  – How guest OS is implemented also matters
          •   Periodic tick frequency – HZ
          •   Timer usage in drivers
          •   Time sub-system implementation
          •   …

• Green guest OS wins!
   – Smaller HZ, idle tickles or fully dynamic tick, range timer, etc.



                                     Intel Confidential
                                                                                    22
Idle power consumption

                  120.00%                                                                                4


                  115.00%                                                                                3.5
                                                                  ‘Bad’
                                                                  guest
                  110.00%                                                                                3




                                                                                                               Average residency (ms)
Normalized watt




                  105.00%                                                                                2.5


                  100.00%                                                                                2

                   95.00%                                                                                1.5

                                         Green                                                Green
                   90.00%                                                                                1

                   85.00%                                                                                0.5


                   80.00%                                                                                0
                            bare Dom0     PV     HVM Winxp    HZ=1000     HZ=250     HZ=100   tickless
                                                         Idle power consumption
                                                         Average C-state residency




                                                 Intel Confidential
                                                                                                                                        23
Power efficiency

                                    1020

                                    1000
Normalized score (ssj_ops / watt)




                                     980

                                     960
                                     940

                                     920

                                     900

                                     880

                                     860

                                     840
                                     820

                                     800
                                           bare Dom0   PV          HVM Winxp        HZ=1000   HZ=100   tickless
                                                                          SPECpower score



                                                              Intel Confidential
                                                                                                                  24
Legal Information

• INFORMATION IN THIS DOCUMENT IS PROVIDED IN
  CONNECTION WITH INTEL® PRODUCTS. EXCEPT AS
  PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR
  SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER,
  AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY
  RELATING TO SALE AND/OR USE OF INTEL PRODUCTS,
  INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS
  FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR
  INFRINGEMENT OF ANY PATENT, COPYRIGHT, OR OTHER
  INTELLECTUAL PROPERTY RIGHT.
• Intel may make changes to specifications, product descriptions, and
  plans at any time, without notice.
• All dates provided are subject to change without notice.
• Intel is a trademark of Intel Corporation in the U.S. and other countries.
• *Other names and brands may be claimed as the property of others.
• Copyright © 2007, Intel Corporation. All rights are protected.

                           Intel Confidential
                                                                               25
Intel Confidential
                     26

Contenu connexe

Similaire à XS Oracle 2009 CVF

C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301guest77988fe
 
Cloud auto-scaling with deadline and budget constraints
Cloud auto-scaling with deadline and budget constraintsCloud auto-scaling with deadline and budget constraints
Cloud auto-scaling with deadline and budget constraintsmingtemp
 
Sncch110 datasheet bullet
Sncch110 datasheet bulletSncch110 datasheet bullet
Sncch110 datasheet bulletmayur_32
 
09 10 vss controllers
09 10 vss controllers09 10 vss controllers
09 10 vss controllersGpsLazio
 
Virtual Network Performance Challenge
Virtual Network Performance ChallengeVirtual Network Performance Challenge
Virtual Network Performance ChallengeStephen Hemminger
 
SPICE MODEL of 2SC6078 in SPICE PARK
SPICE MODEL of 2SC6078 in SPICE PARKSPICE MODEL of 2SC6078 in SPICE PARK
SPICE MODEL of 2SC6078 in SPICE PARKTsuyoshi Horigome
 
Design Verification at D2Audio
Design Verification at D2AudioDesign Verification at D2Audio
Design Verification at D2AudioDVClub
 
Mehta mayur d2_audio_dv_club_verification_flow
Mehta mayur d2_audio_dv_club_verification_flowMehta mayur d2_audio_dv_club_verification_flow
Mehta mayur d2_audio_dv_club_verification_flowObsidian Software
 
D2 audio dv_club_verification_flow
D2 audio dv_club_verification_flowD2 audio dv_club_verification_flow
D2 audio dv_club_verification_flowObsidian Software
 
Programming And Controlling Puma Arms
Programming And Controlling Puma ArmsProgramming And Controlling Puma Arms
Programming And Controlling Puma Arms블로그코디
 
Verification Of 1 M+ Transistors Mixed Signal Ic Presentation
Verification Of 1 M+ Transistors Mixed Signal Ic   PresentationVerification Of 1 M+ Transistors Mixed Signal Ic   Presentation
Verification Of 1 M+ Transistors Mixed Signal Ic PresentationRégis SANTONJA
 
Thermal Control Overview
Thermal Control OverviewThermal Control Overview
Thermal Control Overviewmultitherman
 

Similaire à XS Oracle 2009 CVF (20)

Ssc g203
Ssc g203Ssc g203
Ssc g203
 
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
 
Ssc g213
Ssc g213Ssc g213
Ssc g213
 
Ssc g103
Ssc g103Ssc g103
Ssc g103
 
Cloud auto-scaling with deadline and budget constraints
Cloud auto-scaling with deadline and budget constraintsCloud auto-scaling with deadline and budget constraints
Cloud auto-scaling with deadline and budget constraints
 
Sncch110 datasheet bullet
Sncch110 datasheet bulletSncch110 datasheet bullet
Sncch110 datasheet bullet
 
09 10 vss controllers
09 10 vss controllers09 10 vss controllers
09 10 vss controllers
 
Virtual Network Performance Challenge
Virtual Network Performance ChallengeVirtual Network Performance Challenge
Virtual Network Performance Challenge
 
SPICE MODEL of 2SC6078 in SPICE PARK
SPICE MODEL of 2SC6078 in SPICE PARKSPICE MODEL of 2SC6078 in SPICE PARK
SPICE MODEL of 2SC6078 in SPICE PARK
 
Sncdh210 sip2091 fprelim
Sncdh210 sip2091 fprelimSncdh210 sip2091 fprelim
Sncdh210 sip2091 fprelim
 
Sncdh210 sip2091 fprelim_2
Sncdh210 sip2091 fprelim_2Sncdh210 sip2091 fprelim_2
Sncdh210 sip2091 fprelim_2
 
Sncch110 sip2093 f
Sncch110 sip2093 fSncch110 sip2093 f
Sncch110 sip2093 f
 
Sncch110 sip2093 f
Sncch110 sip2093 fSncch110 sip2093 f
Sncch110 sip2093 f
 
Sncch110 sip2093 f
Sncch110 sip2093 fSncch110 sip2093 f
Sncch110 sip2093 f
 
Design Verification at D2Audio
Design Verification at D2AudioDesign Verification at D2Audio
Design Verification at D2Audio
 
Mehta mayur d2_audio_dv_club_verification_flow
Mehta mayur d2_audio_dv_club_verification_flowMehta mayur d2_audio_dv_club_verification_flow
Mehta mayur d2_audio_dv_club_verification_flow
 
D2 audio dv_club_verification_flow
D2 audio dv_club_verification_flowD2 audio dv_club_verification_flow
D2 audio dv_club_verification_flow
 
Programming And Controlling Puma Arms
Programming And Controlling Puma ArmsProgramming And Controlling Puma Arms
Programming And Controlling Puma Arms
 
Verification Of 1 M+ Transistors Mixed Signal Ic Presentation
Verification Of 1 M+ Transistors Mixed Signal Ic   PresentationVerification Of 1 M+ Transistors Mixed Signal Ic   Presentation
Verification Of 1 M+ Transistors Mixed Signal Ic Presentation
 
Thermal Control Overview
Thermal Control OverviewThermal Control Overview
Thermal Control Overview
 

Plus de The Linux Foundation

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleThe Linux Foundation
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...The Linux Foundation
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...The Linux Foundation
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...The Linux Foundation
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather ReportThe Linux Foundation
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...The Linux Foundation
 
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxThe Linux Foundation
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...The Linux Foundation
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderThe Linux Foundation
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...The Linux Foundation
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...The Linux Foundation
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixThe Linux Foundation
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdThe Linux Foundation
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...The Linux Foundation
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DThe Linux Foundation
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsThe Linux Foundation
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...The Linux Foundation
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...The Linux Foundation
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...The Linux Foundation
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEThe Linux Foundation
 

Plus de The Linux Foundation (20)

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made Simple
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather Report
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
 
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
 

Dernier

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Dernier (20)

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

XS Oracle 2009 CVF

  • 1. The On-going Evolutions of Power Management in Xen Kevin Tian Open Source Technology Center (OTC) Intel Cooperation
  • 2. Agenda • Brief history • Evolutions of Idle power management • Evolutions of run-time power management • Tools • Experimental data about Xen power efficiency • Power impact from VM Intel Confidential 2
  • 3. Brief History Enhanced green computing Improved stability Jan. 2008 Jun. 2008 Better usability Jul. 2007 Xen 3.2 Mature deep C- … released states support Host S3 Xen 3.1 Sep. 2007 May. 2007 Aug. 2008 Dom0 Preliminary Xen 3.3 controlled cpufreq and released freq/vol cpuidle support scaling in Xen Intel Confidential 3
  • 4. Evolutions of Idle power management (Xen cpuidle) Intel Confidential 4
  • 5. Xen Summit Boston 2008 Dom0 ACPI Parser External Control Schedulers Registration Enter Idle Hypercall Ladder Halt (C1) CpuIdle driver Dynamic Timekeeping Tick C1 C2 Mwait/IO Xen Intel Confidential 5
  • 6. Enhanced C-states support Dom0 noPM x ps p1 hv m noC3 x ps p1 hv m 120% C3 x ps p1 hv m 100% 100% 100% ACPI Parser 80% 102.60% Percentage External 91.40% 60% 107.70% Control 82.30% 40% 20% Schedulers 0% id le (W att) SPEC p o w e r Registration Enter Idle (Sco r e ) Hypercall Ladder Halt (C1) ‘noPM’ has both cpuidle and cpufreq CpuIdle driver disabled, and vice versa for other two Dynamic Timekeeping Tick cases. Compared to ‘C3’, noC3 has C1 C2 Mwait/IO Deep C-states maximum C-state limited to C2 Timer C1E Xentrace For idle watt, lower value means greener. For SPECpower score, higher value indicates more power efficient Xen Intel Confidential 6
  • 7. TSC freeze TSC freeze Ideal TSC Unsynchronized TSC Time went backwards warning Dom0 CPU0 Actual TSC Lots of lost ticks Fluctuating TSC scale factor ACPI Parser CPU1 Faster ToD Xen system time skew External Control 0 1 sec 1 sec Scale error … Platform counter … TSC Restore TSC upon elapsed platform counter since current entry Schedulers Percpu platform to TSC scale … TSC Registration Enter Idle Restore TSC upon elapsed platform Software compensation counter since last calibration according to elapsed Percpu platform to TSC scale … counter of platform timer TSCLadder Hypercall Halt (C1) … Restore TSC upon elapsed platform counter since power on CpuIdle driver Global platform to TSC scale Dynamic Timekeeping … Tick TSC C1 C2 Mwait/IO Deep C-states Timer C1E TSC Xentrace save/restore Hardware enhancement to have TSC Always never stopped (e.g. by Intel Core-i7) running TSC Platform counter TSC Xen Intel Confidential 7
  • 8. APIC timer freeze Dom0 Timer heap Nearest deadline Reprogram local APIC T count-down timer T T APIC timer ACPI Parser T T T T freeze interrupt when … count down to zero External Scan/execute Control expired timers (Delayed) Timer softirq handler Local APIC ISR Schedulers Registration Enter Idle Solution use platform timer Halt (C1) (PIT/HPET) to carry nearest Hypercall Ladder deadline, when APIC timer is halted in deep C- states: CpuIdle driver Dynamic Timekeeping Tick C1 C2 Mwait/IO Deep C-states is required since number of platform Broadcast Timer timer source is less than number of CPUs C1E PIT/HPET TSC Xentrace broadcast save/restore will come soon to have more MSI based HPET interrupt platform timer sources with reduced broadcast traffic Always running TSC will be supported in new CPU Always running APIC timer soon Xen Intel Confidential 8
  • 9. Menu governor Ladder Dom0 Expected minimal residency at Cn Expected minimal residency at Cn+1 C0 ACPI Parser Cn External Control Cn+1 Inefficient Promotion if continuous N Cn Schedulers residencies > expectation Demotion if current Cn+1 residency < expectation Registration Enter Idle less idle watt consumed (-5.2%) Higher SPECpower score (+1.6%) Hypercall Ladder Menu (HVM WinWPsp1) CpuIdle driver Menu Halt (C1) C1 C2 Mwait/IO Deep C-states Nearest timer deadline C1, 1ns, 20w Dynamic PICK Timekeeping Last unexpected break event Tick C1E C2, 10ns, 15w PIT/HPET TSC broadcast save/restore Timer C3, 100ns, 5w Latency/power requirement … Always Xentrace running TSC To be further tuned! Xen Intel Confidential 9
  • 10. Range timer Dom0 0(ms) 1 2 3 4 5 6 For each timer, it accepts a range for expiration now: C0 ACPI Parser [expiration, expiration + Cn Frequent C-state External timer_slop] Control Entry/exit may (default 50us for timer_slop) Instead consume 0(ms) 1 2 3 4 5 6 More power Overlapping ranges can be merged to reduce timer Schedulers interrupt count C0 Registration Enter Idle Cn Hypercall Ladder Menu Halt (C1) CpuIdle driver Dynamic Timekeeping Tick C1 C2 Mwait/IO Deep C-states Range Timer timer C1E PIT/HPET TSC Xentrace broadcast save/restore Always running TSC Xen Intel Confidential 10
  • 11. Range timer effect One UP HVM RHEL5u1 Multiple idle UP HVM RHEL5u1 10000 range=50us 9000 range=1ms timer interrupt/second 8000 7000 6000 -7.5% +1.2% 5000 4000 3000 2000 1000 Idle(watt) SPECpower(score) 0 100% 100% 50us 1HVM 2HVM 4HVM 92.50% 101.20% 1ms Collected on a two-cores mobile platform Intel Confidential 11
  • 12. Current picture Dom0 Xenpm ACPI Parser External Control Power Schedulers Aware Registration Enter Idle Hypercall Statistics Ladder Menu Halt (C1) CpuIdle driver Dynamic Timekeeping Tick C1 C2 Mwait/IO Deep C-states Range Timer timer C1E PIT/HPET TSC Xentrace broadcast save/restore Always running TSC Xen Intel Confidential 12
  • 13. Evolutions of run-time power management (Xen cpufreq) Intel Confidential 13
  • 14. Xen Summit Boston 2008 Dom0 Linux PM Tools On User Others Demand Space Cpufreq core Power ACPI Others ACPI Parser Now-K8 cpufreq Linux Cpufreq External Control Query Idle State Registration Schedulers On Demand Tiny cpufreq core Enable MSR ACPI Cpufreq Access (IA32) Perm Xen Intel Confidential 14
  • 15. Current picture Dom0 Linux PM Xenpm ? Tools On User Others Demand Space Cpufreq core Power ACPI Others ACPI Parser Now-K8 cpufreq Linux Cpufreq External Control Query Idle More State governors Registration Schedulers Turbo mode On User Perfor Power Enhanced Demand Space mance Save Control User Tiny cpufreq core Interface Statistics Enable Cpu offline MSR ACPI ACPI Power / online Cpufreq Cpufreq Now Access (IA32) (IA64) K8 Perm More Xen drivers Intel Confidential 15
  • 17. Dom0 Retrieve run-time Xenpm statistics about Xen cpuidle and cpufreq Apply user policy on exposed control knobs of Xen cpufreq (governor, set freq, etc) More capabilities to be added later, e.g. profile… Log every state change for Xen cpuidle and cpufreq: Xentrace CPU0 391365842416 (+ 21204) cpu_idle_entry [ idle to state 2 ] CPU0 391375951050 (+10108634) cpu_idle_exit [ return from state 2 ] Raw data could be further processed by other scripts Xen Intel Confidential 17
  • 18. Experimental data about Xen power efficiency Intel Confidential 18
  • 19. All data shown in this section: – For reference only and not guaranteed – On a two-core mobile platform, with one HVM guest created • Server consolidation effect with multiple VMs/workloads are in progress • Improvement when Xen cpuidle and cpufreq are enabled – SPECpower score is normalized (100% noPM score is 1000 ssj_ops / watt) – Similarly, consumed watt is also normalized (idle noPM watt is 10w) 1500 25 noPM-score PM-score normalized score (ssj_ops/watt) noPM-watt PM-watt 20 Normalized power (watt) Reduced 1000 Power! 15 10 500 Improved Efficiency 5 0 0 0 10 20 30 40 50 60 70 80 90 100 SPECpower workload (%) Intel Confidential 19
  • 20. • Below is a more attracting comparison – Native WinXPsp1’s idle watt and SPECpower score are both normalized to 100% as the base native xpsp1 140% native rhel5u1 HZ=1000 in xen xpsp1 hvm RHEL5u1 incurs high timer interrupt kvm xpsp1 hvm 130% xen rhel5u1 hvm kvm rhel5u1 hvm 120% Normalized percentage (%) 110% 100% Xen is slightly more power 90% efficient than KVM Similar Idle power 80% consumption for Xen and KVM 70% 60% Native Native 50% idle (Watt) SPECpow er (ssj_ops/w att) Intel Confidential 20
  • 21. Power impact from VM Intel Confidential 21
  • 22. • VMM shouldn’t be blamed as only reason for high power consumption! • A ‘bad’ VM could eat power – Just like what ‘bad’ application could do in a native OS – Cause high break events (e.g. timer interrupts) with short C-state residency • Which parts in VM could draw high power? – ‘Bad’ applications hurt just as what they could on native – How guest OS is implemented also matters • Periodic tick frequency – HZ • Timer usage in drivers • Time sub-system implementation • … • Green guest OS wins! – Smaller HZ, idle tickles or fully dynamic tick, range timer, etc. Intel Confidential 22
  • 23. Idle power consumption 120.00% 4 115.00% 3.5 ‘Bad’ guest 110.00% 3 Average residency (ms) Normalized watt 105.00% 2.5 100.00% 2 95.00% 1.5 Green Green 90.00% 1 85.00% 0.5 80.00% 0 bare Dom0 PV HVM Winxp HZ=1000 HZ=250 HZ=100 tickless Idle power consumption Average C-state residency Intel Confidential 23
  • 24. Power efficiency 1020 1000 Normalized score (ssj_ops / watt) 980 960 940 920 900 880 860 840 820 800 bare Dom0 PV HVM Winxp HZ=1000 HZ=100 tickless SPECpower score Intel Confidential 24
  • 25. Legal Information • INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT. • Intel may make changes to specifications, product descriptions, and plans at any time, without notice. • All dates provided are subject to change without notice. • Intel is a trademark of Intel Corporation in the U.S. and other countries. • *Other names and brands may be claimed as the property of others. • Copyright © 2007, Intel Corporation. All rights are protected. Intel Confidential 25