ELE 549 Computer System Modeling. Bin Li Dept. of Electrical, Computer & Biomedical Engineering University of Rhode Island

Similar documents
CSC6290: Data Communication and Computer Networks. Hongwei Zhang

Optimizing Resource Sharing Systems

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

CSC8260: Wireless Networking and Cyber-Physical Systems. Hongwei Zhang

3. CPU Scheduling. Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn

So far. Next: scheduling next process from Wait to Run. 1/31/08 CSE 30341: Operating Systems Principles

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

Last class: Today: CPU Scheduling. CPU Scheduling Algorithms and Systems

1.1 CPU I/O Burst Cycle

CS370: System Architecture & Software [Fall 2014] Dept. Of Computer Science, Colorado State University

CS370 Operating Systems

CS3733: Operating Systems

A Generalized Blind Scheduling Policy

Last Class: Processes

Frequently asked questions from the previous class survey

Frequently asked questions from the previous class survey

International Journal of Advanced Research in Computer Science and Software Engineering

CSC6290: Data Communication and Computer Networks. Hongwei Zhang

Properties of Processes

Operating Systems Comprehensive Exam. Spring Student ID # 2/17/2011

Operating Systems. Process scheduling. Thomas Ropars.

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

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

ECE 4450:427/527 - Computer Networks

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

Chap 7, 8: Scheduling. Dongkun Shin, SKKU

Operating Systems ECE344. Ding Yuan

MODELING OF SMART GRID TRAFFICS USING NON- PREEMPTIVE PRIORITY QUEUES

Midterm Exam. October 20th, Thursday NSC

Introducing CPU Scheduling Algorithms: The Photocopier Scenario

Scheduling Mar. 19, 2018

Homework Assignment #5

Andrew S. Tanenbaum, Operating Systems, Design and Implementation, (Second Edition), Prentice Hall.

CSE 120 Principles of Operating Systems Spring 2017

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

CPU Scheduling Algorithms

Data Networks. Lecture 1: Introduction. September 4, 2008

COSC243 Part 2: Operating Systems

Network Load Balancing Methods: Experimental Comparisons and Improvement

PROCESSES & THREADS. Charles Abzug, Ph.D. Department of Computer Science James Madison University Harrisonburg, VA Charles Abzug

CSSE 340 Operating Systems Project 2: CPU Scheduling Simulator

Process Scheduling. Copyright : University of Illinois CS 241 Staff

Review. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling

CSE 421/521 - Operating Systems Fall Lecture - VII CPU Scheduling - II. University at Buffalo

KEY CENG 334. Midterm. Question 1. Question 2. Question 3. Question 4. Question 5. Question 6. Total. Name, SURNAME and ID

CSE 120. Fall Lecture 8: Scheduling and Deadlock. Keith Marzullo

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

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

Operating System Concepts Ch. 5: Scheduling

Announcements. Program #1. Program #0. Reading. Is due at 9:00 AM on Thursday. Re-grade requests are due by Monday at 11:59:59 PM.

Uniprocessor Scheduling. Aim of Scheduling

Uniprocessor Scheduling. Aim of Scheduling. Types of Scheduling. Long-Term Scheduling. Chapter 9. Response time Throughput Processor efficiency

EECE.4810/EECE.5730: Operating Systems Spring 2018 Programming Project 3 Due 11:59 PM, Wednesday, 4/18/18 Monday, 4/30/18

CSE 120 Principles of Operating Systems

Numerical approach estimate

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

CPSC 457 OPERATING SYSTEMS MIDTERM EXAM SOLUTION

A CPU Scheduling Algorithm Simulator

Computer Networking Background

OPERATING SYSTEMS. After A.S.Tanenbaum, Modern Operating Systems, 3rd edition. Uses content with permission from Assoc. Prof. Florin Fortis, PhD

Queuing Networks Modeling Virtual Laboratory

EECE.4810/EECE.5730: Operating Systems Spring 2017 Homework 3 Solution

CS 571 Operating Systems. Midterm Review. Angelos Stavrou, George Mason University

Teaching and Examination Scheme: PAPER HRS TH TU PR TH PR OR TW TOTAL

ECE 612: Embedded and Real-Time Systems

Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM

Chapter 6: CPU Scheduling

CSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.

Introduction to Computers and Programming

EECS 482 Introduction to Operating Systems

Polytechnic University of Puerto Rico Department of Electrical & Computer Engineering and Computer Science (ECECS) Master in Electrical Engineering

Introduction ETSN01 Advanced Telecommunications. Emma Fitzgerald

King Saud University. College of Computer & Information Sciences. Information Technology Department. IT425: Operating Systems.

CS307: Operating Systems

8: Scheduling. Scheduling. Mark Handley

Measurement Based Routing Strategies on Overlay Architectures

Comp 310 Computer Systems and Organization

13 Operating Systems. Watch how the operating system places jobs in memory and schedules jobs.

Course Contents/Syllabus: Weightage (%) Module I: Introduction to operating system: 15

CSCI 4210 Operating Systems CSCI 6140 Computer Operating Systems Project 1 (document version 1.3) Process Simulation Framework

Chapter 5: CPU Scheduling

COMPUTER NETWORK PERFORMANCE. Gaia Maselli Room: 319

CSci 4211: Data Communications and Computer Networks. Time: Monday and Wednesday 1 pm to 2:15 pm Location: Vincent Hall 16 Spring 2016, 3 Credits

Lecture 9: Midterm Review

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

ET225P Networking Concepts [Onsite]

Start of Lecture: February 10, Chapter 6: Scheduling

Course Syllabus. Operating Systems

