SlideShare a Scribd company logo
POWER-AWARE OPERATOR
PLACEMENT AND
BROADCASTING OF
CONTINUOUS QUERY RESULTS
Panickos Neophytou, Mohamed Sharaf,
PanosChrysanthis, AlexandrosLabrinidis

MobiDE 2010 – June 6, 2010
Motivation



               Energy
             Constraints
Streams:
      Collection, Processing, Delivery
Social Media
  Events




       Environment
        Readings     DSMS   Broadcast



   Stock
   Market
                            Q1
                            Q2
         News                     Continuous
         Events             Q3     Queries
                                    (CQs)
                            Q4
Problem Definition


                      Goal:
      Designoperator placement algorithms
      that balance the tradeoff between the
     overall Tuning and Processing energy at
                                      Tuning Energy
                    the clients.    Processing Energy
          Q1
                    Q1                            Tuning Energy
                    Q1                          Processing Energy
          Q2        Q2
                    Q2

                     Q3
                     Q3
          Q3                            Tuning Energy
                                      Processing Energy
Roadmap

 Motivation/Introduction
 System Model
  Stream Processing Model
  Broadcast Access Model
 Operator Placement Algorithms
 Experiments
 Conclusion
Stream Processing Model



  Selectivity                   Tuning Power
  Projectivity                Processing Power
 Cost in cycles               Processor Speed
                  Client Tuning Energy:




                  Client Processing Energy:
Streams Broadcast Model
A broadcast is broken into cycles


                  Q1                Q1    Broadcast Organization
                  Q2
                  Q3                      Q3

                  Q4                 Q4


                        Cycle:
Streams Broadcast Model
A broadcast is broken into cycles


                  Q1                Q1    Broadcast Organization
                  Q2                 Q2

                  Q3
                  Q4                Q4


                        Cycle:
                                    Q1      Q4         Q3
Streams Broadcast Model

Q5    Q1    Q2           Q3            Q4    Sorted
(1)   (2)   (3)          (4)           (5)   By size




                  Q3   Tuning Energy
Roadmap

 Motivation/Introduction
 System Model
  Stream Processing Model
  Broadcast Access Model
 Operator Placement Algorithms
 Experiments
 Conclusion
Algorithm -
MinDataCut
 Query Plan:




                                           Minimal Edge



                       Clients’ Overall Energy Consumption:
                                Tuning Energy
                              Processing Energy

MinDataCutgives us the minimal Broadcast Size
Algorithm -
MinPowerCut
Query Plan:




                                  Minimal Edge
              Clients’ Overall Energy Consumption:
                       Tuning Energy
                     Processing Energy
Drawbacks of MinDataCut and
    MinPowerCut
   MinDataCut           MinPowerCut
       Tuning Energy                      Tuning Energy
   Processing Energy                    Processing Energy

• Oblivious to Processing costs   • Processing-energy aware
• High processing energy          • High impact on tuning energy


 Q1      Q4            Q3         Q1       Q4         Q3
 (1)     (5)           (6)        (3)      (5)        (6)
   4                               1




MinPowerCut is oblivious to Broadcast Organization
BOSe: Broadcast Aware Operator
       Selection
      Query Plan (MinDataCut): Query Plan (1 step further):




       Tuning Energy                  Tuning Energy   Calculate the impact on:
     Processing Energy              Processing Energy 1. processing energy
                                                      2. globaltuning
1. Start from the MinDataCut point.
2. For each query, calculate the amount of energy reduction provided by
   each segment of operators if it were brought back to the server.
3. Bring back the one segment with the maximum reduction.
4. Repeat until no more energy reduction is attainable.
BOSe: Cost-Benefit
Segment from Q1 (at Client N1)                      Tuning Energy
                                                  Processing Energy
  Q1A                              Q1B                Benefit   Cost
   (2)                             (4.5)

  tr0            tr1             tr2             N1             N1
                                                                N4
                                                 N1
                                                 N2
                                                 N3
                                                 N4

                                                    Tuning Energy
                                                  Processing Energy
Broadcast Organization (Sorted by size):

  Q5       Q1A          Q2                 Q3     Q4
  (1)      (2)          (3)                (4)    (5)
Roadmap

 Motivation/Introduction
 System Model
  Stream Processing Model
  Broadcast Access Model
 Operator Placement Algorithms
 Experiments
 Conclusion
