+ All Categories
Home > Documents > Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998...

Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998...

Date post: 15-Jan-2016
Category:
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
30
Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen
Transcript
Page 1: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Software Strategies for Portable Computer Energy Management

IEEE Personal Communications 1998Presented by Hsu Hao Chen

Page 2: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

OutlineIntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 3: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Introduction(1/2)Limiting the energy consumption of computers, especially portables, is becoming increasingly important.

Goalreduce energy consumption is to simply use components that consume less power.use components that can enter low-power modes by temporarily reducing their speed or functionalitydiscuss software techniques for taking advantages of low-power hardware

Page 4: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Introduction(2/2)Power-saving three categories of software strategies

transition issueload-change issueadaptation issue

Page 5: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 6: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Strategy TypesTransition strategies (prediction strategies)

determining when to switch to low-power modesknowledge about its mode characteristicsinformation about its future functionality requirements

Load-change strategieshow to modify the load on a component in order to increase its use of low-power modes

Adaptation strategieshow to create software that allows components to be used in power-saving ways

Page 7: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Levels of Energy Management

Application Level

User Level

OS Level

Component Level

Abstraction

Lack informationabout the overall

workload

Lack certain useful information about the state of the machine

Application-aware adaptation

Page 8: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Strategy Evaluation and Power Budget

Strategy Evaluation

Power Budgetmechanical motion and light generation seem inherently more power intensive than digital circuits.

Page 9: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 10: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Hardware FeaturesMost hard disks have five power modes:

active

idle

standby

sleep

off

r/w controlspin cache

r/w controlspin cache

r/w controlspin cache

r/w controlspin cache

r/w controlspin cache

Page 11: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Transition StrategiesDisks can be of three kinds:

deciding when to go to sleep modedeciding when to go to standby mode (no studies)deciding when to go to off mode

Common strategyuse inactivity thresholds as low as 1-10 seconds (Researchers discovered )enter sleep mode after a fixed inactivity threshold (3-5min)

Problemsmake the user wait more often for the disk to spin-upcause disk failure from frequent spin up/down cyclesIt is very difficult to predict accurate disk access pattern due to wide-varying of human activities

Page 12: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Changing Inactivity ThresholdFirst argument

assumption: disk access interarrival times are drawn from some unknown stationary distributionkeep track of all interarrival times in order to deduce the best threshold

Second argumentassumption: disk access interarrival time distribution is nonstationary (i.e. changing with time)adapt its threshold based on recent samples

Third argumentassumption: make no assumption about disk access patternchoose thresholds randomly

Page 13: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Load-change StrategiesCommon strategy

changing the configuration or usage of the disk cacheincrease the cache sizechanging the dirty block timeout period (0 to 30s)add file names and attributes caching

Prefetchingdisk cache is filled with data that will likely be needed in the future before it is spun down

Reduce paging activityreduce working set sizesimprove memory access locality

Page 14: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Adaptation Strategies(1/4)Flash memory

advantage:• nonvolatile and low power consumption• reading as fast as DRAM• no seek latency

disadvantage:• poorer write performance (10-100 times slow

er than hard disk)• data cannot be overwritten without erasing t

he entire segment containing it

Page 15: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Adaptation Strategies(2/4)Flash memory as disk cache

effective as a second-level cache• most writes would be flushes from first-

level and asynchronous

problem: • cannot be overwritten without erasing the

segment

sol:• ensure there is always a segment with

free space for writing

Page 16: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Adaptation Strategies(3/4)Flash memory as disk

No seek latencydisk cache is no longer important

• except to be used as a write buffer (asynchronous write)

problem: • cannot be overwritten without erasing the segment

sol:Log-structured file system

• new data does not overwrite old data but appended to a log

Page 17: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Adaptation Strategies(4/4)Wireless network as disk

no power consumption of the storage deviceproblem:

• increased power consumption of the wireless communication

• higher latency for file system accesses (wireless bandwidth)

Several modelstransmit data access requests to, and receive data from, a serverstorage device as a large cache for the server file systemperform all processing on a server

The limiting factor in all of these cases is network bandwidth

Page 18: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 19: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Hardware FeaturesSlow down the clock

without changing the voltage is not usefulenergy consumption is invariant with clock speed

Selectively shut off functional unitssuch as the floating-point unit

Shut down processor operation altogetherreturn to full power when the next interrupt occurs

2

2 /1

CVE

PtEftfCVP

Page 20: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Transition StrategiesWhen the processor can turn off

from the current status of all processes• when all processes are blocked

When it can change the processor speedslowing the clock is accompanied by reducing the voltage

problem:• make an appropriate trade-off between energy

reduction and performance

Adjust the processor speed graduallyinterval-based approach attempting to complete all processor work by the end of each interval

Page 21: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Load-change StrategiesWhen the processor can turn off

reduce the time tasks take (efficient OS)use lower-power instructions (energy aware compilers)reduce the number of unnecessary tasks

• when an application is idle, it will “busy-wait” for an event instead of blocking (period satisfies conditions)

When functional units can turn offcompiler that clusters together several uses of a pipelined functional unitcompiler that generates instructions using functional units that do not get power-managed

Page 22: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 23: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Hardware FeaturesFive operating modes:

transmitreceiveidle • no tx/rx • transceiver is still powered and ready to rx or txsleep• similar to idle but transceiver powered downoff

Change transmission powerPower consumption depends on the distance to the receiver

Page 24: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Transition StrategiesWhen to enter sleep mode

strategies similar to those for hard disks• inactivity threshold methods

wireless device does not have the large mechanical componentswireless device should periodically exit sleep mode to send signal to the server (alive)

Effects by changing transmission powerincreased battery lifetimelower bit error rate for neighborshigher bit error rate for one’s own transmissions

When to change powerlocal strategyglobal strategy

Page 25: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Load-change StrategiesWhen sleep mode is used

increase the amount of time it can spend sleepingreduce network usage altogether

• Ex: compress TCP/IP headers; stop transmission when channel is bad

Use MAC protocolsleep when it is certain that no data will arrive for iteach mobile unit only be awake during the broadcast of the traffic schedule

When it can change transmission powermitigate the side effects of increased bit error rate

Page 26: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 27: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Hardware FeaturesEnergy-saving features

Backlight• brightness level• turn it off

Display• switch from color to monochrome• reduce update frequency• turn it off

Page 28: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

Software StrategiesWhen to turn off

after a certain period of time has passed with no user inputmake it progressively dimmer

When to switch mode or reduce frequency

Current display mode are not visually important to the user

Page 29: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

IntroductionGeneral IssuesStrategies for Components

Secondary storageProcessorWireless communication devicesDisplay and backlight

Conclusions

Page 30: Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.

ConclusionsPower-saving three categories of software strategies

transitionload-changeAdaptation

trade-off between energy savings and performance

hardware features are rarely complete

not only reducing the power consumption, but also introducing lower-power, lower-functionality modes


Recommended