Supporting Soft Real-Time Tasks in the Xen Hypervisor

Size: px
Start display at page:

Download "Supporting Soft Real-Time Tasks in the Xen Hypervisor"

Transcription

1 Supporting Soft Real-Time Tasks in the Xen Hypervisor Min Lee 1, A. S. Krishnakumar 2, P. Krishnan 2, Navjot Singh 2, Shalini Yajnik 2 1 Georgia Institute of Technology Atlanta, GA, USA minlee@cc.gatech.edu 2 Avaya Labs Basking Ridge, NJ, USA {ask, pk, singh, shalini}@avaya.com The results described in this paper are elaborated upon in: Min Lee, A. S. Krishnakumar, P. Krishnan, Navjot Singh and Shalini Yajnik, Supporting Soft Real-Time Tasks in the Xen Hypervisor in Proceedings of the 2010 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, Pittsburgh, PA, March This document presents some of the key results of the research. ABSTRACT Virtualization technology enables server consolidation and has given an impetus to low-cost green data centers. However, current hypervisors do not provide adequate support for real-time applications, and this has limited the adoption of virtualization in some domains. Soft real-time applications, such as media-based ones, are impeded by components of virtualization including low-performance virtualization I/O, increased scheduling latency, and shared-cache contention. The virtual machine scheduler is central to all these issues. The goal in this paper is to adapt the virtual machine scheduler to be more soft-real-time friendly. We improve two aspects of the VMM scheduler managing scheduling latency as a first-class resource and managing shared caches. We use enterprise IP telephony as an illustrative soft real-time workload and design a scheduler S that incorporates the knowledge of soft realtime applications in all aspects of the scheduler to support responsiveness. For this we first define a laxity value that can be interpreted as the target scheduling latency that the workload desires. The load balancer is also designed to minimize the latency for real-time tasks. For cache management, we take cache-affinity into account for real time tasks and load-balance accordingly to prevent cache thrashing. We measured cache misses and demonstrated that cache management is essential for soft real time tasks. Although our scheduler S employs a different design philosophy, interestingly enough it can be implemented with simple modifications to the Xen hypervisor s credit scheduler. Our experiments demonstrate that the Xen scheduler with our modifications can support soft real-time guests well, without penalizing non-real-time domains. Keywords Virtualization, Xen, Enterprise telephony workloads, Server consolidation, Laxity * * This work was done when Min Lee was an intern at Avaya Labs.

2 Overview Real time and Xen Default Credit Scheduler Experiments Instrumentation Laxity-based scheduler Laxity (A) Boost with event (B) Simple Load Balance (L) Cache-aware Real-time load balancing (LL) Result Conclusion 1 Real time and Xen Near real-time applications pose challenges low-performance virtualization I/O scheduling latency shared-cache contention Scheduler is central to all these issues scheduling latency as a first-class resource managing shared caches 2 1

3 Deployment of Generic Enterprise Telephony system. Call-C and Sip-S (Call setup/tear down) IP Endpoint Gateway/ Media Server (stream encode/decode). Local Area Network Backbone Network. Local Area Network Gateway/ Media Server Dom0 Call-C Media-S Sip-S IP Endpoint Xen Hypervisor Hardware 3 Default Credit Scheduler Consumes credits to run VCPU4 VCPU2 VCPU7 VCPU1 V VCPU5 Under Over Every 30ms, distribute credits based on weights E.g. 20% CPU to VM 1, 40% CPU to VM 2 Proportional distribution Default weight (256) 4 2

4 Default Credit Scheduler Boost up waking-up tasks VCPU4 VCPU2 VCPU7 VCPU1 V VCPU5 Under Over New incoming (waking-up) task Probably due to external event (packet arrival) E.g. Domain 0 VCPU3 5 Default Credit Scheduler Boost up waking-up tasks VCPU3 VCPU4 VCPU2 VCPU7 VCPU1 V VCPU5 Boost Under Over VCPU4 VCPU2 VCPU7 VCPU1 VCPU3 V VCPU5 Only one time boost-up (<10ms) 6 3

5 Default Credit Scheduler Insufficient support for real-time tasks RT-tasks (Media-S) competes with other tasks Treated as just CPU-bound task Missing its deadlines 7 Credit Crisis Credit scheduler Good for CPU task Boost Boost waking-up task Short time (<10ms) Good for Dom0! Bad for Media task Low latency Need both CPU & Low latency! Competing with others System tasks Interactive tasks (i.e. Domain 0, supported by boost ) Multimedia tasks (Soft real time) CPU-bound tasks Background tasks (supported by credit) CPU allocation (credit) 8 4

6 Credit Crisis Now on, Laxity-based scheduler is introduced. Incremental (4 components) Experiments Instrumentation Laxity-based scheduler Laxity (A) Boost with event (B) Simple Load Balance (L) Cache-aware Real-time load balancing (LL) 9 Experiments (Deployment) Enterprise Telephony system Media server Media-S Signaling server Call-C,Sip-S Other VMs Dom0 Cdom [Computational domain] Two more domains [Licensing, management] Two flavors Standard (Cdom is empty) Cpuload (Cdom has 4 cpu-bound tasks) PESQ Quality of voice Major metric 10 5

7 COMP ACT Experiments (Setup) Dell 2950 server Dom0 Media-S SIP-S Call-C C-Dom 2 quad-core Xeon processors 4 GB of RAM 2 cores from each socket Xen Hypervisor Server So private cache 4cps, sample one out of 4calls G.711, 20ms packetization 30sec hold time IP IP network Max 240 streams through Media-S PESQ Compare the reference with stream from Media-S SIPp and RTP Clients tcpdump 11 Instrumentation Custom events for xentrace CPU utilization Worst/average wait time Each Time slice length Each Cache misses By xenoprof Average wait time L2 cache misses 12 6

