Autonomic Workload Execution Control Using Throttling

Slides:



Advertisements
Similar presentations
Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
Advertisements

Hopkins Storage Systems Lab, Department of Computer Science Automated Physical Design in Database Caches T. Malik, X. Wang, R. Burns Johns Hopkins University.
Performance of Multithreaded Chip Multiprocessors and Implications for Operating System Design Hikmet Aras
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Erhan Erdinç Pehlivan Computer Architecture Support for Database Applications.
Developing a Characterization of Business Intelligence Workloads for Sizing New Database Systems Ted J. Wasserman (IBM Corp. / Queen’s University) Pat.
Autonomic DBMSs: System Tune Thyself! Pat Martin Database Systems Laboratory School of Computing Supported by IBM, CITO and NSERC.
Automatic Resource Scaling for Web Applications in the Cloud Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer Science.
Transactions – T4.3 Title: Concurrency Control Performance Modeling: Alternatives and Implications Authors: R. Agarwal, M. J. Carey, M. Livny ACM TODS,
Chapter 1 Introduction 1.1A Brief Overview - Parallel Databases and Grid Databases 1.2Parallel Query Processing: Motivations 1.3Parallel Query Processing:
Physical Database Monitoring and Tuning the Operational System.
1 Software Testing and Quality Assurance Lecture 40 – Software Quality Assurance.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
PJSISSTA '001 Black-Box Test Reduction Using Input-Output Analysis ISSTA ‘00 Patrick J. Schroeder, Bogdan Korel Department of Computer Science Illinois.
Presented by Deepak Srinivasan Alaa Aladmeldeen, Milo Martin, Carl Mauer, Kevin Moore, Min Xu, Daniel Sorin, Mark Hill and David Wood Computer Sciences.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
AUTONOMOUS RESOURCE PROVISIONING FOR MULTI-SERVICE WEB APPLICATIONS Jiang Dejun,Guillaume Pierre,Chi-Hung Chi WWW '10 Proceedings of the 19th international.
Simulation of Memory Management Using Paging Mechanism in Operating Systems Tarek M. Sobh and Yanchun Liu Presented by: Bei Wang University of Bridgeport.
© 2006 IBM Corporation Adaptive Self-Tuning Memory in DB2 Adam Storm, Christian Garcia-Arellano, Sam Lightstone – IBM Toronto Lab Yixin Diao, M. Surendra.
DBMSs On A Modern Processor: Where Does Time Go? by A. Ailamaki, D.J. DeWitt, M.D. Hill, and D. Wood University of Wisconsin-Madison Computer Science Dept.
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008.
« Performance of Compressed Inverted List Caching in Search Engines » Proceedings of the International World Wide Web Conference Commitee, Beijing 2008)
Budget-based Control for Interactive Services with Partial Execution 1 Yuxiong He, Zihao Ye, Qiang Fu, Sameh Elnikety Microsoft Research.
1 Wenguang WangRichard B. Bunt Department of Computer Science University of Saskatchewan November 14, 2000 Simulating DB2 Buffer Pool Management.
Querying Large Databases Rukmini Kaushik. Purpose Research for efficient algorithms and software architectures of query engines.
Performance Prediction for Random Write Reductions: A Case Study in Modelling Shared Memory Programs Ruoming Jin Gagan Agrawal Department of Computer and.
Managing the Performance Impact of Administrative Utilities Paper by S. Parekh,K. Rose, J.Hellerstein, S. Lightstone, M.Huras, and V. Chang Presentation.
Autonomic scheduling of tasks from data parallel patterns to CPU/GPU core mixes Published in: High Performance Computing and Simulation (HPCS), 2013 International.
A Method for Transparent Admission Control and Request Scheduling in E-Commerce Web Sites S. Elnikety, E. Nahum, J. Tracey and W. Zwaenpoel Presented By.
GSLPI: a Cost-based Query Progress Indicator
1 Validation of an improved location-based handover algorithm using GSM measurement data Hsin-Piao Lin; Rong-Terng Juang; Ding-Bing Lin IEEE Transactions.
A BRIEF INTRODUCTION TO CACHE LOCALITY YIN WEI DONG 14 SS.
Sunpyo Hong, Hyesoon Kim
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
Soft Timers : Efficient Microsecond Software Timer Support for Network Processing - Mohit Aron & Peter Druschel CS533 Winter 2007.
Optimisation of Radio Spectrum Usage
In quest of the operational database for real-time environmental monitoring and early warning systems Bartosz Baliś, Marian Bubak, Daniel Harezlak, Piotr.
OPERATING SYSTEMS CS 3502 Fall 2017
DBMS & TPS Barbara Russell MBA 624.
Algorithmic Improvements for Fast Concurrent Cuckoo Hashing
Tao Zhu1,2, Chengchun Shu1, Haiyan Yu1
Database System Concepts and Architecture
THE COMPELLING NEED FOR DATA WAREHOUSING
Self-Tuning Memory Management of A Database System
Key Observation Theorem:
Methodology – Physical Database Design for Relational Databases
Physical Database Design for Relational Databases Step 3 – Step 8
Database Database is a large collection of related data that can be stored, generally describes activities of an organization. An organised collection.
A Framework for Automatic Resource and Accuracy Management in A Cloud Environment Smita Vijayakumar.
Management of Multiple Dynamic Human Supervisory Control Tasks
國立臺北科技大學 課程:資料庫系統 fall Chapter 18
Predictive Performance
Akshay Tomar Prateek Singh Lohchubh
Introduction to Databases Transparencies
Practical Database Design and Tuning
ICIEV 2014 Dhaka, Bangladesh
An Adaptive Middleware for Supporting Time-Critical Event Response
Smita Vijayakumar Qian Zhu Gagan Agrawal
CSE8380 Parallel and Distributed Processing Presentation
Presentation & Demo August 7, 2018 Bill Shelden.
Admission Control and Request Scheduling in E-Commerce Web Sites
Jigar.B.Katariya (08291A0531) E.Mahesh (08291A0542)
Simulating a $2M Commercial Server on a $2K PC
Department of Electrical Engineering
CONTROL SYSTEM AN INTRODUCTION.
Feedback Control Real-time Scheduling
Query Processing.
Matthew Sciclunaa, Soaleha Shamsb, & Robert Gerlaib,c
Sophia: Online Reconfiguration of Clustered NoSQL Databases for Time-Varying Workloads Ashraf Mahgoub1, Paul Wood2, Alexander Medoff1, Subrata.
Presentation transcript:

Autonomic Workload Execution Control Using Throttling Wendy Powley, Patrick Martin, Mingyi Zhang School of Computing, Queen’s University, Canada Paul Bird, Keith McDonald IBM Toronto Lab, Canada March 1, 2010

Acknowledgements This work is supported by IBM’s Center for Advanced Studies (CAS), IBM Canada Ltd., Toronto, ON, Canada; Natural Science and Engineering Research Council (NSERC) of Canada; Ontario Centers of Excellence for Communication and Information Technology (OCE-CCIT); and Queen's University, Kingston, ON, Canada. 4/4/2019 8:15 AM SMDB 2010

Outline Introduction Query throttling approaches Throttling control mechanisms Step function controller Black-box model controller Experimental validation Conclusions & future research 4/4/2019 8:15 AM SMDB 2010

Introduction In a data server environment, there may be multiple types of workloads simultaneously present On-line transactional processing (OLTP) workloads On-line analytical processing (OLAP) workloads Workloads can come from different sources and have different priorities and performance goals There is an interdependency among the concurrently running workloads Workloads compete for shared system resource Some workloads may miss their performance goals 4/4/2019 8:15 AM SMDB 2010

Introduction (cont) Workload management for database management systems (DBMSs) aims to meet performance objectives for all workloads We previously proposed a workload execution control technique - query throttling [1] It slows down long-running and resource intensive queries to free up shared system resources for more important workloads W. Powley, P. Martin and P. Bird, “DBMS Workload Control Using Throttling: Experimental Insights”. In CASCON ’08: Proc. of the 2008 Conf. of the Center for Advanced Studies on Collaborative Research. Toronto, Canada. October 2008. pp. 1-13. 4/4/2019 8:15 AM SMDB 2010

Query Throttling Approaches Two approaches of the query throttling Constant throttling Interrupt throttling An example query execution time: 100(s) throttle percentage: 50% constant throttle pause length: 1.0(s) then: tw = 100(s) throttle time = 100(s) * 50% = 50(s) tc = 1.0(s) k = 50(s) / 1.0(s) = 50 ti = 50(s) 4/4/2019 8:15 AM SMDB 2010