Experimental Setup
 Query Workload:
 Parameter                          Values
 Number of queries                  20-300 (default 50)
 Levels per query                   2-20 (default 10)
 Sources tuple rate                 500-1000 tuples/sec
 Sources tuple size                 2000-4000 bytes
 Selectivity                        0.2-1.8, uniform
 Projectivity                       0.5-1.5, uniform
 Operator costs                     100*106-200*106 cycles, Zipf
  Broadcast:
 Bandwidth                          125000 bytes/sec

  Mobile Clients:
 CPU Speed                          1*109 cycles/sec
 Processing to Tuning power ratio   0.16
Processing to Tuning Power Ratio




                        22% improvement


         BOSe always performs best
Scalability: Number of Queries
Scalability: Number of Operators
per Query
Indexed Broadcast Model

Ix      Q5    Q1    Q2           Q3            Q4    Indexed
(0.5)
        (1)   (2)   (3)          (4)           (5)




                          Q3   Tuning Energy
Processing vs. Tuning Power




53% improvement
Conclusions

 3 power-aware operator placement
  algorithms for broadcasting CQ results
 BOSe algorithm improves by 53% over
  centralized processing
 Future:
  Support sharing of operators
  Support sharing of queries
  Study the tradeoff between Energy and
   Response Time
Thank you – Questions?

 Advanced Data Management
 Technologies Laboratory
  http://db.cs.pitt.edu
 Part of AQSIOS project:
  NSF GRANT IIS-0534531
  NSF career award IIS-0746696

More Related Content

PDF
Scheduling of Heterogeneous Tasks in Cloud Computing using Multi Queue (MQ) A...
PDF
IRJET- Advance Approach for Load Balancing in Cloud Computing using (HMSO) Hy...
PDF
Recent MIP Performance Improvements in IBM ILOG CPLEX Optimization Studio
PDF
Intelligent Workload Management in Virtualized Cloud Environment
PPTX
defense_PPT
PDF
ICC paper
PDF
Dw24779784
PDF
Accelerating the Development of Efficient CP Optimizer Models
Scheduling of Heterogeneous Tasks in Cloud Computing using Multi Queue (MQ) A...
IRJET- Advance Approach for Load Balancing in Cloud Computing using (HMSO) Hy...
Recent MIP Performance Improvements in IBM ILOG CPLEX Optimization Studio
Intelligent Workload Management in Virtualized Cloud Environment
defense_PPT
ICC paper
Dw24779784
Accelerating the Development of Efficient CP Optimizer Models

What's hot (14)

PDF
Delay Constrained Energy Efficient Data Transmission over WSN
PDF
K010217785
PDF
J0210053057
PDF
Self-adaptive container monitoring with performance-aware Load-Shedding policies
PDF
An introduction to CP Optimizer
PDF
ACTRESS: Domain-Specific Modeling of Self-Adaptive Software Architectures
PDF
Gq2411921196
PDF
Proactive Scheduling in Cloud Computing
PDF
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
PDF
A (Not So Short) Introduction to CP Optimizer for Scheduling
PDF
Innovations in CPLEX performance and solver capabilities
PDF
Self-adaptive container monitoring with performance-aware Load-Shedding policies
PDF
A Genetic Algorithm Approach to Solve Unit Commitment Problem
PDF
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Delay Constrained Energy Efficient Data Transmission over WSN
K010217785
J0210053057
Self-adaptive container monitoring with performance-aware Load-Shedding policies
An introduction to CP Optimizer
ACTRESS: Domain-Specific Modeling of Self-Adaptive Software Architectures
Gq2411921196
Proactive Scheduling in Cloud Computing
IMPLEMENTATION OF UNSIGNED MULTIPLIER USING MODIFIED CSLA
A (Not So Short) Introduction to CP Optimizer for Scheduling
Innovations in CPLEX performance and solver capabilities
Self-adaptive container monitoring with performance-aware Load-Shedding policies
A Genetic Algorithm Approach to Solve Unit Commitment Problem
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Ad

Viewers also liked (9)

PDF
Prečo sú inovácie dôležité
PPTX
Zpětnovazebníci aka děti Uroborovy
PDF
How to make a profit during a double dip recession
PDF
Welcome to BRAF
ODP
08 Descartes e o racionalismo
ODP
01 historia da filosofia as orixes da filosofia
PPTX
Confluence
PPTX
Ms powerpoint
Prečo sú inovácie dôležité
Zpětnovazebníci aka děti Uroborovy
How to make a profit during a double dip recession
Welcome to BRAF
08 Descartes e o racionalismo
01 historia da filosofia as orixes da filosofia
Confluence
Ms powerpoint
Ad

Similar to Mobide2010 (20)

