Title: PADS Power Aware Distributed Systems Middleware Techniques and Tools
1PADSPower Aware Distributed SystemsMiddleware
Techniques and Tools
- USC Information Sciences InstituteBrian Schott,
Bob Parker - UCLAMani Srivastava
- Rockwell Science CenterCharles Chien
2PADS Project
- Q How can you extend the dynamic power range of
sensor networks from quiescent months of
monitoring to frenetic minutes of activity? - Architectural Approaches
- Power Aware Research Platform Testbed
- Deployable Power Aware Sensor Platform
- Middleware, Tools, and Techniques
- Power Aware Resource Scheduling in RTOS
- Techniques for Network-Wide Power Management
- Power Aware Algorithms
- Multi-Resolution Distributed Algorithms
UCLA
3Introduction to UCLA PADS Team
- PI
- Mani Srivastava
- Other faculty
- Rajesh Gupta
- Students
- Sung Park, Pavan Kumar, Paleologos Spanos, Vijay
Raghunathan, Cristiano Ligieri, and Ravindra
Jejurikar
4Research Agenda
- Broad goals
- Middleware techniques for JIT power through
coordinated scheduling and power management of
computing and communication resources locally at
a sensor node (RTOS) as well as globally in a
sensor network (protocols) - Tools for evaluating and designing the power
management techniques - Target 10-30x gain in power efficiency
- Specific subtasks
- Power management within a sensor node
- Power-aware RTOS scheduling under timing
constraints - Resource management with energy-speed and
energy-accuracy control knobs - Tools for RTOS power management evaluation, and
power-aware kernel synthesis - Network-wide power management
- Network resource allocation for global power
management - Power-aware network protocols
- Hybrid sensor network simulation framework for
power vs. quality evaluation of network level
power management techniques and protocols - Power management with multimedia sensor data
- Power characterization, extension of PADS
techniques to streaming multimedia - Integration with sensor nodes (Rockwell nodes,
research platform)
5Accomplishments Since Last Review
- Power measurement, analysis, and modeling
- Power models for SensorSim
- Power analysis of various nodes in the lab
- Power management of sensor node processor via
RTOS - Adaptive power-fidelity trade-off via prediction
of run-time - Implementation on eCos
- Validation on multimedia and sensor processing
tasks - Development of generic API to power-aware OS
(on-going) - Tools to evaluate power management strategies
(on-going) - Power management of sensor node radio
- Development of the dynamic modulation scaling
concept - Various energy-aware wireless packet scheduling
techniques - Power-aware sensor node architecture
- Energy-efficient packet forwarding architecture
for sensor nodes - Experimental validation via lab prototype
- Publications
- One at International Conference on VLSI Design
(published) - Three at ISLPED (accepted)
- One at Sigmetrics (accepted)
6 I. Sensor Network Power Measurement, Analysis
Modeling
SensorViz
Power Measurements
Data from SensIT Experiments
Power Models
Node LocationsTarget TrajectoriesSensor
ReadingsUser TrajectoriesQuery Traffic
SensorSim Simulator
7SensorSim Architecture
Sensor Node
Functional Model
User Application
User Node
SensorWare
Network Stack
Power Model
Network Layer
Sensor App
Battery Model
MAC Layer
Sensor Stack3
Network Stack
Physical Layer
Sensor Stack2
Sensor Layer
Radio
Network Layer
Sensor Layer
Sensor Stack1
Wireless Channel
Physical Layer
CPU
Sensor Layer
MAC Layer
Physical Layer
Wireless Channel
Physical Layer
ADC (Sensor)
Physical Layer
Sensor Channel3
Wireless Channel
Sensor Channel2
Sensor Channel1
Sensor Channel
Target Node
Target Application
Target Node
Sensor Stack
Sensor Layer
Physical Layer
Sensor Channel
8Power analysis of sensor nodes Where does the
power go?
- High-end sensor node Rockwell WINS nodes
- StrongARM processor
- Connexants RDSSS9M 900MHz DECT radio (128 kbps,
100m) - Seismic sensor
- Low-end sensor node Experimental node similar to
Berkeleys COTS motes - Atmel AS90LS8535 microcontroller
- RF Monolithics DR3000 radio (2.4, 19.2, 115
kbps, 10-30m) - No sensors (but microcontroller has ADC)
9Power Analysis of Rockwells WINS Nodes
(Measurements)
- Summary
- Processor
- Active 360 mW
- doing repeated transmit/receive
- Sleep 41 mW
- Off 0.9 mW
- Sensor 23 mW
- Processor Tx 1 2
- Processor Rx 1 1
- Total Tx Rx 4 3 at maximum range
- comparable at lower Tx
10Power Analysis of Experimental Node (Measurements)
- Note
- All powers in mW
- Microcontroller (with ADC)
- Active 8.7 mW
- Idle 5.9 mW
- Off 3 mW
11Some Observations from Power Analysis
- In WINS node, radio consumes 33 mW in sleep vs.
removed - Argues for module level power shutdown
- Tx and Rx power
- Rx power within 40 of maximum Tx power
- Under certain circumstances, Tx power lt Rx power!
- Argues for
- MAC protocols that do not listen a lot
- Low-power paging (wakeup) channel
- Processor power fairly significant (30-50) share
of overall power - Sensor transducer power negligible
- Use sensors to provide wakeup signal for
processor and radio
12Understanding Battery Lifetime Impact of DC-DC
Regulator
13II. Power Management for Wireless Sensor Node
Processor
Sensors
Radio
CPU
Dynamic Voltage Scaling
Scalable Signal Processing
Dynamic Modulation Scaling
Coordinated Power Management
Power Manager
(Minimalist) Real Time Operating System
14Predictive DVS for Adaptive CPU Power-Fidelity
Tradeoff
- Wireless systems resilient to packet loss
- Time varying computational load
Proactive DVS strategy involving prediction
of task instance runtime
Normalized energy
Average Exec. Time / Worst Case Exec. Time
- Up to 75 reduction in energy over worst case
based voltage scheduling with negligible loss in
fidelity (up to 4 deadline misses) on variety of
multimedia and signal processing tasks
- Power aware RTOS for embedded applications
15Implementation
- Implemented under eCoS using Intels Assabett
board - DVS-enabled eCoS on iPaQ to be ready soon
16Power-aware API
Application Threads
- Why?
- Ease of porting to different processors
- Allow apples-to-apples comparison on the same
set of applications
To OStask set period, set deadline, set WCET,
set actual remaining execution time, set
hard/soft, create task instanceinterrupt
handler create task instance To Task
Instanceget remaining execution time, kill
eCoS
Power-Management Functions
Normal eCoS System Calls
Power-awareTask Scheduler
PowerRelatedTask DataStructures
DVS HAL
Hardware
17Tool to Evaluate PowerManagement Strategies
- Current approach simulation
- Simulation framework using PARSEC to compare
different power management strategies under
various types of task schedulers - Problem long simulations, biased by choice of
specific task set - Ongoing analysis-based tool
- Based on competitive analysis to derive worst
case bounds on improvement yielded by a power
management strategy - metric competitive ratio how much worse than
optimal off-line strategy - Take into account transition cost (power, time)
- Implementation based on formal model checking
tool which is used as a simulator for power
management policy - Problems excessive memory hog, only a bound
- Future integrate analysis and simulation
18III. Dynamic Power Management of Sensor Node
Radios
Sensors
Radio
CPU
Dynamic Voltage Scaling
Scalable Signal Processing
Dynamic Modulation Scaling
Coordinated Power Management
Power Manager
(Minimalist) Real Time Operating System
19Dynamic Modulation Scaling
- Energy and delay of data transmission depend on
modulation settings - Tradeoffs for QAM
- adapt b (number of bits per symbol)
- Operate at maximum RS that can be implemented
efficiently - Similar tradeoffs are possible for other scalable
modulation schemes - PSK, DPSK
- ASK
- OFDM
20Analogy Between Dynamic Voltage and Modulation
Scaling
- Scaling modulation on the fly results in energy
awareness - Strong analogy between modulation scaling and
voltage scaling - Low power techniques, like parallelism
- Packet scheduling like task scheduling
- Other power management techniques
21Analogy Between Dynamic Voltage and Modulation
Scaling
Radio
Digital Hardware
22Queue-Based Dynamic Modulation Scaling
- Radio Dynamic Power Management (R-DPM) for
best-effort data packet service - Adapt modulation based on number of packets in
the queue
- Different queue, b-settings result in different
points on the energy-delay tradeoff
23Energy Aware Real Time Packet Scheduling
- Analogous to RTOS task scheduling
- Exploit variation in packet length to perform
aggressive DMS
? static
? static?dyn
? static?dyn ?stretch
Energy savings ()
Lavg/Lmax
- Up to 69 reduction in transmission energy
Framework for coordinated power management of
computing and communication sub-systems
24Data Combining versus Modulation Scaling
- Data combining
- Gains depend on correlation in time or space
- Reduction in packet size or increase in
reliability - Modulation scaling
- Overall tradeoff
25IV. Power-aware Sensor Node Architecture
- Problem radio often simply relays packets in
multihop network - NS-2 simulation 1000x1000 terrain, 30 nodes,
DSR, CBR traffic from random SRC and DEST - Traditional approach main CPU woken up, packets
sent to it across serial bus - power hungry computing and communication
operations
26Energy Impact of Our Packet Forwarding
Architecture
- Simple packet processor in the radio
- Packets are redirected as low in the protocol
stack as possible - Measured simulated results using Atmel AVR and
Triscend E520 with Rockwell Nodes - Lower latency (44 ms)
- once PrFW gt 3 PrAC
- Lower energy (savings)
- Average of 17.5 mJ/packet with Atmel AVR
- Average of 7.5 mJ/packet with Triscend E520
zZZ
MultihopPacket
CommunicationSubsystem
Rest of the Node
GPS
RadioModem
MicroController
CPU
Sensor
Our Approach
27Energy Savings
- Difference in Energy consumption is also
dominated by the Serial port crossing penalty and
the relation (a) of the power consumption of the
Microcontroller and the Sensor CPU
Energy difference due to ACCEPT
Energy difference due to FWD
Serial Port crossover penalty
For Simulation Data
28Near-term (Summer) Plans
- Power-management of CPUs
- Power analysis of SA-2 with variable voltage
- Soon getting SA-2 board being donated by Intel
- Finish power-aware API
- Power-management of radios
- Further development of energy-aware packet
scheduling - Better understanding its utility
- So far power management under traffic variations
only - Next combine traffic and channel variations
- Some validation using prototype, perhaps using
FPGA - Coordinated CPU radio power management
- Modeling
- ARL sensor data and algorithms
- Incorporate into sensorsim
- Combined modeling of CPU and radio power
consumption(Joulestrack Sensorsim?) - Node architecture
- SA-2 and TMS320C55
29The End!