Scheduling. Multiple levels of scheduling decisions. Classes of Schedulers. Scheduling Goals II: Fairness. Scheduling Goals I: Performance

ME 555: Distributed Optimization

CSE 451: Operating Systems Winter Module 10 Scheduling

Sensor Network Architectures. Objectives

Laboratory. Operating. Systems. Objective. References. Watch how the operating system places jobs in memory and schedules jobs.

CSCE 210/2201 Data Structures and Algorithms. Prof. Amr Goneid

QUEUING SYSTEM. Yetunde Folajimi, PhD

CSCE 210/2201 Data Structures and Algorithms. Prof. Amr Goneid. Fall 2018

Recap. More TCP. Congestion avoidance. TCP timers. TCP lifeline. Application Presentation Session Transport Network Data Link Physical

Scheduling of processes

CHAPTER 2: PROCESS MANAGEMENT

programming exercises.

Transcription:

ELE 549 Computer System Modeling Bin Li Dept. of Electrical, Computer & Biomedical Engineering University of Rhode Island

Self-introduction Name M.S. or Ph.D. student Research topic and methodology

Transportation

Airport Security Lines

Amusement Parks

Common Features Customers experience a long wait Reason??? Limited resources Solutions Add more resources Smart controls (algorithms) Cost vs. Performance

Contact Centers

Computer Systems: Job Scheduling MATLAB Lecture video Video meeting Visual studio Latex Antivirus security Limit resources: CPU memory, storage space I/O ports

Computer Systems: Web Servers client 1 client 2 Get Page Get Video Internet Web Server client 1000 Get Audio

Queues Are Indeed Everywhere!

Common Features Systems with limited resources Smart scheduling algorithms Cost vs. Performance

Internet of Things: Smart Home Limited resources: time, bandwidth, power

Cyber-Physical Systems Current intra-vehicular networks 75 sensors and 75 switches Requires 1,000 cables (45kg, 1km) Low fuel efficiency High cost and complexity of maintenance ~3 increases in sensors over 5 years Vehicle Dynamics Control System PAN Coordinator User Applications PAN Coordinator System Control Host PAN Coordinator PAN Coordinator Wireless solution Limited resources: time, bandwidth, power Sensor Unit Sensor Unit Sensor Unit 13

Mobile Edge Computing

Networking for Virtual/Augmented Reality

Big Data Processing Climate Modeling Deep Learning

How to Evaluate a System Design? Implementation and testbed/field deployment Pros: high accuracy Cons: Costly, difficult to repair/experiment in-field Simulations Pros: can be accurate, given realistic models; broad applicability Cons: can be slow, don t always provide intuition behind results Analysis Pros: Quick answers, provide insights Cons: can be inaccurate or inapplicable

Course Goal Introduction to analytical tools which are needed to construct/analyze models of resource contention systems. Computers Networks It is a course on methodologies PLUS applications

Example 1: First-Come-First-Served (FCFS) server Avg. arrival rate l jobs sec FCFS Avg. service rate m jobs sec Condition: λ < μ S: job size (sec) = service requirement Example: o On average, job needs 3x10 6 cycles o Machine executes 9X10 6 cycles/sec E S = 1 μ m 3 jobs sec Avg service rate μ = 3 jobs/sec Avg size of job on this server E S = 1/3 sec

Example 1: FCFS server (Cont ) QUESTION: If the arrival rate double, what service rate do you need to maintain the same delays for jobs? Avg. arrival rate 2l jobs sec FCFS Avg. service rate? jobs sec (a)2µ (b)less than 2µ (c)more than m 32µ jobs sec

Example 2: Many slow or 1 fast? m l jobs sec m l jobs sec km l km m vs. l km QUESTION: Which is better for minimizing E[T]? 21

Example 3: Job Scheduling l jobs sec m jobs sec FCFS (First-Come-First-Served, non-preemptive) PS (Processor-Sharing, preemptive) SJF (Shortest-Job-First, non-preemptive) SRPT (Shortest-Remaining-Processing-Time, preemptive) LAS (Least-Attained-Service-First, preemptive) QUESTION: Which scheduling policy is best for minimizing E[T]?

Example 4: Dynamic Load Balancing Examples: F5 Big-IP Microsoft SharePoint Cisco Local Director Coyote Point Equalizer IBM Network Dispatcher Response time, T Dispatcher QUESTION: What is a good dispatching policy for minimizing E[T]? 23

Example 4: Dynamic Load Balancing (Cont ) Round-Robin Response time, T Join-Shortest-Queue Dispatcher Least-Work-Left 24

Time-Varying Arrivals Call center Web servers

Course Outline The formulation & analysis of these models relies on Stochastic processes Queueing theory Statistics Scheduling Optimization Game theory Control theory Machine learning.

Textbook Mor Harchol-Balter, Performance Modeling and Design of Computer Systems: Queueing Theory in Action, Cambridge University Press, 2014.

Other References R. Srikant and L. Ying, Communication Networks: An Optimization, Control and Stochastic Networks Perspective, Cambridge University Press, 2014. D. Bertsekas and R. Gallagher, Data Networks, Second Edition, Prentice Hall, 1992. Leonard Kleinrock, Queueing Systems (Volume 1 & 2), John Wiley & Sons, 1975. J. Walrand, Probability in Electrical Engineering and Computer Science, Quorum Books, 2014. S. Ross, A First Course in Probability, Ninth Edition, Pearson, 2012. S. Ross, Stochastic Processes, Second Edition, Wiley, 1995.

Grading Homework: 10% Midterm: 30% Final: 30% Project: 30%