On the Latency-Accuracy Tradeoff in Approximate MapReduce Jobs

Size: px
Start display at page:

Download "On the Latency-Accuracy Tradeoff in Approximate MapReduce Jobs"

Transcription

1 On the Latency-Accuracy Tradeoff in Approximate apreduce Jobs Juan F. Pérez Universidad del Rosario, Colombia Robert Birke and Lydia Chen IB Research Zurich, Switzerland IEEE INFOCO ay, 2017 J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

2 Introduction Outline 1 Introduction 2 System Operation 3 The odel 4 Experimental assessment 5 Wrap-up J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

3 Introduction What? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

4 Introduction apreduce Jobs Large data sets Exploit large number of parallel resources Open source implementations (Hadoop) Well studied for batch jobs Online job execution Deadlines: constraints on response time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

5 Introduction apreduce Jobs Large data sets Exploit large number of parallel resources Online job execution Deadlines: constraints on response time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

6 Introduction Online apreduce Jobs Deadlines: constraints on response time Process all data exact answer Approximate Computing Process some data approximate answer Save computing time and resources Comply with deadlines J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

7 Introduction Why? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

8 Introduction Latency-Accuracy Tradeoff Drop more data Reduce latency Reduce accuracy Drop less data Increase latency Increase accuracy Solve the Latency-Accuracy Tradeoff J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

9 Introduction Goal? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

10 Introduction Solve Latency-Accuracy Tradeoff Given a Latency objective Determine Achievable Accuracy Given an Accuracy objective Determine Achievable Latency Additional considerations: Jobs arrive in a random fashion Queueing times waiting for jobs in front to be processed How to drop data for approximate computations? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

11 Introduction Solve Latency-Accuracy Tradeoff Given a Latency objective Determine Achievable Accuracy Given an Accuracy objective Determine Achievable Latency Additional considerations: Jobs arrive in a random fashion Queueing times waiting for jobs in front to be processed How to drop data for approximate computations? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

12 Introduction How? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

13 Introduction Our Approach to the Latency-Accuracy Tradeoff Stochastic models to predict Job Latency Capture Online apreduce operation Capture Approximate Computing Data Drop options J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

14 Introduction Our Approach to the Latency-Accuracy Tradeoff Stochastic models to predict Job Latency Capture Online apreduce operation Capture Approximate Computing Data Drop options J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

15 System Operation Outline 1 Introduction 2 System Operation 3 The odel 4 Experimental assessment 5 Wrap-up J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

16 System Operation Basic Operation J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

17 System Operation Basic Operation C computing slots R Jobs Queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

18 System Operation Basic Operation C computing slots R Jobs Queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

19 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

20 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

21 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

22 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

23 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

24 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

25 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

26 System Operation Basic Operation C computing slots R Jobs Queue Reduce task queue R R R J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

27 System Operation Basic Operation C computing slots R Jobs Queue Reduce task queue R R R J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

28 System Operation Basic Operation C computing slots R Jobs Queue Reduce task queue R R R J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

29 System Operation Basic Operation C computing slots R Jobs Queue Reduce task queue R R R J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

30 System Operation Basic Operation C computing slots R Jobs Queue ap task queue J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

31 System Operation Approximate Computing J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

32 System Operation Data Drop R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

33 System Operation Early Dropping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

34 System Operation Data Drop: Task drop - Early R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

35 System Operation Data Drop: Task drop - Early R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

36 System Operation Data Drop: Task drop - Early R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

37 System Operation Straggler Dropping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

38 System Operation Data Drop: Task drop - Straggler R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

39 System Operation Data Drop: Task drop - Straggler R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

40 System Operation Data Drop: Task drop - Straggler R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

41 System Operation Input Sampling J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

42 System Operation Data Drop: Input Sampling R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

43 System Operation Data Drop: Input Sampling R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

44 System Operation Data Drop: Input Sampling R R time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

45 System Operation Error J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

46 System Operation t Nm 1,1 α/2 N m (( 1 θ m 1 ) ( ) ) 1 su s 2 i, η m J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

47 The odel Outline 1 Introduction 2 System Operation 3 The odel 4 Experimental assessment 5 Wrap-up J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

48 The odel Basic Operation - ain parameters C computing slots N m : number of map tasks N r : number of reduce tasks 1/µ m : mean map task execution time 1/µ r : mean reduce task execution time J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

49 The odel Basic Operation - Job Service Time Job Service Time: Phase-type distribution Phase: number of tasks to complete J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

50 The odel Basic Operation - Job Service Time C m C m C m N m +N r N m -1+N r N m -2+N r J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

51 The odel Basic Operation - Job Service Time C m (C-1) m (C-2) m C+N r C-1+N r C-2+N m J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

52 The odel Basic Operation - Job Service Time m C m C m 1+N r N r N r -1 J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

53 The odel Basic Operation - Job Service Time C m (C-1) m (C-2) m C C-1 C-2 J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

54 The odel Basic Operation - Job Service Time 2 m m 2 1 J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

55 The odel odeling Approximate Computation J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

56 The odel Introducing Early Task Dropping Execute fraction θ m map tasks only Drop fraction 1 θ m map tasks Effective number of map tasks: N m = N m θ m Replace N m by N m J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

