13.07.2015 Views

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

POWER OPTIMIZATION FOR MOBILE USAGES• Closing all open system resource h<strong>and</strong>les such as files <strong>and</strong> I/O devices (thisshould include duplicated h<strong>and</strong>les).• Disconnecting all communication links prior to the sleep transition <strong>and</strong> re-establishingall communication links upon waking up.• Synchronizing all remote activity, such as like writing back to remote files or toremote databases, upon waking up.• Stopping any ongoing user activity, such as streaming video, or a file download,prior to the sleep transition <strong>and</strong> resuming the user activity after the wake uptransition.Recommendation: Appropriately h<strong>and</strong>ling the suspend event enables more robust,better performing applications.10.4.5 Using Enhanced Intel SpeedStep ® TechnologyUse Enhanced Intel SpeedStep Technology to adjust the processor to operate at alower frequency <strong>and</strong> save energy. The basic idea is to divide computations intosmaller pieces <strong>and</strong> use OS power management policy to effect a transition to higherP-states.Typically, an OS uses a time constant on the order of 10s to 100s of milliseconds 6 todetect dem<strong>and</strong> on processor workload. For example, consider an application thatrequires only 50% of processor resources to reach a required quality of service(QOS). The scheduling of tasks occurs in such a way that the processor needs to stayin P0 state (highest frequency to deliver highest performance) for 0.5 seconds <strong>and</strong>may then goes to sleep for 0.5 seconds. The dem<strong>and</strong> pattern then alternates.Thus the processor dem<strong>and</strong> switches between 0 <strong>and</strong> 100% every 0.5 seconds,resulting in an average of 50% of processor resources. As a result, the frequencyswitches accordingly between the highest <strong>and</strong> lowest frequency. The powerconsumption also switches in the same manner, resulting in an average power usagerepresented by the equation Paverage = (Pmax+Pmin)/2.Figure 10-4 illustrates the chronological profiles of coarse-grain (> 300 ms) taskscheduling <strong>and</strong> its effect on operating frequency <strong>and</strong> power consumption.6. The actual number may vary by OS <strong>and</strong> by OS release.10-8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!