Bayllocator: A proactive system to predict server utilization and dynamically allocate memory resources using Bayesian networks and ballooning

Similar documents
On the Combined Behavior of Autonomous Resource Management Agents

An Introduction to Simio for Beginners

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

Improving Fairness in Memory Scheduling

Project Report Template

Pod Assignment Guide

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

AUTOMATED TROUBLESHOOTING OF MOBILE NETWORKS USING BAYESIAN NETWORKS

Teaching Algorithm Development Skills

DfEE/DATA CAD/CAM in Schools Initiative - A Success Story so Far

Expert Reference Series of White Papers. Mastering Problem Management

Computerized Adaptive Psychological Testing A Personalisation Perspective

STABILISATION AND PROCESS IMPROVEMENT IN NAB

Interaction Design Considerations for an Aircraft Carrier Deck Agent-based Simulation

PM tutor. Estimate Activity Durations Part 2. Presented by Dipo Tepede, PMP, SSBB, MBA. Empowering Excellence. Powered by POeT Solvers Limited

Measurement. When Smaller Is Better. Activity:

On-Line Data Analytics

SCT Banner Student Fee Assessment Training Workbook October 2005 Release 7.2

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Task Types. Duration, Work and Units Prepared by

Carnegie Mellon University Department of Computer Science /615 - Database Applications C. Faloutsos & A. Pavlo, Spring 2014.

Carolina Course Evaluation Item Bank Last Revised Fall 2009

Circuit Simulators: A Revolutionary E-Learning Platform

MGMT 5303 Corporate and Business Strategy Spring 2016

IMPROVE THE QUALITY OF WELDING

Education: Integrating Parallel and Distributed Computing in Computer Science Curricula

Transfer Learning Action Models by Measuring the Similarity of Different Domains

THE VIRTUAL WELDING REVOLUTION HAS ARRIVED... AND IT S ON THE MOVE!

Constructing a support system for self-learning playing the piano at the beginning stage

PUBLIC CASE REPORT Use of the GeoGebra software at upper secondary school

Australian Journal of Basic and Applied Sciences

Lisa Forster Student Functional Group - ITS. SI-net: Student Placements

Software Development Plan

Abstract. Janaka Jayalath Director / Information Systems, Tertiary and Vocational Education Commission, Sri Lanka.

Research computing Results

Reducing Features to Improve Bug Prediction

Software Security: Integrating Secure Software Engineering in Graduate Computer Science Curriculum

SCT Banner Financial Aid Needs Analysis Training Workbook January 2005 Release 7

Steps Before Step Scanning By Linda J. Burkhart Scripting by Fio Quinn Powered by Mind Express by Jabbla

Syllabus - ESET 369 Embedded Systems Software, Fall 2016

Intermediate Computable General Equilibrium (CGE) Modelling: Online Single Country Course

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Rachel Edmondson Adult Learner Analyst Jaci Leonard, UIC Analyst

Designing a Rubric to Assess the Modelling Phase of Student Design Projects in Upper Year Engineering Courses

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

Note: Principal version Modification Amendment Modification Amendment Modification Complete version from 1 October 2014

Program Change Proposal:

Computer Architecture CSC

From Self Hosted to SaaS Our Journey (LEC107648)

ADAPTIVE PLANNING. 1 Powered by POeT Solvers Limited

Financial Accounting Concepts and Research

UEP 251: Economics for Planning and Policy Analysis Spring 2015

(Sub)Gradient Descent

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

Qualification handbook

Navitas UK Holdings Ltd Embedded College Review for Educational Oversight by the Quality Assurance Agency for Higher Education

The University of British Columbia Board of Governors

PROGRAMME SPECIFICATION

Visit us at:

GALICIAN TEACHERS PERCEPTIONS ON THE USABILITY AND USEFULNESS OF THE ODS PORTAL

Preparing for the School Census Autumn 2017 Return preparation guide. English Primary, Nursery and Special Phase Schools Applicable to 7.

CHAPTER 4: REIMBURSEMENT STRATEGIES 24

Course and Examination Regulations

Self Study Report Computer Science

Course Buyout Policy & Procedures

STUDENT ASSESSMENT AND EVALUATION POLICY

Combining Proactive and Reactive Predictions for Data Streams

The IDN Variant Issues Project: A Study of Issues Related to the Delegation of IDN Variant TLDs. 20 April 2011

Aclara is committed to improving your TWACS technical training experience as well as allowing you to be safe, efficient, and successful.

TEACHING IN THE TECH-LAB USING THE SOFTWARE FACTORY METHOD *

Dyslexia and Dyscalculia Screeners Digital. Guidance and Information for Teachers

Oklahoma State University Policy and Procedures

The open source development model has unique characteristics that make it in some

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