57 The odel Introducing Input Sampling Process fraction η m of each map task data only Ignore fraction 1 η m of each map task data Effective mean map task execution time: 1 µ m = ηm µ m Replace µ m by µ m J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

58 The odel Early Dropping + Input Sampling Transition Rates: Cµ m, N r + C < n N r + N m, (n N r )µ f (n) = m, N r < n N r + C, Cµ r, C < n N r, nµ r, 0 < n C. J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

59 The odel Straggler Dropping Start with N m + N r tasks Decrease one by one until N m (N m 1) + N r are left Jump down to N r Effective number of map tasks executed: N m J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

60 The odel Straggler Dropping + Input Sampling Transition Rates: min{n N r, C}µ m, N r + N m N m + 1 n f (n) = N r + N m, min{n, C}µ r, N r N r + 1 n N r. J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

61 The odel Analysis J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

62 The odel Analysis FCFS scheduling Job service time: phase-type (PH) - (α, G) Job arrival process: arkovian arrival process (AP) AP/PH/1 queue Sengupta s paper: age-based analysis (X (t), A(t), S(t)): age of job in service, arrival process phase, service phase J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

63 The odel Analysis Solve a matrix-integral equation T = I d G + 0 ( ) exp(t x) exp(d 0 x)d 1 G dx, Obtain waiting time distribution (β w, B w ) Known service-time distribution (α, G) Obtain response time distribution (β r, B r ): [ ] Bw ( B β r = [φβ w (1 φ)α], B r = w 1)α, 0 G J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

64 The odel Overlapping Execution J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

65 The odel FCFS Scheduling - Non-overlapping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

66 The odel Overlapping scheduling Allow jobs to start ap phase as soon as slots become available. At most 2 jobs in service: one in ap phase, one in Reduce phase. J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

67 The odel Overlapping Scheduling No longer a AP/PH/1 queue Service times depend on system state High load: high chance back-to-back jobs Low load: similar to non-overlapping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

68 The odel Overlapping Scheduling Generalize Sengupta s analysis (X (t), A(t), (t), R(t), Y (t)) (t): number of remaining map tasks of oldest job R(t): number of remaining reduce tasks of oldest job Y (t): number of remaining map tasks of youngest job J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

69 The odel Overlapping Scheduling Three phases: one job, map phase R one job, reduce phase R/ two jobs, oldest in reduce phase, youngest in map phase J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

70 The odel Overlapping Scheduling (Steady-state) Service time distribution: PH(β s, B s ) B s = Q R/,R/ Q R/, Q R/,R 0 Q, Q,R, (1) 0 0 B R,R [ ] β s = β R/ s β s β R s. (2) J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

71 Experimental assessment Outline 1 Introduction 2 System Operation 3 The odel 4 Experimental assessment 5 Wrap-up J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

72 Experimental assessment FCFS - Early Dropping Util=20% Util=50% Util=80% RT θ m Error J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

73 Experimental assessment FCFS - Early vs Straggler Dropping Util=20% Util=50% Util=80% Util=20% Util=50% Util=80% RT Error RT θ m θ m 0 (a) Early dropping (b) Straggler dropping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

74 Experimental assessment FCFS - Early vs Straggler Dropping vs Input Sampling Util=20% Util=20% Util=20% 80 Util=50% Util=80% Util=50% Util=80% Util=50% Util=80% RT Error RT Error RT θ m θ m η m (a) Early dropping (b) Straggler dropping (c) Input sampling J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

75 Experimental assessment FCFS - Early vs Straggler Dropping vs Input Sampling Observation 1 Best echanisms are: 1 Straggler dropping 2 Input sampling 3 Early dropping Observation 2 An x% data/task dropping removes 1 x% longest tasks (straggler dropping) 2 x% all tasks, including longest (input sampling) 3 x% tasks (early dropping) J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

76 Experimental assessment Varying number of tasks No. Tasks: 50 No. Tasks: 150 No. Tasks: No. Tasks: 50 No. Tasks: 150 No. Tasks: RT RT η m θ m (a) Input sampling (b) Straggler dropping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

77 Experimental assessment FCFS vs. Overlapping (Early dropping) RT Util=20% Util=50% Util=80% Error RT Util=20% Util=50% Util=80% θ m θ m 0 (a) FCFS (b) Overlapping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

78 Experimental assessment FCFS vs. Overlapping (Straggler dropping) Util=20% Util=50% Util=80% Util=20% Util=50% Util=80% RT Error RT θ m θ m 0 (a) FCFS (b) Overlapping J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

79 Experimental assessment FCFS vs. Overlapping (No approximation) Exclusive Overlap RT λ J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

80 Wrap-up Outline 1 Introduction 2 System Operation 3 The odel 4 Experimental assessment 5 Wrap-up J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

81 Wrap-up Wrap-up odel captures Straggler Dropping > Input Sampling > Early Dropping Overlapping > FCFS Scheduling Latency - Accuracy Tradeoff Given a: Latency Budget: what accuracy can be expected/offered? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

82 Wrap-up Wrap-up odel captures Straggler Dropping > Input Sampling > Early Dropping Overlapping > FCFS Scheduling Latency - Accuracy Tradeoff Given a: Latency Budget: what accuracy can be expected/offered? Accuracy Budget: what latency can be expected/offered? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