8 Reading the plots PESQ Quality of voice 0(bad)~ (toll quality) Cumulative Density Boxplots Min/Max 25%,75% percentile Median Poor quality Good quality 13 Performance with default credit scheduler More weights (512, 1024) didn t improve much Only configuration it worked pinning Media-S/Call-C requires significant CPU Pinned Media-S/Call-C to,1 respectively Pinned others to CPU2,3 Dom0 is floating Underutilizing CPU! 14 7

9 Laxity (A) Kind of? Laxity! Target scheduling latency or deadline E.g. less than 5ms wait time in the run queue Parameter specified by user Real-time task Has laxity value Non-real-time task Doesn t have laxity value (or conceptually infinite laxity) 15 Implementation of laxity Where to insert real-time tasks to meet their deadline In over, laxity value is ignored. VCPU4 (1us) VCPU2 (7us) VCPU7 (4us) VCPU1 (13us) V (40us) VCPU5 (21us) 5us 20us 20us&boost Boost Under Over VCPU# (Length of previous time slice) 16 8

10 Prediction of wait time Each VCPU maintains an expected run time Previous time slice length The amount of CPU time it utilized in its previous run Works reasonably well Min/max 25%,75% percentile More sophisticated formula can be used Average difference between expected and actual wait times 17 Laxity Result Improved PESQ 18 9

11 Boost with event (B) Want to boost-up tasks receiving external event. Packet arrival. But credit scheduler only boost up waking-up task! Media-S in run queue doesn t get boosted So, we boost it up in the run queue VCPU4 (1us) VCPU2 (7us) VCPU7 (4us) VCPU1 (13us) V (40us) VCPU5 (21us) (2) Get boosted within queue (1) Receiving event VCPU4 (1us) VCPU1 (13us) VCPU2 (7us) VCPU7 (4us) V (40us) VCPU5 (21us) 19 Simple Load Balance (L) Default Credit scheduler VCPU4 VCPU2 VCPU7 VCPU1 V VCPU5 (2) Peek peer s Q (3) Steal higher task (1) Over or idle task? CPU1 VCPU10 VCPU

12 Simple Load Balance (L) Laxity-based scheduler (Simple Load Balance) VCPU4 VCPU2 VCPU7 VCPU1 V VCPU5 (2) Peek peer s Q (3) Steal higher task (4) If same (a) If mine is real time task, don t steal (b) If peer s is real time task, steal (c) Both non-real-time, compare entrance time into queue - with some delay (2ms) (1) Under, over or idle task? CPU1 VCPU17 VCPU11 VCPU10 VCPU15 21 Simple Load Balance (L) Laxity-based scheduler (Simple Load Balance) Media-S VCPU2 VCPU7 VCPU1 V VCPU5 (1) This effectively distributes real-time tasks over CPUs (2) Also prevents starvation CPU1 VCPU17 VCPU11 VCPU10 VCPU

13 Simple Load Balance (L) Laxity-based scheduler (Simple Load Balance) Media-S VCPU2 VCPU7 VCPU1 V VCPU5 (1) Kicks out non-real-time task if they waited for some time CPU1 VCPU2 VCPU17 VCPU11 VCPU10 VCPU15 23 Cache-aware Real-time load balancing (LL) Good, but Ping-ponging tasks trashes cache Bind RT-tasks to CPU Fix RT-tasks to its initial CPU Disable load-balancing for RT-tasks Unbalance of multiple RT-tasks Need new load-balancer for RT-tasks 24 12

14 Cache-aware Real-time load balancing (LL) Don t steal peer s real-time tasks in L Prefer hot cache (to low wait time) New x-sec-load balancer Balance of real time task s cpu utilization via bin-packing 90% utilized by one real time task CPU1 80% utilized by three real time tasks 25 Cache-aware Real-time load balancing (LL) Improved PESQ 26 13

15 Result (CPU utilization) We re fully utilizing CPUs! Amount of work done by cpuhogging process baseline(pinned) baseline A AL ALL Policies 27 Result (Various laxity value) Lower laxity more realtime better quality various laxity values - standard configuration 28 14

16 Result (Various laxity value) Lower laxity more realtime better quality various laxity values - cpuload configuration 29 Result (Boost with event) Some impact Adding Boost with event 30 15

17 Result (Load balance) Load balancing is essential for multicore PESQ improvement through load balancer in standard configuration 31 Result (Cache misses) We should consider cache Misses (x10000) baseline A AL ALL Total misses baseline A AL ALL baseline A AL ALL baseline A AL ALL baseline A AL ALL baseline A AL ALL C-dom Domain-0 Call-C Sip-S Media-S Cache misses for standard configuration 32 16

18 Conclusion New soft real time aware scheduler for Xen Better support for real time applications without penalizing non-real time tasks Fully utilizing CPU resources Timeliness requirement expressed by laxity Instrumentation to help design and measure performance Can also be used for other purposes 33 17

Real-time scheduling for virtual machines in SK Telecom

Real-time scheduling for virtual machines in SK Telecom Real-time scheduling for virtual machines in SK Telecom Eunkyu Byun Cloud Computing Lab., SK Telecom Sponsored by: & & Cloud by Virtualization in SKT Provide virtualized ICT infra to customers like Amazon

More information

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System Abstract In this paper, we address the latency issue in RT- XEN virtual machines that are available in Xen 4.5. Despite the advantages of applying virtualization to systems, the default credit scheduler