Autonomic Control Mechanism In this study, we specifically consider Query throttling approaches as a component of a self- managing DBMS We apply autonomic computing principles to dynamically control the amount of throttling We examine two different types of controllers A step function controller A black-box model controller Feedback Loop 4/4/2019 8:15 AM SMDB 2010

Autonomic Control Mechanism (cont) The Analyzer considers a goal achieved when where, Pc is the current performance, Pg is the goal, and ε is the acceptable boundary The Planner determines the amount of throttling Important workloads meet performance goals Less important workloads are not penalized more than necessary An effector implements the constant throttling approach 4/4/2019 8:15 AM SMDB 2010

Step Function Controller The controller determines the amount of throttling in n-th step where, , th0 = 0, and Δ is the adjustment amount for throttling in a step Distance between the goal and the actual performance The adjustment amount of throttling if then where, σ is a defined threshold where, n is the number of steps, and thmax is the maximum amount of throttling A Diminishing Step Function 4/4/2019 8:15 AM SMDB 2010

DBMS Black-box Model A DBMS black-box model: The control input u( k ): the amount of throttling imposed on less important workloads (OLAP) The measured output y( k ): the throughput of important workloads (OLTP) The disturbance input ( d ): system’s mix of workloads DBMS Black-box Model 4/4/2019 8:15 AM SMDB 2010

Black-box Model Controller The relationship between inputs and outputs: where: y( k+1 ): predicted throughput in the (k+1)st time unit y( k ): measured throughput in the k-th time unit u( k ): the amount of throttling in the k-th time unit a and b: the model parameters, which are determined experimentally The model is built for the worst-case scenario The highest ratio of less important to important workloads The mix of workloads is unpredictable and changes over time For other scenarios controller favors more important workloads by over-estimating the level of throttling required 4/4/2019 8:15 AM SMDB 2010

Black-Box Model Validation Comparison Between the Projected and Actual Throughputs In the experiments, the control inputs are in the range [0, 250] percent throttling 4/4/2019 8:15 AM SMDB 2010

Experiments Experiments examine the effectiveness of the two controllers in maintaining the goals set for the important workload Experiments were conducted on a PostgreSQL DBMS Two separate databases with their own running workload Competition for shared physical resources while no lock contention OLTP workload is the important workload, and OLAP workload is the less important workload Throttling OLAP workload in order to make OLTP workload meet its performance goal 4/4/2019 8:15 AM SMDB 2010

Impact of Mixing Workloads The throughput of the important OLTP workload dropped when the workloads compete for share system resources The response time of the OLAP workload doubled when the workloads compete for share system resources The effects of running the two workloads alone and simultaneously 4/4/2019 8:15 AM SMDB 2010

Throughput of the OLTP workload Simple Controller Throughput of the OLTP workload The simple controller is used to adjust the amount of throttling for the OLAP workload 4/4/2019 8:15 AM SMDB 2010

Black-Box Model Controller Throughput of the OLTP workload The black-box model controller is used to adjust the amount of throttling for the OLAP workload 4/4/2019 8:15 AM SMDB 2010

Throughput of the OLTP workload Hybrid Controller Throughput of the OLTP workload A hybrid controller combines the two approaches, where the black-box model controller initially sets the throttle value, and the simple controller fine-tunes performance 4/4/2019 8:15 AM SMDB 2010

Conclusions We illustrate the use of two different types of controllers to control the level of throttling required We verify that the important workload can dynamically meet the performance goals by using the controllers Experimental results show that the hybrid controller is a good choice for query throttle control 4/4/2019 8:15 AM SMDB 2010

Future Work To investigate how the black-box model may be updated dynamically to adapt to the highly varied and frequently changing workloads To investigate possible key identifiers, such as high CPU or high memory usage, that may indicate workloads that are possible candidates for throttling 4/4/2019 8:15 AM SMDB 2010

Thank You 4/4/2019 8:15 AM SMDB 2010

The amount of throttling Simple Controller The amount of throttling The simple controller is used to adjust the amount of throttling for the OLAP workload 4/4/2019 8:15 AM SMDB 2010