83 Wrap-up Wrap-up odel captures Straggler Dropping > Input Sampling > Early Dropping Overlapping > FCFS Scheduling Latency - Accuracy Tradeoff Given a: Latency Budget: what accuracy can be expected/offered? Accuracy Budget: what latency can be expected/offered? J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

84 Wrap-up Wrap-up odel captures Straggler Dropping > Input Sampling > Early Dropping Overlapping > FCFS Scheduling Latency - Accuracy Tradeoff Given a: Latency Budget: what accuracy can be expected/offered? Accuracy Budget: what latency can be expected/offered? Thank you! J. F. Pérez, R. Birke, L. Chen Latency vs. Accuracy Approx. apreduce IEEE INFOCO / 78

CPU Scheduling. CSE 2431: Introduction to Operating Systems Reading: Chapter 6, [OSC] (except Sections )

CPU Scheduling. CSE 2431: Introduction to Operating Systems Reading: Chapter 6, [OSC] (except Sections ) CPU Scheduling CSE 2431: Introduction to Operating Systems Reading: Chapter 6, [OSC] (except Sections 6.7.2 6.8) 1 Contents Why Scheduling? Basic Concepts of Scheduling Scheduling Criteria A Basic Scheduling

More information

CISC 7310X. C05: CPU Scheduling. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 3/1/2018 CUNY Brooklyn College

CISC 7310X. C05: CPU Scheduling. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 3/1/2018 CUNY Brooklyn College CISC 7310X C05: CPU Scheduling Hui Chen Department of Computer & Information Science CUNY Brooklyn College 3/1/2018 CUNY Brooklyn College 1 Outline Recap & issues CPU Scheduling Concepts Goals and criteria

More information

Queuing Networks Modeling Virtual Laboratory

Queuing Networks Modeling Virtual Laboratory Queuing Networks Modeling Virtual Laboratory Dr. S. Dharmaraja Department of Mathematics IIT Delhi http://web.iitd.ac.in/~dharmar Queues Notes 1 1 Outline Introduction Simple Queues Performance Measures

More information

CS3733: Operating Systems

CS3733: Operating Systems CS3733: Operating Systems Topics: Process (CPU) Scheduling (SGG 5.1-5.3, 6.7 and web notes) Instructor: Dr. Dakai Zhu 1 Updates and Q&A Homework-02: late submission allowed until Friday!! Submit on Blackboard

More information

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5 OPERATING SYSTEMS CS3502 Spring 2018 Processor Scheduling Chapter 5 Goals of Processor Scheduling Scheduling is the sharing of the CPU among the processes in the ready queue The critical activities are:

More information

OS Assignment II. The process of executing multiple threads simultaneously is known as multithreading.

OS Assignment II. The process of executing multiple threads simultaneously is known as multithreading. OS Assignment II 1. A. Provide two programming examples of multithreading giving improved performance over a single-threaded solution. The process of executing multiple threads simultaneously is known

More information

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) CPU Scheduling Daniel Mosse (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) Basic Concepts Maximum CPU utilization obtained with multiprogramming CPU I/O Burst Cycle Process

More information

IMS Presence Server: Traffic Analysis & Performance Modelling

IMS Presence Server: Traffic Analysis & Performance Modelling IMS Presence Server: Traffic Analysis & Performance Modelling Caixia Chi Ruibing Hao Dong Wang Z. Cao chic@alcatel-lucent.com rbhao@yahoo.com wangd01@gmail.com caozhenzhen1983@gmail.com Presented By Zhenhua

More information

Last Class: Processes

Last Class: Processes Last Class: Processes A process is the unit of execution. Processes are represented as Process Control Blocks in the OS PCBs contain process state, scheduling and memory management information, etc A process

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