PDF
20111104 s4 overview
PDF
Realizing Energy Savings From Lower Power T Vs 9 2 09
PDF
Power-Awarness in Coarse-Grained Reconfigurable Designs: a Dataflow Based Str...
PPT
Mobile computing edited
PDF
Ltu ex-05238-se
PDF
University of Pune - Project report
PDF
E3 s binghamton
PDF
Atomic Scheduling of Appliance Energy Consumption in Residential Smart Grid
PPT
Electricity demand side management and end use efficiency
PDF
Smart optimization techniques for virtual power plants
PDF
I heat2012 simondaniel-moixa
PDF
Energy-Aware Wireless Video Streaming
PDF
Tpc Energy Publications July 2 10 B
PDF
Stream Processing
PPT
Green & new gen dc conf-v121
PDF
Clock Gating of Streaming Applications for Power Minimization on FPGA’s
PPTX
Keith Sue - Distributed Energy Storage
PDF
Energy Storage | Fuel Security , Presented at Energy Institute, London
PDF
Green growth and network quality in a high-growth market - Martin Backstrom -...
PPT
EEDC Intelligent Placement of Datacenters
20111104 s4 overview
Realizing Energy Savings From Lower Power T Vs 9 2 09
Power-Awarness in Coarse-Grained Reconfigurable Designs: a Dataflow Based Str...
Mobile computing edited
Ltu ex-05238-se
University of Pune - Project report
E3 s binghamton
Atomic Scheduling of Appliance Energy Consumption in Residential Smart Grid
Electricity demand side management and end use efficiency
Smart optimization techniques for virtual power plants
I heat2012 simondaniel-moixa
Energy-Aware Wireless Video Streaming
Tpc Energy Publications July 2 10 B
Stream Processing
Green & new gen dc conf-v121
Clock Gating of Streaming Applications for Power Minimization on FPGA’s
Keith Sue - Distributed Energy Storage
Energy Storage | Fuel Security , Presented at Energy Institute, London
Green growth and network quality in a high-growth market - Martin Backstrom -...
EEDC Intelligent Placement of Datacenters

Recently uploaded (20)

PPTX
1. Introduction to Computer Programming.pptx
PPTX
A Presentation on Artificial Intelligence
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mushroom cultivation and it's methods.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Chapter 5: Probability Theory and Statistics
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
1 - Historical Antecedents, Social Consideration.pdf
1. Introduction to Computer Programming.pptx
A Presentation on Artificial Intelligence
cloud_computing_Infrastucture_as_cloud_p
Hindi spoken digit analysis for native and non-native speakers
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Mushroom cultivation and it's methods.pdf
DP Operators-handbook-extract for the Mautical Institute
Chapter 5: Probability Theory and Statistics
MIND Revenue Release Quarter 2 2025 Press Release
OMC Textile Division Presentation 2021.pptx
Zenith AI: Advanced Artificial Intelligence
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A novel scalable deep ensemble learning framework for big data classification...
Accuracy of neural networks in brain wave diagnosis of schizophrenia
A comparative analysis of optical character recognition models for extracting...
TLE Review Electricity (Electricity).pptx
WOOl fibre morphology and structure.pdf for textiles
1 - Historical Antecedents, Social Consideration.pdf