More information

Janus: A-Cross-Layer Soft Real- Time Architecture for Virtualization

Janus: A-Cross-Layer Soft Real- Time Architecture for Virtualization Janus: A-Cross-Layer Soft Real- Time Architecture for Virtualization Raoul Rivas, Ahsan Arefin, Klara Nahrstedt UPCRC, University of Illinois at Urbana-Champaign Video Sharing, Internet TV and Teleimmersive

More information

Real-Time Internet of Things

Real-Time Internet of Things Real-Time Internet of Things Chenyang Lu Cyber-Physical Systems Laboratory h7p://www.cse.wustl.edu/~lu/ Internet of Things Ø Convergence of q Miniaturized devices: integrate processor, sensors and radios.

More information

RT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering

RT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering RT- Xen: Real- Time Virtualiza2on Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering Embedded Systems Ø Consolidate 100 ECUs à ~10 multicore processors. Ø Integrate

More information

RT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng

RT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng RT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering Real- Time Virtualiza2on for Cars Ø Consolidate

More information

Poris: A Scheduler for Parallel Soft Real-Time Applications in Virtualized Environments

Poris: A Scheduler for Parallel Soft Real-Time Applications in Virtualized Environments IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. X, NO. Y, MONTH YEAR 1 Poris: A Scheduler for Parallel Soft Real-Time Applications in Virtualized Environments Song Wu, Member, I EEE, Like Zhou,

More information

Implications of Cache Asymmetry on Server Consolidation Performance

Implications of Cache Asymmetry on Server Consolidation Performance Implications of ache Asymmetry on Server onsolidation Performance Presenter: Omesh Tickoo Padma Apparao, Ravi Iyer, Don Newell *Hardware Architecture Lab Intel orporation IISW 2008 1 Outline Server onsolidation

More information

An Efficient Virtual CPU Scheduling Algorithm for Xen Hypervisor in Virtualized Environment

An Efficient Virtual CPU Scheduling Algorithm for Xen Hypervisor in Virtualized Environment An Efficient Virtual CPU Scheduling Algorithm for Xen Hypervisor in Virtualized Environment Chia-Ying Tseng 1 and Po-Chun Huang 2 Department of Computer Science and Engineering, Tatung University #40,

More information

davidklee.net gplus.to/kleegeek linked.com/a/davidaklee

davidklee.net gplus.to/kleegeek linked.com/a/davidaklee @kleegeek davidklee.net gplus.to/kleegeek linked.com/a/davidaklee Specialties / Focus Areas / Passions: Performance Tuning & Troubleshooting Virtualization Cloud Enablement Infrastructure Architecture

More information

Tales of the Tail Hardware, OS, and Application-level Sources of Tail Latency

Tales of the Tail Hardware, OS, and Application-level Sources of Tail Latency Tales of the Tail Hardware, OS, and Application-level Sources of Tail Latency Jialin Li, Naveen Kr. Sharma, Dan R. K. Ports and Steven D. Gribble February 2, 2015 1 Introduction What is Tail Latency? What

More information