Lecture Topics. Announcements. Today: Uniprocessor Scheduling (Stallings, chapter ) Next: Advanced Scheduling (Stallings, chapter

Lecture Topics. Announcements. Today: Uniprocessor Scheduling (Stallings, chapter ) Next: Advanced Scheduling (Stallings, chapter Lecture Topics Today: Uniprocessor Scheduling (Stallings, chapter 9.1-9.3) Next: Advanced Scheduling (Stallings, chapter 10.1-10.4) 1 Announcements Self-Study Exercise #10 Project #8 (due 11/16) Project

More information

Process Scheduling Part 2

Process Scheduling Part 2 Operating Systems and Computer Networks Process Scheduling Part 2 pascal.klein@uni-due.de Alexander Maxeiner, M.Sc. Faculty of Engineering Agenda Process Management Time Sharing Synchronization of Processes

More information

Scheduling. The Basics

Scheduling. The Basics The Basics refers to a set of policies and mechanisms to control the order of work to be performed by a computer system. Of all the resources in a computer system that are scheduled before use, the CPU

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

Calculating Call Blocking, Preemption Probabilities, and Bandwidth Utilization for Satellite Communication Systems.

Calculating Call Blocking, Preemption Probabilities, and Bandwidth Utilization for Satellite Communication Systems. Calculating Call Blocking, Preemption Probabilities, and Bandwidth Utilization for Satellite Communication Systems. Aero RIPS 2011 Leah Rosenbaum, Mohit Agrawal, Leah Birch, and Yacoub Kureh Academic Mentor

More information

LOAD BALANCING IN CONTENT DISTRIBUTION NETWORKS

LOAD BALANCING IN CONTENT DISTRIBUTION NETWORKS LOAD BALANCING IN CONTENT DISTRIBUTION NETWORKS - Load Balancing Algorithm for Distributed Cloud Data Centers - Paul J. Kühn University of Stuttgart, Germany Institute of Communication Networks and Computer

More information

Chapter 6: CPU Scheduling

Chapter 6: CPU Scheduling Chapter 6: CPU Scheduling Silberschatz, Galvin and Gagne Histogram of CPU-burst Times 6.2 Silberschatz, Galvin and Gagne Alternating Sequence of CPU And I/O Bursts 6.3 Silberschatz, Galvin and Gagne CPU

More information

Risk-Aware Rapid Data Evacuation for Large- Scale Disasters in Optical Cloud Networks

Risk-Aware Rapid Data Evacuation for Large- Scale Disasters in Optical Cloud Networks Risk-Aware Rapid Data Evacuation for Large- Scale Disasters in Optical Cloud Networks Presenter: Yongcheng (Jeremy) Li PhD student, School of Electronic and Information Engineering, Soochow University,

More information

Properties of Processes

Properties of Processes CPU Scheduling Properties of Processes CPU I/O Burst Cycle Process execution consists of a cycle of CPU execution and I/O wait. CPU burst distribution: CPU Scheduler Selects from among the processes that

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

EITF20: Computer Architecture Part4.1.1: Cache - 2

EITF20: Computer Architecture Part4.1.1: Cache - 2 EITF20: Computer Architecture Part4.1.1: Cache - 2 Liang Liu liang.liu@eit.lth.se 1 Outline Reiteration Cache performance optimization Bandwidth increase Reduce hit time Reduce miss penalty Reduce miss

More information

Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts. Scheduling Criteria Scheduling Algorithms

Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts. Scheduling Criteria Scheduling Algorithms Operating System Lecture 5 / Chapter 6 (CPU Scheduling) Basic Concepts Scheduling Criteria Scheduling Algorithms OS Process Review Multicore Programming Multithreading Models Thread Libraries Implicit

More information

COSC243 Part 2: Operating Systems

COSC243 Part 2: Operating Systems COSC243 Part 2: Operating Systems Lecture 17: CPU Scheduling Zhiyi Huang Dept. of Computer Science, University of Otago Zhiyi Huang (Otago) COSC243 Lecture 17 1 / 30 Overview Last lecture: Cooperating

More information

Chapter 5 CPU scheduling

Chapter 5 CPU scheduling Chapter 5 CPU scheduling Contents Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Thread Scheduling Operating Systems Examples Java Thread Scheduling

More information

CPU Scheduling: Objectives

CPU Scheduling: Objectives CPU Scheduling: Objectives CPU scheduling, the basis for multiprogrammed operating systems CPU-scheduling algorithms Evaluation criteria for selecting a CPU-scheduling algorithm for a particular system

More information

Rolling Markov Chain Monte Carlo

Rolling Markov Chain Monte Carlo Rolling Markov Chain Monte Carlo Din-Houn Lau Imperial College London Joint work with Axel Gandy 4 th July 2013 Predict final ranks of the each team. Updates quick update of predictions. Accuracy control

More information

OPERATING SYSTEMS. Systems with Multi-programming. CS 3502 Spring Chapter 4

OPERATING SYSTEMS. Systems with Multi-programming. CS 3502 Spring Chapter 4 OPERATING SYSTEMS CS 3502 Spring 2018 Systems with Multi-programming Chapter 4 Multiprogramming - Review An operating system can support several processes in memory. While one process receives service

More information

Operating Systems. Lecture Process Scheduling. Golestan University. Hossein Momeni

Operating Systems. Lecture Process Scheduling. Golestan University. Hossein Momeni Operating Systems Lecture 2.2 - Process Scheduling Golestan University Hossein Momeni momeni@iust.ac.ir Scheduling What is scheduling? Goals Mechanisms Scheduling on batch systems Scheduling on interactive

More information

CSE120 Principles of Operating Systems. Prof Yuanyuan (YY) Zhou Scheduling

CSE120 Principles of Operating Systems. Prof Yuanyuan (YY) Zhou Scheduling CSE120 Principles of Operating Systems Prof Yuanyuan (YY) Zhou Scheduling Announcement l Homework 2 due on October 26th l Project 1 due on October 27th 2 Scheduling Overview l In discussing process management

More information

MODELING OF SMART GRID TRAFFICS USING NON- PREEMPTIVE PRIORITY QUEUES

MODELING OF SMART GRID TRAFFICS USING NON- PREEMPTIVE PRIORITY QUEUES MODELING OF SMART GRID TRAFFICS USING NON- PREEMPTIVE PRIORITY QUEUES Contents Smart Grid Model and Components. Future Smart grid components. Classification of Smart Grid Traffic. Brief explanation of

More information

Recap. Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones

Recap. Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones Recap First-Come, First-Served (FCFS) Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones Round-Robin (RR) FCFS with preemption.

More information

Rolling Markov Chain Monte Carlo

Rolling Markov Chain Monte Carlo Rolling Markov Chain Monte Carlo Din-Houn Lau Imperial College London Joint work with Axel Gandy 4 th September 2013 RSS Conference 2013: Newcastle Output predicted final ranks of the each team. Updates

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

15-740/ Computer Architecture Lecture 20: Main Memory II. Prof. Onur Mutlu Carnegie Mellon University

15-740/ Computer Architecture Lecture 20: Main Memory II. Prof. Onur Mutlu Carnegie Mellon University 15-740/18-740 Computer Architecture Lecture 20: Main Memory II Prof. Onur Mutlu Carnegie Mellon University Today SRAM vs. DRAM Interleaving/Banking DRAM Microarchitecture Memory controller Memory buses

More information

Operating Systems. Scheduling

Operating Systems. Scheduling Operating Systems Scheduling Process States Blocking operation Running Exit Terminated (initiate I/O, down on semaphore, etc.) Waiting Preempted Picked by scheduler Event arrived (I/O complete, semaphore

More information

Queuing Networks. Renato Lo Cigno. Simulation and Performance Evaluation Queuing Networks - Renato Lo Cigno 1

Queuing Networks. Renato Lo Cigno. Simulation and Performance Evaluation Queuing Networks - Renato Lo Cigno 1 Queuing Networks Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queuing Networks - Renato Lo Cigno 1 Moving between Queues Queuing Networks - Renato Lo Cigno - Interconnecting Queues 2 Moving

More information

Pipelining and Vector Processing

Pipelining and Vector Processing Chapter 8 Pipelining and Vector Processing 8 1 If the pipeline stages are heterogeneous, the slowest stage determines the flow rate of the entire pipeline. This leads to other stages idling. 8 2 Pipeline

More information

Subject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date:

Subject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date: Subject Name: OPERATING SYSTEMS Subject Code: 10EC65 Prepared By: Kala H S and Remya R Department: ECE Date: Unit 7 SCHEDULING TOPICS TO BE COVERED Preliminaries Non-preemptive scheduling policies Preemptive

More information

Ch 4 : CPU scheduling

Ch 4 : CPU scheduling Ch 4 : CPU scheduling It's the basis of multiprogramming operating systems. By switching the CPU among processes, the operating system can make the computer more productive In a single-processor system,

More information

Energy Aware Scheduling in Cloud Datacenter

Energy Aware Scheduling in Cloud Datacenter Energy Aware Scheduling in Cloud Datacenter Jemal H. Abawajy, PhD, DSc., SMIEEE Director, Distributed Computing and Security Research Deakin University, Australia Introduction Cloud computing is the delivery

More information

Operating System Concepts Ch. 5: Scheduling

Operating System Concepts Ch. 5: Scheduling Operating System Concepts Ch. 5: Scheduling Silberschatz, Galvin & Gagne Scheduling In a multi-programmed system, multiple processes may be loaded into memory at the same time. We need a procedure, or

More information

Operating Systems (Classroom Practice Booklet Solutions)

Operating Systems (Classroom Practice Booklet Solutions) Operating Systems (Classroom Practice Booklet Solutions) 1. Process Management I 1. Ans: (c) 2. Ans: (c) 3. Ans: (a) Sol: Software Interrupt is generated as a result of execution of a privileged instruction.

More information

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling Uniprocessor Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Three level scheduling 2 1 Types of Scheduling 3 Long- and Medium-Term Schedulers Long-term scheduler Determines which programs

More information

A New Call Admission Control scheme for Real-time traffic in Wireless Networks

A New Call Admission Control scheme for Real-time traffic in Wireless Networks A New Call Admission Control scheme for Real-time traffic in Wireless Networks Maneesh Tewari and H.S. Jamadagni Center for Electronics Design and Technology, Indian Institute of Science, Bangalore, 5612

More information

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023 Operating Systems Autumn 2017-2018 Outline 1 CPU Scheduling: Part I ( 5, SGG) Outline CPU Scheduling: Part I ( 5, SGG) 1 CPU Scheduling: Part I ( 5, SGG) Basic Concepts Typical program behaviour CPU Scheduling:

More information

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 Chapter 5: CPU Scheduling

More information

Processes. CS 475, Spring 2018 Concurrent & Distributed Systems

Processes. CS 475, Spring 2018 Concurrent & Distributed Systems Processes CS 475, Spring 2018 Concurrent & Distributed Systems Review: Abstractions 2 Review: Concurrency & Parallelism 4 different things: T1 T2 T3 T4 Concurrency: (1 processor) Time T1 T2 T3 T4 T1 T1

More information

Introduction to Queuing Systems

Introduction to Queuing Systems Introduction to Queuing Systems Queuing Theory View network as collections of queues FIFO data-structures Queuing theory provides probabilistic analysis of these queues Examples: Average length Probability

More information

Mini-project 2 CMPSCI 689 Spring 2015 Due: Tuesday, April 07, in class

Mini-project 2 CMPSCI 689 Spring 2015 Due: Tuesday, April 07, in class Mini-project 2 CMPSCI 689 Spring 2015 Due: Tuesday, April 07, in class Guidelines Submission. Submit a hardcopy of the report containing all the figures and printouts of code in class. For readability

More information

Queuing Systems. 1 Lecturer: Hawraa Sh. Modeling & Simulation- Lecture -4-21/10/2012

Queuing Systems. 1 Lecturer: Hawraa Sh. Modeling & Simulation- Lecture -4-21/10/2012 Queuing Systems Queuing theory establishes a powerful tool in modeling and performance analysis of many complex systems, such as computer networks, telecommunication systems, call centers, manufacturing

More information

Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks

Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks Dongyu Qiu and R. Srikant Coordinated Science Laboratory University of Illinois at Urbana-Champaign CSL, UIUC p.1/22 Introduction

More information

Operating System Review Part

Operating System Review Part Operating System Review Part CMSC 602 Operating Systems Ju Wang, 2003 Fall Virginia Commonwealth University Review Outline Definition Memory Management Objective Paging Scheme Virtual Memory System and

More information

Symbolic Buffer Sizing for Throughput-Optimal Scheduling of Dataflow Graphs

Symbolic Buffer Sizing for Throughput-Optimal Scheduling of Dataflow Graphs Symbolic Buffer Sizing for Throughput-Optimal Scheduling of Dataflow Graphs Anan Bouakaz Pascal Fradet Alain Girault Real-Time and Embedded Technology and Applications Symposium, Vienna April 14th, 2016

More information

Sample Questions. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic)

Sample Questions. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic) Sample Questions Amir H. Payberah amir@sics.se Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) Sample Questions 1393/8/10 1 / 29 Question 1 Suppose a thread