Mobide2010

  • 1. POWER-AWARE OPERATOR PLACEMENT AND BROADCASTING OF CONTINUOUS QUERY RESULTS Panickos Neophytou, Mohamed Sharaf, PanosChrysanthis, AlexandrosLabrinidis MobiDE 2010 – June 6, 2010
  • 2. Motivation Energy Constraints
  • 3. Streams: Collection, Processing, Delivery Social Media Events Environment Readings DSMS Broadcast Stock Market Q1 Q2 News Continuous Events Q3 Queries (CQs) Q4
  • 4. Problem Definition Goal: Designoperator placement algorithms that balance the tradeoff between the overall Tuning and Processing energy at Tuning Energy the clients. Processing Energy Q1 Q1 Tuning Energy Q1 Processing Energy Q2 Q2 Q2 Q3 Q3 Q3 Tuning Energy Processing Energy
  • 5. Roadmap  Motivation/Introduction  System Model  Stream Processing Model  Broadcast Access Model  Operator Placement Algorithms  Experiments  Conclusion
  • 6. Stream Processing Model Selectivity Tuning Power Projectivity Processing Power Cost in cycles Processor Speed Client Tuning Energy: Client Processing Energy:
  • 7. Streams Broadcast Model A broadcast is broken into cycles Q1 Q1 Broadcast Organization Q2 Q3 Q3 Q4 Q4 Cycle:
  • 8. Streams Broadcast Model A broadcast is broken into cycles Q1 Q1 Broadcast Organization Q2 Q2 Q3 Q4 Q4 Cycle: Q1 Q4 Q3
  • 9. Streams Broadcast Model Q5 Q1 Q2 Q3 Q4 Sorted (1) (2) (3) (4) (5) By size Q3 Tuning Energy
  • 10. Roadmap  Motivation/Introduction  System Model  Stream Processing Model  Broadcast Access Model  Operator Placement Algorithms  Experiments  Conclusion
  • 11. Algorithm - MinDataCut Query Plan: Minimal Edge Clients’ Overall Energy Consumption: Tuning Energy Processing Energy MinDataCutgives us the minimal Broadcast Size
  • 12. Algorithm - MinPowerCut Query Plan: Minimal Edge Clients’ Overall Energy Consumption: Tuning Energy Processing Energy
  • 13. Drawbacks of MinDataCut and MinPowerCut MinDataCut MinPowerCut Tuning Energy Tuning Energy Processing Energy Processing Energy • Oblivious to Processing costs • Processing-energy aware • High processing energy • High impact on tuning energy Q1 Q4 Q3 Q1 Q4 Q3 (1) (5) (6) (3) (5) (6) 4 1 MinPowerCut is oblivious to Broadcast Organization
  • 14. BOSe: Broadcast Aware Operator Selection Query Plan (MinDataCut): Query Plan (1 step further): Tuning Energy Tuning Energy Calculate the impact on: Processing Energy Processing Energy 1. processing energy 2. globaltuning 1. Start from the MinDataCut point. 2. For each query, calculate the amount of energy reduction provided by each segment of operators if it were brought back to the server. 3. Bring back the one segment with the maximum reduction. 4. Repeat until no more energy reduction is attainable.
  • 15. BOSe: Cost-Benefit Segment from Q1 (at Client N1) Tuning Energy Processing Energy Q1A Q1B Benefit Cost (2) (4.5) tr0 tr1 tr2 N1 N1 N4 N1 N2 N3 N4 Tuning Energy Processing Energy Broadcast Organization (Sorted by size): Q5 Q1A Q2 Q3 Q4 (1) (2) (3) (4) (5)
  • 16. Roadmap  Motivation/Introduction  System Model  Stream Processing Model  Broadcast Access Model  Operator Placement Algorithms  Experiments  Conclusion
  • 17. Experimental Setup Query Workload: Parameter Values Number of queries 20-300 (default 50) Levels per query 2-20 (default 10) Sources tuple rate 500-1000 tuples/sec Sources tuple size 2000-4000 bytes Selectivity 0.2-1.8, uniform Projectivity 0.5-1.5, uniform Operator costs 100*106-200*106 cycles, Zipf Broadcast: Bandwidth 125000 bytes/sec Mobile Clients: CPU Speed 1*109 cycles/sec Processing to Tuning power ratio 0.16
  • 18. Processing to Tuning Power Ratio 22% improvement BOSe always performs best
  • 20. Scalability: Number of Operators per Query
  • 21. Indexed Broadcast Model Ix Q5 Q1 Q2 Q3 Q4 Indexed (0.5) (1) (2) (3) (4) (5) Q3 Tuning Energy
  • 22. Processing vs. Tuning Power 53% improvement
  • 23. Conclusions  3 power-aware operator placement algorithms for broadcasting CQ results  BOSe algorithm improves by 53% over centralized processing  Future:  Support sharing of operators  Support sharing of queries  Study the tradeoff between Energy and Response Time
  • 24. Thank you – Questions?  Advanced Data Management Technologies Laboratory  http://db.cs.pitt.edu  Part of AQSIOS project:  NSF GRANT IIS-0534531  NSF career award IIS-0746696

Editor's Notes

  • #4: “in general it could support more users and more kinds of applications blablabla”We want to disseminate the results with the least amount of energyEmphasize the
  • #5: Use the query plan diagram.Show that it can shrink the broadcast etc…
  • #10: FOCUS on one client.
  • #12: Color the circles.Show Large,Small,Large for Q1. instead of tr*ts…Show the bars of processing and tuning energies
  • #13: Change the multiplication to blueEmphasize the plus of the processing powers.Add the sliders to show larger broadcast but smaller processing.
  • #14: MPC is a local optimization
  • #15: Make the steps of the algorithm clear.Looking at each query using a cost-benefit evaluation which like PMC considers processing but also the impact on the broadcast overall the client population.
  • #16: A concrete exampleProcessing to the leftTuning to the right.Energy bars to show how they compare.
  • #18: DSMSBroadcastClients
  • #19: Remove the second small graph.
  • #20: Make larger graphs…. Animate to make it bigger.
  • #22: FOCUS on one client.
  • #23: Add animation to make it small