RT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering(

RT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering( RT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering( Real#Time(Virtualiza2on(! Cars are becoming real-time mini-clouds!!

More information

CFS-v: I/O Demand-driven VM Scheduler in KVM

CFS-v: I/O Demand-driven VM Scheduler in KVM CFS-v: Demand-driven VM Scheduler in KVM Hyotaek Shim and Sung-Min Lee (hyotaek.shim, sung.min.lee@samsung.com) Software R&D Center, Samsung Electronics 2014. 10. 16 Problem in Server Consolidation 2/16

More information

Virtual Asymmetric Multiprocessor for Interactive Performance of Consolidated Desktops

Virtual Asymmetric Multiprocessor for Interactive Performance of Consolidated Desktops Virtual Asymmetric Multiprocessor for Interactive Performance of Consolidated Desktops Hwanju Kim 12, Sangwook Kim 1, Jinkyu Jeong 1, and Joonwon Lee 1 Sungkyunkwan University 1 University of Cambridge

More information

Towards High-Availability for IP Telephony using Virtual Machines

Towards High-Availability for IP Telephony using Virtual Machines Towards High-Availability for IP Telephony using Virtual Machines Devdutt Patnaik, Ashish Bijlani College of Computing, Georgia Institute of Technology Atlanta, GA, USA {devdutt.patnaik, abijlani3}@gatech.edu

More information

RDMA-like VirtIO Network Device for Palacios Virtual Machines

RDMA-like VirtIO Network Device for Palacios Virtual Machines RDMA-like VirtIO Network Device for Palacios Virtual Machines Kevin Pedretti UNM ID: 101511969 CS-591 Special Topics in Virtualization May 10, 2012 Abstract This project developed an RDMA-like VirtIO network

More information

BlackBerry AtHoc Networked Crisis Communication Capacity Planning Guidelines. AtHoc SMS Codes

BlackBerry AtHoc Networked Crisis Communication Capacity Planning Guidelines. AtHoc SMS Codes BlackBerry AtHoc Networked Crisis Communication Capacity Planning Guidelines AtHoc SMS Codes Version Version 7.5, May 1.0, November 2018 2016 1 Copyright 2010 2018 BlackBerry Limited. All Rights Reserved.

More information

Double Threshold Based Load Balancing Approach by Using VM Migration for the Cloud Computing Environment

Double Threshold Based Load Balancing Approach by Using VM Migration for the Cloud Computing Environment www.ijecs.in International Journal Of Engineering And Computer Science ISSN:2319-7242 Volume 4 Issue 1 January 2015, Page No. 9966-9970 Double Threshold Based Load Balancing Approach by Using VM Migration

More information

Multi-Mode Virtualization for Soft Real-Time Systems

Multi-Mode Virtualization for Soft Real-Time Systems Multi-Mode Virtualization for Soft Real-Time Systems Haoran Li, Meng Xu, Chong Li, Chenyang Lu, Christopher Gill, Linh Phan, Insup Lee, Oleg Sokolsky Washington University in St. Louis, University of Pennsylvania

More information

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s) 1/32 CPU Scheduling The scheduling problem: - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s) When do we make decision? 2/32 CPU Scheduling Scheduling decisions may take

More information

CS 326: Operating Systems. CPU Scheduling. Lecture 6

CS 326: Operating Systems. CPU Scheduling. Lecture 6 CS 326: Operating Systems CPU Scheduling Lecture 6 Today s Schedule Agenda? Context Switches and Interrupts Basic Scheduling Algorithms Scheduling with I/O Symmetric multiprocessing 2/7/18 CS 326: Operating

More information

GPU Consolidation for Cloud Games: Are We There Yet?

GPU Consolidation for Cloud Games: Are We There Yet? GPU Consolidation for Cloud Games: Are We There Yet? Hua-Jun Hong 1, Tao-Ya Fan-Chiang 1, Che-Run Lee 1, Kuan-Ta Chen 2, Chun-Ying Huang 3, Cheng-Hsin Hsu 1 1 Department of Computer Science, National Tsing

More information

Practice Exercises 305

Practice Exercises 305 Practice Exercises 305 The FCFS algorithm is nonpreemptive; the RR algorithm is preemptive. The SJF and priority algorithms may be either preemptive or nonpreemptive. Multilevel queue algorithms allow

More information

Enhancement of Xen s Scheduler for MapReduce Workloads

Enhancement of Xen s Scheduler for MapReduce Workloads Enhancement of Xen s Scheduler for MapReduce Workloads Hui Kang (1) Yao Chen (1) Jennifer Wong (1) Radu Sion (1) Jason Wu (2) (1) CS Department SUNY Stony Brook University (2) CS Department Cornell University

More information

A Sizing Study of Microsoft Lync Server 2010 on a Virtualized Dell PowerEdge R720

A Sizing Study of Microsoft Lync Server 2010 on a Virtualized Dell PowerEdge R720 A Sizing Study of Microsoft Lync Server 2010 on a Virtualized Dell PowerEdge R720 Make the most of Dell hardware running Microsoft Lync Server Global Solutions Engineering Dell This document is for informational

More information

Scheduler Support for Video-oriented Multimedia on Client-side Virtualization

Scheduler Support for Video-oriented Multimedia on Client-side Virtualization Scheduler Support for Video-oriented Multimedia on Client-side Virtualization Hwanju Kim 1, Jinkyu Jeong 1, Jaeho Hwang 1, Joonwon Lee 2, and Seungryoul Maeng 1 Korea Advanced Institute of Science and

More information

Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud

Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud Sean Barker and Prashant Shenoy University of Massachusetts Amherst Department of Computer Science Cloud Computing! Cloud

More information

Implementation and Analysis of Large Receive Offload in a Virtualized System

Implementation and Analysis of Large Receive Offload in a Virtualized System Implementation and Analysis of Large Receive Offload in a Virtualized System Takayuki Hatori and Hitoshi Oi The University of Aizu, Aizu Wakamatsu, JAPAN {s1110173,hitoshi}@u-aizu.ac.jp Abstract System

More information

Who stole my CPU? Leonid Podolny Vineeth Remanan Pillai. Systems DigitalOcean

Who stole my CPU? Leonid Podolny Vineeth Remanan Pillai.  Systems DigitalOcean Who stole my CPU? Leonid Podolny Vineeth Remanan Pillai leonid@ vineeth@ Systems Engineering @ DigitalOcean 1 2 Introduction DigitalOcean Providing developers and businesses a reliable, easy-to-use cloud

More information

Chapter 5 C. Virtual machines

Chapter 5 C. Virtual machines Chapter 5 C Virtual machines Virtual Machines Host computer emulates guest operating system and machine resources Improved isolation of multiple guests Avoids security and reliability problems Aids sharing

More information

PROCESS SCHEDULING Operating Systems Design Euiseong Seo

PROCESS SCHEDULING Operating Systems Design Euiseong Seo PROCESS SCHEDULING 2017 Operating Systems Design Euiseong Seo (euiseong@skku.edu) Histogram of CPU Burst Cycles Alternating Sequence of CPU and IO Processor Scheduling Selects from among the processes

More information

Improving CPU Performance of Xen Hypervisor in Virtualized Environment

Improving CPU Performance of Xen Hypervisor in Virtualized Environment ISSN: 2393-8528 Contents lists available at www.ijicse.in International Journal of Innovative Computer Science & Engineering Volume 5 Issue 3; May-June 2018; Page No. 14-19 Improving CPU Performance of

More information

Managing Performance Variance of Applications Using Storage I/O Control

Managing Performance Variance of Applications Using Storage I/O Control Performance Study Managing Performance Variance of Applications Using Storage I/O Control VMware vsphere 4.1 Application performance can be impacted when servers contend for I/O resources in a shared storage

More information

Guest-Aware Priority-Based Virtual Machine Scheduling for Highly Consolidated Server

Guest-Aware Priority-Based Virtual Machine Scheduling for Highly Consolidated Server Guest-Aware Priority-Based Virtual Machine Scheduling for Highly Consolidated Server Dongsung Kim 1,HwanjuKim 1, Myeongjae Jeon 1, Euiseong Seo 2,andJoonwonLee 1 1 CS Department, Korea Advanced Institute

More information

Defeating network jitter for virtual machines

Defeating network jitter for virtual machines Title Defeating network for virtual machines Author(s) Cheng, L; Wang, CL; Di, S Citation The 4th IEEE International Conference on Utility and Cloud Computing (UCC 211), Victoria, NSW, 5-8 December 211.

More information

Task Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen

Task Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen Task Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen Aalto University School of Electrical Engineering Degree Programme in Communications Engineering Supervisor:

More information

Performance Analysis of Virtual Environments

Performance Analysis of Virtual Environments Performance Analysis of Virtual Environments Nikhil V Mishrikoti (nikmys@cs.utah.edu) Advisor: Dr. Rob Ricci Co-Advisor: Anton Burtsev 1 Introduction Motivation Virtual Machines (VMs) becoming pervasive

More information

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition Chapter 6: CPU Scheduling Silberschatz, Galvin and Gagne 2013 Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Real-Time

More information

Increasing Cloud Power Efficiency through Consolidation Techniques

Increasing Cloud Power Efficiency through Consolidation Techniques Increasing Cloud Power Efficiency through Consolidation Techniques Antonio Corradi, Mario Fanelli, Luca Foschini Dipartimento di Elettronica, Informatica e Sistemistica (DEIS) University of Bologna, Italy

More information

Operating Systems. Process scheduling. Thomas Ropars.

Operating Systems. Process scheduling. Thomas Ropars. 1 Operating Systems Process scheduling Thomas Ropars thomas.ropars@univ-grenoble-alpes.fr 2018 References The content of these lectures is inspired by: The lecture notes of Renaud Lachaize. The lecture

More information

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices www.citrix.com Table of Contents Overview... 3 Scalability... 3 Guidelines... 4 Operations...

More information

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s) CPU Scheduling The scheduling problem: - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s) When do we make decision? 1 / 31 CPU Scheduling new admitted interrupt exit terminated