More information

VIRTUAL MEMORY READING: CHAPTER 9

VIRTUAL MEMORY READING: CHAPTER 9 VIRTUAL MEMORY READING: CHAPTER 9 9 MEMORY HIERARCHY Core! Processor! Core! Caching! Main! Memory! (DRAM)!! Caching!! Secondary Storage (SSD)!!!! Secondary Storage (Disk)! L cache exclusive to a single

More information

All-Pairs Shortest Paths - Floyd s Algorithm

All-Pairs Shortest Paths - Floyd s Algorithm All-Pairs Shortest Paths - Floyd s Algorithm Parallel and Distributed Computing Department of Computer Science and Engineering (DEI) Instituto Superior Técnico October 31, 2011 CPD (DEI / IST) Parallel

More information

Preview. Process Scheduler. Process Scheduling Algorithms for Batch System. Process Scheduling Algorithms for Interactive System

Preview. Process Scheduler. Process Scheduling Algorithms for Batch System. Process Scheduling Algorithms for Interactive System Preview Process Scheduler Short Term Scheduler Long Term Scheduler Process Scheduling Algorithms for Batch System First Come First Serve Shortest Job First Shortest Remaining Job First Process Scheduling

More information

Dynamic Flow Regulation for IP Integration on Network-on-Chip

