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

Size: px
Start display at page:

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

Transcription

1 CFS-v: Demand-driven VM Scheduler in KVM Hyotaek Shim and Sung-Min Lee (hyotaek.shim, Software R&D Center, Samsung Electronics

2 Problem in Server Consolidation 2/16 bound VMs are often co-located with computing bound VMs on the same physical machine To avoid significant performance interference from computing-andcomputing VMs or -and- VMs Comp. Comp. Comp. Comp. Guest Kernel Guest Kernel Guest Kernel Guest Kernel KVM KVM Physical Machine Physical Machine TRACON: Interference-Aware Scheduling for Data-Intensive Applications in Virtualized Environment (SC 11) Understanding Performance Interference of Workload in Virtualized Cloud Environments (CLOUD 10)

3 Problem in Server Consolidation 3/16 performance is still interfered with co-running computing bound VMs Also when computing and tasks coexist on the same VM Performance Degradation Performance Degradation Performance Degradation Performance Degradation Comp. Comp. Comp. Comp. Guest Kernel Guest Kernel Guest Kernel Guest Kernel KVM KVM Physical Machine Physical Machine

4 Performance Evaluation of CFS in KVM 4/16 performance interference by computing tasks Mixed (4 VMs): four VMs, each of which has 8 tasks and 1~4 comp. tasks Separate (2 VMs): VM1 (32 tasks), VM2 (16 Comp. tasks) No Interference without computing tasks No Degradation at all regardless of computing threads IOPS (4KB Random Read) VM (Mixed) VM (Mixed, 4C) VM (Mixed, 8C) VM (Mixed, 16C) VM (Separate) Native Linux Native Linux (4C) Native Linux (8C) Native Linux (16C)

5 Performance Evaluation of CFS in KVM 5/16 CPU utilization of VMs(Mixed) and Native Linux Ratio (%) 100% 80% 60% 40% Without C-Threads idle iowait guest+steal sys+irq+soft user+nice Ratio (%) 100% 80% 60% 40% With 4 C-Threads idle iowait guest+steal sys+irq+soft user+nice 20% 20% 0% Host VM1 VM2 VM3 VM4 Linux 0% Host VM1 VM2 VM3 VM4 Linux Ratio (%) 100% 80% 60% 40% With 8 C-Threads idle iowait guest+steal sys+irq+soft user+nice Ratio (%) 100% 80% 60% 40% With 16 C-Threads idle iowait guest+steal sys+irq+soft user+nice 20% 20% 0% Host VM1 VM2 VM3 VM4 Linux 0% Host VM1 VM2 VM3 VM4 Linux

6 CFS in Native Linux 6/16 In native Linux CFS, -bound tasks could repeatedly preempt computing-bound tasks while consuming a small time slice Wakeup & Preemption Wakeup & Preemption Wakeup & Preemption Wakeup & Preemption I O Comp. I O Comp. I O Comp. I O Comp. I O Comp. What if an bound task repeatedly fail to preempt the current task? Wakeup & Fail to preempt Wakeup & Fail to preempt I O Comp. I O Comp. Time Line

7 Path of Virtio-blk 7/16 Five different kinds of tasks are involved for handling a virtio-blk request Each task may be woken up just before handling their job (totally, up to five wake-ups) Main Loop Thread Bdrv Request Worker Thread Vring Interrupt VCPU0 Thread RESCHEDULE IPI VCPU1 Thread Event Interrupt (Intr.+Softirq) Idle Request PCPU0 PCPU1 PCPU2 PCPU3 Host Kernel Softirq Event (ioeventfd)

8 Problem of CFS on VM scheduling 8/16 In CFS group scheduling, VMs are deployed in different groups (runqueues) Group entity of woken-up related threads often fail to preempt the group entity of computing VCPUs CFS Runqueue Woken-up but fails to preempt Sched Entity Sched Entity CFS Runqueue CFS Runqueue Event Interrupt Request Event Computing Computing Main Loop Thread Worker Thread VCPU0 VCPU1 Current VCPU0 VCPU1

9 Preemption Rule of CFS 9/16 Vruntime Compensation When a schedule entity is woken up, the entity s Vruntime is reset to minimum Vruntime in its runqueue - threshold(e.g., ) The reset Vruntime is not small enough to preempt the current computing task Weight and Grain Schedule entity for a group of bound VM tasks has a relatively small Weight due to CPU consumption, which results in large Grain If woken-up sched entity s Vruntime is smaller than Current sched entity s Vruntime + Grain, then preempt the current task! Grain is calculated by Weight of the woken-up

10 CFS-v: Boosting Related Tasks 10/16 CFS-v detects bound VCPU tasks by using a 2-bit count If a woken-up task consumes CPU less than 500us, increases by 1 If it consumes time slice more than 1ms, the count decreases by 1 The count is larger than or equal to 2, the VCPU is related Main loop, worker, and softirq threads are considered related A woken-up related task can always preempt non related tasks Next task Boost Queue CFS Runqueue CFS Runqueue Event Interrupt Request Computing Computing Computing Computing Main Loop Thread Worker Thread VCPU0 VCPU1 VCPU0 VCPU1 VCPU0 VCPU1

11 CFS-v: Partial Boosting 11/16 VCPU that has both and computing tasks is not considered as bound and thus cannot be boosted with the previous boosting algorithm What if CFS-v boosts such a VCPU? The VCPU will not return CPU shortly due to computing tasks bound Task Current task in VCPU0 CFS Runqueue Performance Degradation C Computing bound Task Runqueue Runqueue Wait (in the wait queue) Running Comp. Ready but not running CFS Scheduler Guest VM Kernel CFS Scheduler Guest VM Kernel VCPU0 VCPU1

12 CFS-v: Partial Boosting 12/16 Even for a non related VCPU, if it receives Vring Interrupt or RESCHEDULE IPI, it is partially boosted within 200us time slice After a timer interrupt, the partially-boosted VCPU returns CPU Timer (200us) CFS Runqueue Sched Entity Sched Entity Sched Entity Com Com Com Com Com VCPU Task VCPU Task VCPU Task VCPU Task Boost Queue (Partial Boosting in Xen) Task-aware Virtual Machine Scheduling for IO Performance (VEE '09)

13 Performance Evaluation 13/16 Evaluation Environment Host: Intel(R) Core(TM) i CPU 3.40GHz (8 Cores), 12GB DRAM, kernel Guest VMs: kernel , 8 Cores, 512MB DRAM» Running on a QCOW2 image, sharing a hard disk» Storage benchmark on RAW, sharing a Samsung 256GB SSD 840pro 2.1, Virtio-blk We modified the host kernel and to implement CFS-v Micro benchmark Storage benchmark 4KB O_DIRECT mode random read Host kernel s page cache is also disabled Computing benchmark MD5 Hashing

14 Performance Evaluation 14/16 Separate 2VMs: co-running 2 VMs that execute and computing workloads, respectively VM1: 32 random read threads VM2: 16 MD5 hashing threads CFS-v improves the storage performance of VM1 by 764%, while reduces the computing performance of VM2 by 30.1% CFS-v has also raised the CPU util. of VM1 from 46% to 273%

15 Performance Evaluation 15/16 Mixed 2VMs: co-running 2 VMs, each of which is running 16 random read threads and 8 MD5 hashing threads CFS-v improves the storage performance by 93% and reduces the computing performance by only 9%

16 Summary 16/16 CFS-v enhances the overall resource efficiency of server consolidation Enables KVM to detect related and system tasks and to boost them ahead of computing tasks By using partial boosting, CFS-v can also timely and momentary boost bound tasks inside a VCPU running mixed workloads CFS-v highly improves the performance of VMs in exchange for little degradation on the computing performance

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

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

Storage Performance Tuning for FAST! Virtual Machines

Storage Performance Tuning for FAST! Virtual Machines Storage Performance Tuning for FAST! Virtual Machines Fam Zheng Senior Software Engineer LC3-2018 Outline Virtual storage provisioning NUMA pinning VM configuration options Summary Appendix 2 Virtual storage

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

Applying Polling Techniques to QEMU

Applying Polling Techniques to QEMU Applying Polling Techniques to QEMU Reducing virtio-blk I/O Latency Stefan Hajnoczi KVM Forum 2017 Agenda Problem: Virtualization overhead is significant for high IOPS devices QEMU

More information

MultiLanes: Providing Virtualized Storage for OS-level Virtualization on Many Cores

MultiLanes: Providing Virtualized Storage for OS-level Virtualization on Many Cores MultiLanes: Providing Virtualized Storage for OS-level Virtualization on Many Cores Junbin Kang, Benlong Zhang, Tianyu Wo, Chunming Hu, and Jinpeng Huai Beihang University 夏飞 20140904 1 Outline Background

More information

Virtio-blk Performance Improvement

Virtio-blk Performance Improvement Virtio-blk Performance Improvement Asias He , Red Hat Nov 8, 2012, Barcelona, Spain KVM FORUM 2012 1 Storage transport choices in KVM Full virtualization : IDE, SATA, SCSI Good guest

More information

Userspace NVMe Driver in QEMU

Userspace NVMe Driver in QEMU Userspace NVMe Driver in QEMU Fam Zheng Senior Software Engineer KVM Form 2017, Prague About NVMe Non-Volatile Memory Express A scalable host interface specification like SCSI and virtio Up to 64k I/O

More information

Changpeng Liu, Cloud Software Engineer. Piotr Pelpliński, Cloud Software Engineer

Changpeng Liu, Cloud Software Engineer. Piotr Pelpliński, Cloud Software Engineer Changpeng Liu, Cloud Software Engineer Piotr Pelpliński, Cloud Software Engineer Introduction to VirtIO and Vhost SPDK Vhost Architecture Use cases for vhost Benchmarks Next steps QEMU VIRTIO Vhost (KERNEL)

More information

Scheduler Activations for Interference-Resilient SMP Virtual Machine Scheduling

Scheduler Activations for Interference-Resilient SMP Virtual Machine Scheduling Scheduler Activations for Interference-Resilient SMP Virtual Machine Scheduling Yong Zhao 1, Kun Suo 1, Luwei Cheng 2, and Jia Rao 1 1 The University of Texas at Arlington, {yong.zhao, kuo.suo, jia.rao}@uta.edu

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

AutoNUMA Red Hat, Inc.

AutoNUMA Red Hat, Inc. AutoNUMA Red Hat, Inc. Andrea Arcangeli aarcange at redhat.com 1 Apr 2012 AutoNUMA components knuma_scand If stopped, everything stops Triggers the chain reaction when started NUMA hinting page faults

More information

Falcon: Scaling IO Performance in Multi-SSD Volumes. The George Washington University

Falcon: Scaling IO Performance in Multi-SSD Volumes. The George Washington University Falcon: Scaling IO Performance in Multi-SSD Volumes Pradeep Kumar H Howie Huang The George Washington University SSDs in Big Data Applications Recent trends advocate using many SSDs for higher throughput

More information

Performance Optimization on Huawei Public and Private Cloud

Performance Optimization on Huawei Public and Private Cloud Performance Optimization on Huawei Public and Private Cloud Jinsong Liu Lei Gong Agenda Optimization for LHP Balance scheduling RTC optimization 2 Agenda

More information

CHALLENGES FOR NEXT GENERATION FOG AND IOT COMPUTING: PERFORMANCE OF VIRTUAL MACHINES ON EDGE DEVICES WEDNESDAY SEPTEMBER 14 TH, 2016 MARK DOUGLAS

CHALLENGES FOR NEXT GENERATION FOG AND IOT COMPUTING: PERFORMANCE OF VIRTUAL MACHINES ON EDGE DEVICES WEDNESDAY SEPTEMBER 14 TH, 2016 MARK DOUGLAS CHALLENGES FOR NEXT GENERATION FOG AND IOT COMPUTING: PERFORMANCE OF VIRTUAL MACHINES ON EDGE DEVICES WEDNESDAY SEPTEMBER 14 TH, 2016 MARK DOUGLAS Agenda Challenges to Intelligent Edge devices what s driving

More information

Tackling the Management Challenges of Server Consolidation on Multi-core System

Tackling the Management Challenges of Server Consolidation on Multi-core System Tackling the Management Challenges of Server Consolidation on Multi-core System Hui Lv (hui.lv@intel.com) Intel June. 2011 1 Agenda SPECvirt_sc2010* Introduction SPECvirt_sc2010* Workload Scalability Analysis

More information

Real-Time Cache Management for Multi-Core Virtualization

Real-Time Cache Management for Multi-Core Virtualization Real-Time Cache Management for Multi-Core Virtualization Hyoseung Kim 1,2 Raj Rajkumar 2 1 University of Riverside, California 2 Carnegie Mellon University Benefits of Multi-Core Processors Consolidation

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

<Insert Picture Here> Boost Linux Performance with Enhancements from Oracle

<Insert Picture Here> Boost Linux Performance with Enhancements from Oracle Boost Linux Performance with Enhancements from Oracle Chris Mason Director of Linux Kernel Engineering Linux Performance on Large Systems Exadata Hardware How large systems are different

More information

Virtuozzo Hyperconverged Platform Uses Intel Optane SSDs to Accelerate Performance for Containers and VMs

Virtuozzo Hyperconverged Platform Uses Intel Optane SSDs to Accelerate Performance for Containers and VMs Solution brief Software-Defined Data Center (SDDC) Hyperconverged Platforms Virtuozzo Hyperconverged Platform Uses Intel Optane SSDs to Accelerate Performance for Containers and VMs Virtuozzo benchmark

More information

You know us individually, but do you know Linchpin People?

You know us individually, but do you know Linchpin People? queezing op Performance from your Virtualized QL erver David lee, Group Principal and Practice Lead I-380 P, December 10 2013 1 You know us individually, but do you know Linchpin People? Linchpin People

More information

Performance Evaluation of Live Migration based on Xen ARM PVH for Energy-efficient ARM Server

Performance Evaluation of Live Migration based on Xen ARM PVH for Energy-efficient ARM Server Performance Evaluation of Live Migration based on Xen ARM PVH for Energy-efficient ARM Server 2013-10-24 Jaeyong Yoo, Sangdok Mo, Sung-Min Lee, ChanJu Park, Ivan Bludov, Nikolay Martyanov Software R&D

More information

Emulex LPe16000B 16Gb Fibre Channel HBA Evaluation

Emulex LPe16000B 16Gb Fibre Channel HBA Evaluation Demartek Emulex LPe16000B 16Gb Fibre Channel HBA Evaluation Evaluation report prepared under contract with Emulex Executive Summary The computing industry is experiencing an increasing demand for storage

More information

Nested Virtualization and Server Consolidation

Nested Virtualization and Server Consolidation Nested Virtualization and Server Consolidation Vara Varavithya Department of Electrical Engineering, KMUTNB varavithya@gmail.com 1 Outline Virtualization & Background Nested Virtualization Hybrid-Nested

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

Tuning Your SUSE Linux Enterprise Virtualization Stack. Jim Fehlig Software Engineer

Tuning Your SUSE Linux Enterprise Virtualization Stack. Jim Fehlig Software Engineer Tuning Your SUSE Linux Enterprise Virtualization Stack Jim Fehlig Software Engineer jfehlig@suse.com Agenda General guidelines Network Disk CPU Memory NUMA 2 General Guidelines Minimize software installed

More information

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3.

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3. OVERVIEW Last Week: Scheduling Algorithms Real-time systems Today: But if frequency of high priority task increases temporarily, system may encounter overload: Yet another real-time scheduling algorithm

More information

IN the cloud, the number of virtual CPUs (VCPUs) in a virtual

IN the cloud, the number of virtual CPUs (VCPUs) in a virtual IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 28, NO. 7, JULY 2017 1811 APPLES: Efficiently Handling Spin-lock Synchronization on Virtualized Platforms Jianchen Shan, Xiaoning Ding, and Narain

More information

Toward SLO Complying SSDs Through OPS Isolation

Toward SLO Complying SSDs Through OPS Isolation Toward SLO Complying SSDs Through OPS Isolation October 23, 2015 Hongik University UNIST (Ulsan National Institute of Science & Technology) Sam H. Noh 1 Outline Part 1: FAST 2015 Part 2: Beyond FAST 2

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

KVM / QEMU Storage Stack Performance Discussion

KVM / QEMU Storage Stack Performance Discussion 2010 Linux Plumbers Conference KVM / QEMU Storage Stack Performance Discussion Speakers: Khoa Huynh khoa@us.ibm.com Stefan Hajnoczi stefan.hajnoczi@uk.ibm.com IBM Linux Technology Center 2010 IBM Corporation

More information

Duy Le (Dan) - The College of William and Mary Hai Huang - IBM T. J. Watson Research Center Haining Wang - The College of William and Mary

Duy Le (Dan) - The College of William and Mary Hai Huang - IBM T. J. Watson Research Center Haining Wang - The College of William and Mary Duy Le (Dan) - The College of William and Mary Hai Huang - IBM T. J. Watson Research Center Haining Wang - The College of William and Mary Virtualization Games Videos Web Games Programming File server

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 and Francis C. M. Lau 4 1 University of Texas at Arlington, {kun.suo, yong.zhao, jia.rao}@uta.edu

More information

Scheduling, part 2. Don Porter CSE 506

Scheduling, part 2. Don Porter CSE 506 Scheduling, part 2 Don Porter CSE 506 Logical Diagram Binary Memory Formats Allocators Threads Today s Lecture Switching System to CPU Calls RCU scheduling File System Networking Sync User Kernel Memory

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

Dongjun Shin Samsung Electronics

Dongjun Shin Samsung Electronics 2014.10.31. Dongjun Shin Samsung Electronics Contents 2 Background Understanding CPU behavior Experiments Improvement idea Revisiting Linux I/O stack Conclusion Background Definition 3 CPU bound A computer

More information

Changpeng Liu. Cloud Storage Software Engineer. Intel Data Center Group

Changpeng Liu. Cloud Storage Software Engineer. Intel Data Center Group Changpeng Liu Cloud Storage Software Engineer Intel Data Center Group Notices & Disclaimers Intel technologies features and benefits depend on system configuration and may require enabled hardware, software

More information

Subject Name:Operating system. Subject Code:10EC35. Prepared By:Remya Ramesan and Kala H.S. Department:ECE. Date:

Subject Name:Operating system. Subject Code:10EC35. Prepared By:Remya Ramesan and Kala H.S. Department:ECE. Date: Subject Name:Operating system Subject Code:10EC35 Prepared By:Remya Ramesan and Kala H.S. Department:ECE Date:24-02-2015 UNIT 1 INTRODUCTION AND OVERVIEW OF OPERATING SYSTEM Operating system, Goals of

More information

CPU Scheduling. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University

CPU Scheduling. Operating Systems (Fall/Winter 2018) Yajin Zhou (  Zhejiang University Operating Systems (Fall/Winter 2018) CPU Scheduling Yajin Zhou (http://yajin.org) Zhejiang University Acknowledgement: some pages are based on the slides from Zhi Wang(fsu). Review Motivation to use threads

More information

Squeezing Top Performance from your Virtualized SQL Server. David Klee, Group Principal and Practice Lead. Lincoln SQL Server User Group,

Squeezing Top Performance from your Virtualized SQL Server. David Klee, Group Principal and Practice Lead. Lincoln SQL Server User Group, queezing op Performance from your Virtualized QL erver David lee, Group Principal and Practice Lead Lincoln QL erver User Group, 2014.02.06 1 David lee Group Principal and Practice Lead @kleegeek davidklee.net

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

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

Comparison of Storage Protocol Performance ESX Server 3.5

Comparison of Storage Protocol Performance ESX Server 3.5 Performance Study Comparison of Storage Protocol Performance ESX Server 3.5 This study provides performance comparisons of various storage connection options available to VMware ESX Server. We used the

More information

MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through

MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through Bo Peng 1,2, Haozhong Zhang 2, Jianguo Yao 1, Yaozu Dong 2, Yu Xu 1, Haibing Guan 1 1 Shanghai Key Laboratory of Scalable Computing

More information

Scheduling (Win 2K) CSE Computer Systems November 21, 2001

Scheduling (Win 2K) CSE Computer Systems November 21, 2001 Scheduling (Win 2K) CSE 410 - Computer Systems November 21, 2001 Reading Readings and References Chapter 6, Section 6.7.2, Operating System Concepts, Silberschatz, Galvin, and Gagne Other References Chapter

More information

A comparison of performance between KVM and Docker instances in OpenStack

A comparison of performance between KVM and Docker instances in OpenStack A comparison of performance between KVM and Docker instances in OpenStack Wataru Takase High Energy Accelerator Research Organiza on (KEK), Japan HEPiX Fall 2015 Workshop at BNL 1 KEK site will become

More information

You know us individually, but do you know Linchpin People?

You know us individually, but do you know Linchpin People? queezing op Performance from your Virtualized QL erver David lee, Group Principal and Practice Lead Chicago QL erver Users Group, November 14 2014 1 You know us individually, but do you know Linchpin People?

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

Virtualization at Scale in SUSE Linux Enterprise Server

Virtualization at Scale in SUSE Linux Enterprise Server Virtualization at Scale in SUSE Linux Enterprise Server Jim Fehlig Software Engineer jfehlig@suse.com Agenda General guidelines Network guidelines Disk guidelines CPU and memory guidelines NUMA guidelines

More information

Squeezing Top Performance From Your Virtualized SQL Server

Squeezing Top Performance From Your Virtualized SQL Server queezing op Performance From Your Virtualized QL erver Omaha QL erver Users Group 2014.03.05 bout Heraflux echnologies Consulting services focused around mission-critical data reas of Focus: Health and

More information

Micro-sliced Virtual Processors to Hide the Effect of Discontinuous CPU Availability for Consolidated Systems

Micro-sliced Virtual Processors to Hide the Effect of Discontinuous CPU Availability for Consolidated Systems Micro-sliced Virtual Processors to Hide the Effect of Discontinuous CPU Availability for Consolidated Systems Jeongseob Ahn, Chang Hyun Park, and Jaehyuk Huh Computer Science Department, KAIST {jeongseob,

More information

Scheduling in the Supermarket

Scheduling in the Supermarket Scheduling in the Supermarket Consider a line of people waiting in front of the checkout in the grocery store. In what order should the cashier process their purchases? Scheduling Criteria CPU utilization

More information

ZBD: Using Transparent Compression at the Block Level to Increase Storage Space Efficiency

ZBD: Using Transparent Compression at the Block Level to Increase Storage Space Efficiency ZBD: Using Transparent Compression at the Block Level to Increase Storage Space Efficiency Thanos Makatos, Yannis Klonatos, Manolis Marazakis, Michail D. Flouris, and Angelos Bilas {mcatos,klonatos,maraz,flouris,bilas}@ics.forth.gr

More information

INTEGRATING HPFS IN A CLOUD COMPUTING ENVIRONMENT

INTEGRATING HPFS IN A CLOUD COMPUTING ENVIRONMENT INTEGRATING HPFS IN A CLOUD COMPUTING ENVIRONMENT Abhisek Pan 2, J.P. Walters 1, Vijay S. Pai 1,2, David Kang 1, Stephen P. Crago 1 1 University of Southern California/Information Sciences Institute 2

More information

A Fine-grained Performance-based Decision Model for Virtualization Application Solution

A Fine-grained Performance-based Decision Model for Virtualization Application Solution A Fine-grained Performance-based Decision Model for Virtualization Application Solution Jianhai Chen College of Computer Science Zhejiang University Hangzhou City, Zhejiang Province, China 2011/08/29 Outline

More information

KVM Virtualized I/O Performance

KVM Virtualized I/O Performance KVM Virtualized I/O Performance Achieving Leadership I/O Performance Using Virtio- Blk-Data-Plane Technology Preview in Red Hat Enterprise Linux 6.4 Khoa Huynh, Ph.D. - Linux Technology Center, IBM Andrew

More information

EVALUATING WINDOWS 10: LEARN WHY YOUR USERS NEED GPU ACCELERATION

EVALUATING WINDOWS 10: LEARN WHY YOUR USERS NEED GPU ACCELERATION EVALUATING WINDOWS 10: LEARN WHY YOUR USERS NEED GPU ACCELERATION Erik Bohnhorst, Manager, ProViz Performance Engineering, NVIDIA Nachiket Karmarkar, Senior Performance Engineer, NVIDIA WINDOWS 10 VDI

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

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

Course Review. Hui Lu

Course Review. Hui Lu Course Review Hui Lu Syllabus Cloud computing Server virtualization Network virtualization Storage virtualization Cloud operating system Object storage Syllabus Server Virtualization Network Virtualization

More information

Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit

Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit Jim Harris Principal Software Engineer Intel Data Center Group Santa Clara, CA August 2017 1 Notices and Disclaimers Intel technologies

More information

A Virtual Storage Environment for SSDs and HDDs in Xen Hypervisor

A Virtual Storage Environment for SSDs and HDDs in Xen Hypervisor A Virtual Storage Environment for SSDs and HDDs in Xen Hypervisor Yu-Jhang Cai*,Chih-kai Kang+, and Chin-Hsien Wu* *National Taiwan University of Science and Technology +Research Center for Information

More information

Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan

Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan Agenda OLTP status quo Goal System environments Tuning and optimization MySQL Server results Percona Server

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

Power Efficiency of Hypervisor and Container-based Virtualization

Power Efficiency of Hypervisor and Container-based Virtualization Power Efficiency of Hypervisor and Container-based Virtualization University of Amsterdam MSc. System & Network Engineering Research Project II Jeroen van Kessel 02-02-2016 Supervised by: dr. ir. Arie

More information

Changpeng Liu. Senior Storage Software Engineer. Intel Data Center Group

Changpeng Liu. Senior Storage Software Engineer. Intel Data Center Group Changpeng Liu Senior Storage Software Engineer Intel Data Center Group Legal Notices and Disclaimers Intel technologies features and benefits depend on system configuration and may require enabled hardware,

More information

Enabling Cost-effective Data Processing with Smart SSD

Enabling Cost-effective Data Processing with Smart SSD Enabling Cost-effective Data Processing with Smart SSD Yangwook Kang, UC Santa Cruz Yang-suk Kee, Samsung Semiconductor Ethan L. Miller, UC Santa Cruz Chanik Park, Samsung Electronics Efficient Use of

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

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

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

Enhancing Linux Scheduler Scalability

Enhancing Linux Scheduler Scalability Enhancing Linux Scheduler Scalability Mike Kravetz IBM Linux Technology Center Hubertus Franke, Shailabh Nagar, Rajan Ravindran IBM Thomas J. Watson Research Center {mkravetz,frankeh,nagar,rajancr}@us.ibm.com

More information

gscale: Scaling up GPU Virtualization with Dynamic Sharing of Graphics Memory Space

gscale: Scaling up GPU Virtualization with Dynamic Sharing of Graphics Memory Space gscale: Scaling up GPU Virtualization with Dynamic Sharing of Graphics Memory Space Mochi Xue Shanghai Jiao Tong University Intel Corporation GPU in Cloud GPU Cloud is introduced to meet the high demand

More information

It s. slow! SQL Saturday. Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1. Database. Firewall Load Balancer.

It s. slow! SQL Saturday. Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1. Database. Firewall Load Balancer. App request Web Server Firewall Load Balancer Web Server App Server Report Server Desktop App Desktop App Desktop App Desktop App Web Server Database It s FG1 FG2 Log MDF NDF NDF NDF LDF SQL Server Instance

More information

Synchronization-Aware Scheduling for Virtual Clusters in Cloud

Synchronization-Aware Scheduling for Virtual Clusters in Cloud TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS Synchronization-Aware Scheduling for Virtual Clusters in Cloud Song Wu, Member, IEEE, Haibao Chen, Sheng Di, Member, IEEE, Bingbing Zhou, Zhenjiang Xie,

More information

Improving Performance by Bridging the Semantic Gap between Multi-queue SSD and I/O Virtualization Framework

Improving Performance by Bridging the Semantic Gap between Multi-queue SSD and I/O Virtualization Framework Improving Performance by Bridging the Semantic Gap between Multi-queue SSD and I/O Virtualization Framework Tae Yong Kim *, Dong Hyun Kang *, Dongwoo Lee *, Young Ik Eom * * College of Information and

More information

Interrupts, Etc. Operating Systems In Depth V 1 Copyright 2018 Thomas W. Doeppner. All rights reserved.

Interrupts, Etc. Operating Systems In Depth V 1 Copyright 2018 Thomas W. Doeppner. All rights reserved. Interrupts, Etc. Operating Systems In Depth V 1 Copyright 2018 Thomas W. Doeppner. All rights reserved. Interrupts User stack frames Kernel stack frames Interrupt handler 1 s frame Interrupt handler 2

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

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

Sizing & Quotation for Sangfor HCI Technical Training

Sizing & Quotation for Sangfor HCI Technical Training Sizing & Quotation for Sangfor HCI Technical Training Cheney 2017.5 sales@sangfor.com www.sangfor.com HCI Solution Composition Software asv (mandatory) + anet + asan +NFV Hardware CPU Memory Disk NIC Page

More information

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4 W H I T E P A P E R Comparison of Storage Protocol Performance in VMware vsphere 4 Table of Contents Introduction................................................................... 3 Executive Summary............................................................

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

Exploring System Challenges of Ultra-Low Latency Solid State Drives

Exploring System Challenges of Ultra-Low Latency Solid State Drives Exploring System Challenges of Ultra-Low Latency Solid State Drives Sungjoon Koh Changrim Lee, Miryeong Kwon, and Myoungsoo Jung Computer Architecture and Memory systems Lab Executive Summary Motivation.

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

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

Chapter 5: CPU Scheduling

Chapter 5: CPU Scheduling COP 4610: Introduction to Operating Systems (Fall 2016) Chapter 5: CPU Scheduling Zhi Wang Florida State University Contents Basic concepts Scheduling criteria Scheduling algorithms Thread scheduling Multiple-processor

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

ò mm_struct represents an address space in kernel ò task represents a thread in the kernel ò A task points to 0 or 1 mm_structs

ò mm_struct represents an address space in kernel ò task represents a thread in the kernel ò A task points to 0 or 1 mm_structs Last time We went through the high-level theory of scheduling algorithms Scheduling Today: View into how Linux makes its scheduling decisions Don Porter CSE 306 Lecture goals Understand low-level building

More information

Supporting Soft Real-Time Tasks in the Xen Hypervisor

Supporting Soft Real-Time Tasks in the Xen Hypervisor 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

More information

PROPORTIONAL fairness in CPU scheduling mandates

PROPORTIONAL fairness in CPU scheduling mandates IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. XX, NO. XX, MAY 218 1 GVTS: Global Virtual Time Fair Scheduling to Support Strict on Many Cores Changdae Kim, Seungbeom Choi, Jaehyuk Huh, Member,

More information

Scheduling. Don Porter CSE 306

Scheduling. Don Porter CSE 306 Scheduling Don Porter CSE 306 Last time ò We went through the high-level theory of scheduling algorithms ò Today: View into how Linux makes its scheduling decisions Lecture goals ò Understand low-level

More information

KVM on s390: what's next?

KVM on s390: what's next? : what's next? Agenda Current status Exploring the limits of our kvm port with the flower shop scenario Next steps 2 Current status Kernel components upstream in 2.6.26 Intermediate userspace kuli Kuli

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

Demand-Based Coordinated Scheduling for SMP VMs

Demand-Based Coordinated Scheduling for SMP VMs Demand-Based Coordinated Scheduling for SMP VMs Hwanju Kim, Sangwook Kim, Jinkyu Jeong, Joonwon Lee, Seungryoul Maeng Computer Science Department, Korea Advanced Institute of Science and Technology (KAIST),

More information

Chapter 5: Process Scheduling

Chapter 5: Process Scheduling Chapter 5: Process Scheduling Chapter 5: Process Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Real-Time CPU Scheduling Operating Systems

More information

Offloading Interrupt Load Balancing from SMP Virtual Machines to the Hypervisor

Offloading Interrupt Load Balancing from SMP Virtual Machines to the Hypervisor 1 Offloading Interrupt Load Balancing from SMP Virtual Machines to the Hypervisor Luwei Cheng and Francis C.M. Lau, Senior Member, IEEE Abstract Cloud computing increasingly leverages SMP virtual machines

More information

Measuring the impacts of the Preempt-RT patch

Measuring the impacts of the Preempt-RT patch Measuring the impacts of the Preempt-RT patch maxime.chevallier@smile.fr October 25, 2017 RT Linux projects Simulation platform : bi-xeon, lots ot RAM 200µs wakeup latency, networking Test bench : Intel

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

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

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper Architecture Overview Copyright 2016 Paperspace, Co. All Rights Reserved June - 1-2017 Technical Whitepaper Paperspace Whitepaper: Architecture Overview Content 1. Overview 3 2. Virtualization 3 Xen Hypervisor

More information