More information

Towards Fair and Efficient SMP Virtual Machine Scheduling

Towards Fair and Efficient SMP Virtual Machine Scheduling Towards Fair and Efficient SMP Virtual Machine Scheduling Jia Rao and Xiaobo Zhou University of Colorado, Colorado Springs http://cs.uccs.edu/~jrao/ Executive Summary Problem: unfairness and inefficiency

More information

Benchmark Tests of Asterisk as a B2BUA

Benchmark Tests of Asterisk as a B2BUA Benchmark Tests of Asterisk as a B2BUA Astricon 28 Jim.Dalton@TransNexus.com Why Test Methodology Results Agenda V1.4, 32 bit Fedora, Dual Xeon-Dual Core V1.4, 64 bit Redhat, Xeon Quad Core V1.6, 64 bit

More information

Region Scheduling: Efficiently Using the Cache Architectures via Page-level Affinity

Region Scheduling: Efficiently Using the Cache Architectures via Page-level Affinity Region Scheduling: Efficiently Using the Cache Architectures via Page-level Affinity Min Lee, Karsten Schwan Georgia Institute of Technology Center for Experimental Research in Computer Systems Atlanta,

More information

Scheduling in Xen: Present and Near Future

Scheduling in Xen: Present and Near Future Scheduling in Xen: Present and Near Future Dario Faggioli dario.faggioli@citrix.com Cambridge 27th of May, 2015 Introduction Cambridge 27th of May, 2015 Scheduling in Xen: Present and Near Future 2 / 33

More information

The Hardware Realities of Virtualization

The Hardware Realities of Virtualization Quad-Core AMD Opteron Processors with AMD Virtualization (AMD-V ) Deliver Increased Scalability and Performance for Virtualized Citrix XenApp on XenServer. Virtualization is becoming a standard method

More information

TPC-E testing of Microsoft SQL Server 2016 on Dell EMC PowerEdge R830 Server and Dell EMC SC9000 Storage

TPC-E testing of Microsoft SQL Server 2016 on Dell EMC PowerEdge R830 Server and Dell EMC SC9000 Storage TPC-E testing of Microsoft SQL Server 2016 on Dell EMC PowerEdge R830 Server and Dell EMC SC9000 Storage Performance Study of Microsoft SQL Server 2016 Dell Engineering February 2017 Table of contents

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 10 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Chapter 6: CPU Scheduling Basic Concepts

More information

VM Migration, Containers (Lecture 12, cs262a)