Dynamic Flow Regulation for IP Integration on Network-on-Chip Dynamic Flow Regulation for IP Integration on Network-on-Chip Zhonghai Lu and Yi Wang Dept. of Electronic Systems KTH Royal Institute of Technology Stockholm, Sweden Agenda The IP integration problem Why

More information

8th Slide Set Operating Systems

8th Slide Set Operating Systems Prof. Dr. Christian Baun 8th Slide Set Operating Systems Frankfurt University of Applied Sciences SS2016 1/56 8th Slide Set Operating Systems Prof. Dr. Christian Baun Frankfurt University of Applied Sciences

More information

Lecture 11 Hadoop & Spark

Lecture 11 Hadoop & Spark Lecture 11 Hadoop & Spark Dr. Wilson Rivera ICOM 6025: High Performance Computing Electrical and Computer Engineering Department University of Puerto Rico Outline Distributed File Systems Hadoop Ecosystem

More information

Designing Predictable Real-Time and Embedded Systems

Designing Predictable Real-Time and Embedded Systems Designing Predictable Real-Time and Embedded Systems Juniorprofessor Dr. Jian-Jia Chen Karlsruhe Institute of Technology (KIT), Germany 0 KIT Feb. University 27-29, 2012 of at thetu-berlin, State of Baden-Wuerttemberg

More information

ALL the assignments (A1, A2, A3) and Projects (P0, P1, P2) we have done so far.

ALL the assignments (A1, A2, A3) and Projects (P0, P1, P2) we have done so far. Midterm Exam Reviews ALL the assignments (A1, A2, A3) and Projects (P0, P1, P2) we have done so far. Particular attentions on the following: System call, system kernel Thread/process, thread vs process

More information

A brief description of the particle finite element method (PFEM2). Extensions to free surface

A brief description of the particle finite element method (PFEM2). Extensions to free surface A brief description of the particle finite element method (PFEM2). Extensions to free surface flows. Juan M. Gimenez, L.M. González, CIMEC Universidad Nacional del Litoral (UNL) Santa Fe, Argentina Universidad

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

Operating Systems ECE344. Ding Yuan

Operating Systems ECE344. Ding Yuan Operating Systems ECE344 Ding Yuan Announcement & Reminder Midterm exam Will grade them this Friday Will post the solution online before next lecture Will briefly go over the common mistakes next Monday

More information

Calculating Call Blocking and Utilization for Communication Satellites that Use Dynamic Resource Allocation

Calculating Call Blocking and Utilization for Communication Satellites that Use Dynamic Resource Allocation Calculating Call Blocking and Utilization for Communication Satellites that Use Dynamic Resource Allocation Leah Rosenbaum Mohit Agrawal Leah Birch Yacoub Kureh Nam Lee UCLA Institute for Pure and Applied