How to set up gradebook categories in Moodle 2.

Axiom 2013 Team Description Paper

Computers in Physics Education

Using Deep Convolutional Neural Networks in Monte Carlo Tree Search

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

"On-board training tools for long term missions" Experiment Overview. 1. Abstract:

CHMB16H3 TECHNIQUES IN ANALYTICAL CHEMISTRY

Accelerated Learning Online. Course Outline

Improving Memory Latency Aware Fetch Policies for SMT Processors

Modeling user preferences and norms in context-aware systems

PUPIL PREMIUM POLICY

Guidance on the University Health and Safety Management System

CS Course Missive

Curriculum for the Academy Profession Degree Programme in Energy Technology

Lecture 1: Machine Learning Basics

Personal Tutoring at Staffordshire University

Learning Methods for Fuzzy Systems

SimCity 4 Deluxe Tutorial. Future City Competition

Conference Presentation

Teaching and learning for a sustainable future

Carnegie Mellon University Student Government Graffiti and Poster Policy

Keeping our Academics on the Cutting Edge: The Academic Outreach Program at the University of Wollongong Library

1. Amend Article Departmental co-ordination and program committee as set out in Appendix A.

An Estimating Method for IT Project Expected Duration Oriented to GERT

IT-Integrated Design Collaboration Engagement Model for Interface Innovations

Rover Races Grades: 3-5 Prep Time: ~45 Minutes Lesson Time: ~105 minutes

Transcription:

Bayllocator: A proactive system to predict server utilization and dynamically allocate memory resources using Bayesian networks and ballooning Evangelos Tasoulas - University of Oslo Hårek Haugerud - Oslo And Akershus University College Kyrre Begnum - Crayon NSA LISA / USENIX 2012 Date

Motivation Consolidation of virtual machines is the norm Most systems are idle most of the time, so we can overcommit resources However, when they need to do their job, they need their resources... and could benefit if others don t need theirs Reactive resource allocation may not be fast enough The allocation mechanism is sometimes slow in itself

Problem statement and approach To get a flexible approach on improving utilization efficiency of hardware resources in a single hypervisor running virtual machines Approach: A proactive system to predict server load using Bayesian networks, and dynamically allocate resources on virtual machines running on a single hypervisor to provide more efficient utilization of the physical hardware Currently only focused on dynamic memory allocation using ballooning

Ballooning A kernel module is loaded into the kernel of the VM It can be controlled from the hypervisor to allocate or release memory The VM will therefore believe to have the same amount of memory, but have some of it locked

Bayllocator will... Assume an over-provisioned environment Make a prediction of how much memory each VM needs + a defined percentage Ensure that a VM s min/max values are not violated Avoid Hypervisor swapping Distribute excessive memory fairly to all VMs Claim memory fairly

Prediction Algorithm Memory consumption is divided into categories Each category spans 100MB, f.e 400_500MB Given the input of: VM, weekday, time interval and current consumption, a probability is calculated for all categories Each probability is multiplied with a number representing the category In our case: 400_500MB -> 450MB * P(400_500MB)

Simple example 1. Calculate new probabilities using Bayesian network $ QueryNet.R TestServer1.dat FMU \ > Monday h07 m55_59 mem_100_200 mem_100_200, 0.148 mem_200_300, 0.306 mem_300_400, 0.492 mem_400_500, 0.054 2. Use probabilities to calculate memory demand 150 0.148 = 22.2 250 0.306 = 76.5 350 0.492 = 172.2 450 0.054 = 24.3 22.2 + 76.5 + 172.2 + 24.3 = 295.2 MB

The redistribution of wealth There may not be enough memory to meet all the predicted allocations Fair - Large VM s will need more memory, but should be expected to share more too In practice, use a percentage rather than memory values when awarding / claiming memory

Experimental setup Both generated data and replays of real data Single KVM hypervisor with several VM s Special script mimicked workloads inside the VM Collected usage data into a DB and wrote a prototype using R and Perl

Results - Simulated data

Results - Real-life replay Predictions start Predictions start

Results - Learning periods and accuracy The more observed data, the better the accuracy of the predictions A fundamental difficulty with using historical data is that you need historical data High-quality historical data is hard to come by Often times underlying trends or gaps pollute the data

Discussion A virtual machine will never get less memory than has ever been observed on it* Why not choose the category with the highest probability, instead of calculating the sum? What is the training time? Why use only temporal parameters? Can I run it and expand on the bayesian network myself? Bayllocator is not about reactive, flashmob-mitigation

Future work Weight-lifting for servers: If we knew the signs of a flashmob, we could train the model for it. Investigate the outer limits of ballooning under extreme circumstances Comparison with memory de-duplication Combining Bayllocator with reactive behavior

Thank you! Questions?