VM Migration, Containers (Lecture 12, cs262a) VM Migration, Containers (Lecture 12, cs262a) Ali Ghodsi and Ion Stoica, UC Berkeley February 28, 2018 (Based in part on http://web.eecs.umich.edu/~mosharaf/slides/eecs582/w16/021516-junchenglivemigration.pptx)

More information

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware 2010 VMware Inc. All rights reserved About the Speaker Hemant Gaidhani Senior Technical

More information

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1 What s New in VMware vsphere 4.1 Performance VMware vsphere 4.1 T E C H N I C A L W H I T E P A P E R Table of Contents Scalability enhancements....................................................................

More information

ABSTRACT I. INTRODUCTION

ABSTRACT I. INTRODUCTION 2018 IJSRSET Volume 4 Issue 2 Print ISSN: 2395-1990 Online ISSN : 2394-4099 National Conference on Advanced Research Trends in Information and Computing Technologies (NCARTICT-2018), Department of IT,

More information

Meet the Increased Demands on Your Infrastructure with Dell and Intel. ServerWatchTM Executive Brief

Meet the Increased Demands on Your Infrastructure with Dell and Intel. ServerWatchTM Executive Brief Meet the Increased Demands on Your Infrastructure with Dell and Intel ServerWatchTM Executive Brief a QuinStreet Excutive Brief. 2012 Doing more with less is the mantra that sums up much of the past decade,

More information

CSCE Operating Systems Scheduling. Qiang Zeng, Ph.D. Fall 2018

CSCE Operating Systems Scheduling. Qiang Zeng, Ph.D. Fall 2018 CSCE 311 - Operating Systems Scheduling Qiang Zeng, Ph.D. Fall 2018 Resource Allocation Graph describing the traffic jam CSCE 311 - Operating Systems 2 Conditions for Deadlock Mutual Exclusion Hold-and-Wait

More information

Scalability Testing with Login VSI v16.2. White Paper Parallels Remote Application Server 2018

Scalability Testing with Login VSI v16.2. White Paper Parallels Remote Application Server 2018 Scalability Testing with Login VSI v16.2 White Paper Parallels Remote Application Server 2018 Table of Contents Scalability... 3 Testing the Scalability of Parallels RAS... 3 Configurations for Scalability

More information

vsphere Resource Management Update 1 11 JAN 2019 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

vsphere Resource Management Update 1 11 JAN 2019 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7 vsphere Resource Management Update 1 11 JAN 2019 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

Accelerating 4G Network Performance

Accelerating 4G Network Performance WHITE PAPER Accelerating 4G Network Performance OFFLOADING VIRTUALIZED EPC TRAFFIC ON AN OVS-ENABLED NETRONOME SMARTNIC NETRONOME AGILIO SMARTNICS PROVIDE A 5X INCREASE IN vepc BANDWIDTH ON THE SAME NUMBER

More information

Xen scheduler status. George Dunlap Citrix Systems R&D Ltd, UK

Xen scheduler status. George Dunlap Citrix Systems R&D Ltd, UK Xen scheduler status George Dunlap Citrix Systems R&D Ltd, UK george.dunlap@eu.citrix.com Goals for talk Understand the problem: Why a new scheduler? Understand reset events in credit1 and credit2 algorithms

More information

Cross-layer Optimization for Virtual Machine Resource Management

Cross-layer Optimization for Virtual Machine Resource Management Cross-layer Optimization for Virtual Machine Resource Management Ming Zhao, Arizona State University Lixi Wang, Amazon Yun Lv, Beihang Universituy Jing Xu, Google http://visa.lab.asu.edu Virtualized Infrastructures,

More information

A Performance Characterization of Microsoft SQL Server 2005 Virtual Machines on Dell PowerEdge Servers Running VMware ESX Server 3.

A Performance Characterization of Microsoft SQL Server 2005 Virtual Machines on Dell PowerEdge Servers Running VMware ESX Server 3. A Performance Characterization of Microsoft SQL Server 2005 Virtual Machines on Dell PowerEdge Servers Running VMware ESX Server 3.5 Todd Muirhead Dell Enterprise Technology Center www.delltechcenter.com

More information

Fairness Issues in Software Virtual Routers

Fairness Issues in Software Virtual Routers Fairness Issues in Software Virtual Routers Norbert Egi, Adam Greenhalgh, h Mark Handley, Mickael Hoerdt, Felipe Huici, Laurent Mathy Lancaster University PRESTO 2008 Presenter: Munhwan Choi Virtual Router

More information

Hyper-V Top performance and capacity tips

Hyper-V Top performance and capacity tips Hyper-V Top performance and capacity tips Introduction This paper discusses the changes in Windows/Hyper-V 2012 and what that means from the perspective of the business and managing the capacity. It will

More information

MEMORY REGION: A SYSTEM ABSTRACTION FOR MANAGING THE COMPLEX MEMORY STRUCTURES OF MULTICORE PLATFORMS

MEMORY REGION: A SYSTEM ABSTRACTION FOR MANAGING THE COMPLEX MEMORY STRUCTURES OF MULTICORE PLATFORMS MEMORY REGION: A SYSTEM ABSTRACTION FOR MANAGING THE COMPLEX MEMORY STRUCTURES OF MULTICORE PLATFORMS A Thesis Presented to The Academic Faculty by Min Lee In Partial Fulfillment of the Requirements for

More information

Session S : The Final Frontier?

Session S : The Final Frontier? Session S288993 Virtualizing Exchange 27: The Final Frontier? September 27 Todd Muirhead, Enterprise TechCenter, Dell Kong Yang, Virtualization ti Solution Engineering, Dell Some or all of the features

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 27 Virtualization Slides based on Various sources 1 1 Virtualization Why we need virtualization? The concepts and

More information

Consolidation of a Performance- Sensitive Application: Virtualizing Electronic Sports League s Gaming Infrastructure

Consolidation of a Performance- Sensitive Application: Virtualizing Electronic Sports League s Gaming Infrastructure Intel Xeon Processor 7400-based Server Consolidation of a Performance- Sensitive Application: Virtualizing Electronic Sports League s Gaming Infrastructure Abstract An end-user case study with Electronic

More information

Best Practices for Deploying a Mixed 1Gb/10Gb Ethernet SAN using Dell EqualLogic Storage Arrays

Best Practices for Deploying a Mixed 1Gb/10Gb Ethernet SAN using Dell EqualLogic Storage Arrays Dell EqualLogic Best Practices Series Best Practices for Deploying a Mixed 1Gb/10Gb Ethernet SAN using Dell EqualLogic Storage Arrays A Dell Technical Whitepaper Jerry Daugherty Storage Infrastructure

More information

Server Virtualization Approaches

Server Virtualization Approaches Server Virtualization Approaches Virtual Machine Applications Emulation Replication Composition Emulation: Mix-and-match cross-platform portability Replication: Multiple VMs on single platform Composition:

More information

International Journal of Computer & Organization Trends Volume5 Issue3 May to June 2015

International Journal of Computer & Organization Trends Volume5 Issue3 May to June 2015 Performance Analysis of Various Guest Operating Systems on Ubuntu 14.04 Prof. (Dr.) Viabhakar Pathak 1, Pramod Kumar Ram 2 1 Computer Science and Engineering, Arya College of Engineering, Jaipur, India.

More information

REAL PERFORMANCE RESULTS WITH VMWARE HORIZON AND VIEWPLANNER

REAL PERFORMANCE RESULTS WITH VMWARE HORIZON AND VIEWPLANNER April 4-7, 2016 Silicon Valley REAL PERFORMANCE RESULTS WITH VMWARE HORIZON AND VIEWPLANNER Manvender Rawat, NVIDIA Jason K. Lee, NVIDIA Uday Kurkure, VMware Inc. Overview of VMware Horizon 7 and NVIDIA

More information

AMD Opteron Processors In the Cloud

AMD Opteron Processors In the Cloud AMD Opteron Processors In the Cloud Pat Patla Vice President Product Marketing AMD DID YOU KNOW? By 2020, every byte of data will pass through the cloud *Source IDC 2 AMD Opteron In The Cloud October,

More information

8: Scheduling. Scheduling. Mark Handley

8: Scheduling. Scheduling. Mark Handley 8: Scheduling Mark Handley Scheduling On a multiprocessing system, more than one process may be available to run. The task of deciding which process to run next is called scheduling, and is performed by

More information

Virtualization and the Metrics of Performance & Capacity Management

Virtualization and the Metrics of Performance & Capacity Management 23 S September t b 2011 Virtualization and the Metrics of Performance & Capacity Management Has the world changed? Mark Preston Agenda Reality Check. General Observations Traditional metrics for a non-virtual

More information

On Admission of VoIP Calls Over Wireless Mesh Network

On Admission of VoIP Calls Over Wireless Mesh Network On Admission of VoIP Calls Over Wireless Mesh Network Hung-yu Wei Department of Electrical Engineering National Taiwan University Taipei, Taiwan {hywei}@ntu.edu.tw Kyungtae Kim, Anand Kashyap and Samrat

More information

Public Cloud Leverage For IT/Business Alignment Business Goals Agility to speed time to market, adapt to market demands Elasticity to meet demand whil

Public Cloud Leverage For IT/Business Alignment Business Goals Agility to speed time to market, adapt to market demands Elasticity to meet demand whil LHC2386BU True Costs Savings Modeling and Costing A Migration to VMware Cloud on AWS Chris Grossmeier chrisg@cloudphysics.com John Blumenthal john@cloudphysics.com #VMworld Public Cloud Leverage For IT/Business

More information

Avaya 132-S Avaya IP Telephony Design Elective.

Avaya 132-S Avaya IP Telephony Design Elective. Avaya 132-S-900.6 Avaya IP Telephony Design Elective http://killexams.com/exam-detail/132-s-900.6 A. fragmentation of the IP packet B. Frame Relay packet delivery intervals C. IP Packet Fast Ethernet (FE)

More information

GViM: GPU-accelerated Virtual Machines

GViM: GPU-accelerated Virtual Machines GViM: GPU-accelerated Virtual Machines Vishakha Gupta, Ada Gavrilovska, Karsten Schwan, Harshvardhan Kharche @ Georgia Tech Niraj Tolia, Vanish Talwar, Partha Ranganathan @ HP Labs Trends in Processor

More information

Chapter 5: CPU Scheduling

Chapter 5: CPU Scheduling Chapter 5: CPU Scheduling Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating Systems Examples Algorithm Evaluation

More information

Preserving I/O Prioritization in Virtualized OSes

Preserving I/O Prioritization in Virtualized OSes Preserving I/O Prioritization in Virtualized OSes Kun Suo 1, Yong Zhao 1, Jia Rao 1, Luwei Cheng 2, Xiaobo Zhou 3, Francis C. M. Lau 4 The University of Texas at Arlington 1, Facebook 2, University of

More information

Multi-core Computing Lecture 2

Multi-core Computing Lecture 2 Multi-core Computing Lecture 2 MADALGO Summer School 2012 Algorithms for Modern Parallel and Distributed Models Phillip B. Gibbons Intel Labs Pittsburgh August 21, 2012 Multi-core Computing Lectures: Progress-to-date

More information

Chapter 5: CPU Scheduling. Operating System Concepts Essentials 8 th Edition

Chapter 5: CPU Scheduling. Operating System Concepts Essentials 8 th Edition Chapter 5: CPU Scheduling Silberschatz, Galvin and Gagne 2011 Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating

More information

Keeping up with the hardware

Keeping up with the hardware Keeping up with the hardware Challenges in scaling I/O performance Jonathan Davies XenServer System Performance Lead XenServer Engineering, Citrix Cambridge, UK 18 Aug 2015 Jonathan Davies (Citrix) Keeping

More information

A Study of the Effectiveness of CPU Consolidation in a Virtualized Multi-Core Server System *

A Study of the Effectiveness of CPU Consolidation in a Virtualized Multi-Core Server System * A Study of the Effectiveness of CPU Consolidation in a Virtualized Multi-Core Server System * Inkwon Hwang and Massoud Pedram University of Southern California Los Angeles CA 989 {inkwonhw, pedram}@usc.edu

More information

Block Device Scheduling. Don Porter CSE 506

Block Device Scheduling. Don Porter CSE 506 Block Device Scheduling Don Porter CSE 506 Quick Recap CPU Scheduling Balance competing concerns with heuristics What were some goals? No perfect solution Today: Block device scheduling How different from

More information

Free up rack space by replacing old servers and storage

Free up rack space by replacing old servers and storage A Principled Technologies report: Hands-on testing. Real-world results. Free up rack space by replacing old servers and storage A 2U Dell PowerEdge FX2s and all-flash VMware vsan solution powered by Intel

More information

Cisco 4000 Series Integrated Services Routers: Architecture for Branch-Office Agility

Cisco 4000 Series Integrated Services Routers: Architecture for Branch-Office Agility White Paper Cisco 4000 Series Integrated Services Routers: Architecture for Branch-Office Agility The Cisco 4000 Series Integrated Services Routers (ISRs) are designed for distributed organizations with

More information

Analyze performance of the following voice codecs: G.711 Silence, G K, G K Silence, G K, G K, G.729A, G.

Analyze performance of the following voice codecs: G.711 Silence, G K, G K Silence, G K, G K, G.729A, G. Lab 3 TCOM631 Overview The goal of this lab is to teach you how simulation and modeling can be used in analyzing applications and networks. You will use Riverbed (OPNET) Modeler Academic Edition, simulation

More information

Parallels Remote Application Server. Scalability Testing with Login VSI

Parallels Remote Application Server. Scalability Testing with Login VSI Parallels Remote Application Server Scalability Testing with Login VSI Contents Introduction... 3 Scalability... 4 Testing the Scalability of Parallels RAS... 4 Configurations for Scalability Testing...

More information

Black-box and Gray-box Strategies for Virtual Machine Migration

Black-box and Gray-box Strategies for Virtual Machine Migration Full Review On the paper Black-box and Gray-box Strategies for Virtual Machine Migration (Time required: 7 hours) By Nikhil Ramteke Sr. No. - 07125 1. Introduction Migration is transparent to application

More information

Interrupt Coalescing in Xen

Interrupt Coalescing in Xen Interrupt Coalescing in Xen with Scheduler Awareness Michael Peirce & Kevin Boos Outline Background Hypothesis vic-style Interrupt Coalescing Adding Scheduler Awareness Evaluation 2 Background Xen split

More information

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp Planning Guide: Virtualization Best Practices

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp Planning Guide: Virtualization Best Practices Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp Planning Guide: Virtualization Best Practices www.citrix.com Overview Desktop virtualization comprises of many different types of virtual desktops.

More information

vsphere Resource Management

vsphere Resource Management Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition.

More information

Scheduling. Today. Next Time Process interaction & communication

Scheduling. Today. Next Time Process interaction & communication Scheduling Today Introduction to scheduling Classical algorithms Thread scheduling Evaluating scheduling OS example Next Time Process interaction & communication Scheduling Problem Several ready processes

More information

CHAPTER 6 STATISTICAL MODELING OF REAL WORLD CLOUD ENVIRONMENT FOR RELIABILITY AND ITS EFFECT ON ENERGY AND PERFORMANCE

CHAPTER 6 STATISTICAL MODELING OF REAL WORLD CLOUD ENVIRONMENT FOR RELIABILITY AND ITS EFFECT ON ENERGY AND PERFORMANCE 143 CHAPTER 6 STATISTICAL MODELING OF REAL WORLD CLOUD ENVIRONMENT FOR RELIABILITY AND ITS EFFECT ON ENERGY AND PERFORMANCE 6.1 INTRODUCTION This chapter mainly focuses on how to handle the inherent unreliability

More information

Automatic NUMA Balancing. Rik van Riel, Principal Software Engineer, Red Hat Vinod Chegu, Master Technologist, HP

Automatic NUMA Balancing. Rik van Riel, Principal Software Engineer, Red Hat Vinod Chegu, Master Technologist, HP Automatic NUMA Balancing Rik van Riel, Principal Software Engineer, Red Hat Vinod Chegu, Master Technologist, HP Automatic NUMA Balancing Agenda What is NUMA, anyway? Automatic NUMA balancing internals

More information

Job sample: SCOPE (VLDBJ, 2012)

Job sample: SCOPE (VLDBJ, 2012) Apollo High level SQL-Like language The job query plan is represented as a DAG Tasks are the basic unit of computation Tasks are grouped in Stages Execution is driven by a scheduler Job sample: SCOPE (VLDBJ,

More information

vsphere Resource Management Update 2 VMware vsphere 5.5 VMware ESXi 5.5 vcenter Server 5.5

vsphere Resource Management Update 2 VMware vsphere 5.5 VMware ESXi 5.5 vcenter Server 5.5 vsphere Resource Management Update 2 VMware vsphere 5.5 VMware ESXi 5.5 vcenter Server 5.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If

More information

CS Computer Systems. Lecture 6: Process Scheduling

CS Computer Systems. Lecture 6: Process Scheduling CS 5600 Computer Systems Lecture 6: Process Scheduling Scheduling Basics Simple Schedulers Priority Schedulers Fair Share Schedulers Multi-CPU Scheduling Case Study: The Linux Kernel 2 Setting the Stage

More information

LECTURE 3:CPU SCHEDULING

LECTURE 3:CPU SCHEDULING LECTURE 3:CPU SCHEDULING 1 Outline Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time CPU Scheduling Operating Systems Examples Algorithm Evaluation 2 Objectives

More information