More information

Centralized versus distributed schedulers for multiple bag-of-task applications

Centralized versus distributed schedulers for multiple bag-of-task applications Centralized versus distributed schedulers for multiple bag-of-task applications O. Beaumont, L. Carter, J. Ferrante, A. Legrand, L. Marchal and Y. Robert Laboratoire LaBRI, CNRS Bordeaux, France Dept.

More information

Markov Chains and Multiaccess Protocols: An. Introduction

Markov Chains and Multiaccess Protocols: An. Introduction Markov Chains and Multiaccess Protocols: An Introduction Laila Daniel and Krishnan Narayanan April 8, 2012 Outline of the talk Introduction to Markov Chain applications in Communication and Computer Science

More information

Titolo presentazione. Scheduling. sottotitolo A.Y Milano, XX mese 20XX ACSO Tutoring MSc Eng. Michele Zanella

Titolo presentazione. Scheduling. sottotitolo A.Y Milano, XX mese 20XX ACSO Tutoring MSc Eng. Michele Zanella Titolo presentazione Scheduling sottotitolo A.Y. 2017-18 Milano, XX mese 20XX ACSO Tutoring MSc Eng. Michele Zanella Process Scheduling Goals: Multiprogramming: having some process running at all times,

More information

A Strategy to Manage Cache Coherency in a Distributed Mobile Wireless Environment

A Strategy to Manage Cache Coherency in a Distributed Mobile Wireless Environment A Strategy to Manage Cache Coherency in a Distributed Mobile Wireless Environment Anurag Kahol, Sumit Khurana, Sandeep K. S. Gupta, and Pradip K. Srimani Shumei Chen Hoang Nguyen Jeff Wilson Team Members

More information

Course Syllabus. Operating Systems

Course Syllabus. Operating Systems Course Syllabus. Introduction - History; Views; Concepts; Structure 2. Process Management - Processes; State + Resources; Threads; Unix implementation of Processes 3. Scheduling Paradigms; Unix; Modeling

More information

Cover sheet for Assignment 3

Cover sheet for Assignment 3 Faculty of Arts and Science University of Toronto CSC 358 - Introduction to Computer Networks, Winter 2018, LEC0101 Cover sheet for Assignment 3 Due Monday March 5, 10:00am. Complete this page and attach

More information

A Quantitative Framework for Cyber Moving Target Defenses

A Quantitative Framework for Cyber Moving Target Defenses A Quantitative Framework for Cyber Moving Target Defenses Warren Connell 29 Aug 17 Massimiliano Albanese, co-director Daniel Menascé, co-director Sushil Jajodia Rajesh Ganesan 7/6/2017 1 Outline Introduction

More information

Unit 3 : Process Management

Unit 3 : Process Management Unit : Process Management Processes are the most widely used units of computation in programming and systems, although object and threads are becoming more prominent in contemporary systems. Process management

More information

Process Scheduling. Copyright : University of Illinois CS 241 Staff

Process Scheduling. Copyright : University of Illinois CS 241 Staff Process Scheduling Copyright : University of Illinois CS 241 Staff 1 Process Scheduling Deciding which process/thread should occupy the resource (CPU, disk, etc) CPU I want to play Whose turn is it? Process

More information

Global Replacement Algorithms (1) Ken Wong Washington University. Global Replacement Algorithms (2) Replacement Example (1)

Global Replacement Algorithms (1) Ken Wong Washington University. Global Replacement Algorithms (2) Replacement Example (1) Virtual Memory Part (CSE S) Ken Wong Washington University kenw@wustl.edu www.arl.wustl.edu/~kenw Global Replacement Algorithms () Example Page Reference Stream (String):»,,,,,,,,,,, Assume» ixed number

More information

Types of missingness and common strategies

Types of missingness and common strategies 9 th UK Stata Users Meeting 20 May 2003 Multiple imputation for missing data in life course studies Bianca De Stavola and Valerie McCormack (London School of Hygiene and Tropical Medicine) Motivating example

More information

A new caching policy for cloud assisted Peer-to-Peer video on-demand services

A new caching policy for cloud assisted Peer-to-Peer video on-demand services A new caching policy for cloud assisted Peer-to-Peer video on-demand services Franco Robledo, Pablo Rodríguez-Bocca, Pablo Romero and Claudia Rostagnol Facultad de Ingeniería, Universidad de la República.

More information

Admission Control Algorithms for Revenue Optimization with QoS Guarantees in Mobile Wireless Networks

Admission Control Algorithms for Revenue Optimization with QoS Guarantees in Mobile Wireless Networks Wireless Personal Communications (2006) 38: 357 376 DOI: 10.1007/s11277-006-9037-6 C Springer 2006 Admission Control Algorithms for Revenue Optimization with QoS Guarantees in Mobile Wireless Networks

More information

Lecture 5: Performance Analysis I

Lecture 5: Performance Analysis I CS 6323 : Modeling and Inference Lecture 5: Performance Analysis I Prof. Gregory Provan Department of Computer Science University College Cork Slides: Based on M. Yin (Performability Analysis) Overview

More information

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

Chapter 5: CPU Scheduling. Operating System Concepts 8 th Edition, Chapter 5: CPU Scheduling Operating System Concepts 8 th Edition, Hanbat National Univ. Computer Eng. Dept. Y.J.Kim 2009 Chapter 5: Process Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms

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

Statistical Matching using Fractional Imputation

Statistical Matching using Fractional Imputation Statistical Matching using Fractional Imputation Jae-Kwang Kim 1 Iowa State University 1 Joint work with Emily Berg and Taesung Park 1 Introduction 2 Classical Approaches 3 Proposed method 4 Application:

More information

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service TDDD82 Secure Mobile Systems Lecture 6: Quality of Service Mikael Asplund Real-time Systems Laboratory Department of Computer and Information Science Linköping University Based on slides by Simin Nadjm-Tehrani

More information

Congestion Control In the Network

Congestion Control In the Network Congestion Control In the Network Brighten Godfrey cs598pbg September 9 2010 Slides courtesy Ion Stoica with adaptation by Brighten Today Fair queueing XCP Announcements Problem: no isolation between flows

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

This formula shows that partitioning the network decreases the total traffic if 1 N R (1 + p) < N R p < 1, i.e., if not all the packets have to go

This formula shows that partitioning the network decreases the total traffic if 1 N R (1 + p) < N R p < 1, i.e., if not all the packets have to go Chapter 3 Problem 2 In Figure 3.43 of the text every node transmits R bps, and we assume that both network partitions consist of 1 N nodes. So the total traffic generated by the nodes 2 of each Ethernet

More information

Design Project 2: Virtual Machine Placement in a Data Center Network. Tiffany Yu-Han Chen

Design Project 2: Virtual Machine Placement in a Data Center Network. Tiffany Yu-Han Chen Design Project 2: Virtual Machine Placement in a Data Center Network Tiffany Yu-Han Chen Data Center Network The network you are using in your DP2 Data Center (DC) Networks - DC networks are organized

More information

Lecture: Simulation. of Manufacturing Systems. Sivakumar AI. Simulation. SMA6304 M2 ---Factory Planning and scheduling. Simulation - A Predictive Tool

Lecture: Simulation. of Manufacturing Systems. Sivakumar AI. Simulation. SMA6304 M2 ---Factory Planning and scheduling. Simulation - A Predictive Tool SMA6304 M2 ---Factory Planning and scheduling Lecture Discrete Event of Manufacturing Systems Simulation Sivakumar AI Lecture: 12 copyright 2002 Sivakumar 1 Simulation Simulation - A Predictive Tool Next

More information

Opera&ng Systems ECE344

Opera&ng Systems ECE344 Opera&ng Systems ECE344 Lecture 10: Scheduling Ding Yuan Scheduling Overview In discussing process management and synchroniza&on, we talked about context switching among processes/threads on the ready

More information

Process- Concept &Process Scheduling OPERATING SYSTEMS

Process- Concept &Process Scheduling OPERATING SYSTEMS OPERATING SYSTEMS Prescribed Text Book Operating System Principles, Seventh Edition By Abraham Silberschatz, Peter Baer Galvin and Greg Gagne PROCESS MANAGEMENT Current day computer systems allow multiple

More information

Introduction to Modeling. Lecture Overview

Introduction to Modeling. Lecture Overview Lecture Overview What is a Model? Uses of Modeling The Modeling Process Pose the Question Define the Abstractions Create the Model Analyze the Data Model Representations * Queuing Models * Petri Nets *

More information

2017 AIMMS MOPTA competition

2017 AIMMS MOPTA competition 2017 AIMMS MOPTA competition Production and Delivery of Radio-Pharmaceuticals to Medical Imaging Centers Team apio Advisor: Camilo Gómez, Ph.D Mariana Escallón (M.Sc student) Daniel López (M.Sc student)

More information

CHAPTER 2: PROCESS MANAGEMENT

CHAPTER 2: PROCESS MANAGEMENT 1 CHAPTER 2: PROCESS MANAGEMENT Slides by: Ms. Shree Jaswal TOPICS TO BE COVERED Process description: Process, Process States, Process Control Block (PCB), Threads, Thread management. Process Scheduling:

More information

Maintenance integration in Railway networks

Maintenance integration in Railway networks Maintenance integration in Railway networks Francesco Corman, chair of Transport System, IVT, ETH Zurich francesco.corman@ivt.baug.ethz.ch francescocorman.eu F. Corman 17.09.2018 1 Managing a scarce resource

More information

A STUDY OF THE PERFORMANCE TRADEOFFS OF A TRADE ARCHIVE

A STUDY OF THE PERFORMANCE TRADEOFFS OF A TRADE ARCHIVE A STUDY OF THE PERFORMANCE TRADEOFFS OF A TRADE ARCHIVE CS737 PROJECT REPORT Anurag Gupta David Goldman Han-Yin Chen {anurag, goldman, han-yin}@cs.wisc.edu Computer Sciences Department University of Wisconsin,

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

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

Chapter 5: Process Scheduling

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

More information

Course Introduction. Scheduling: Terminology and Classification

Course Introduction. Scheduling: Terminology and Classification Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 1 Course Introduction. Scheduling: Terminology and Classification 1. Course Introduction 2. Scheduling Problem Classification Marco Chiarandini

More information