 Elevator Scheduling Lingfeng Luo Zhao Han. Elevator Scheduling Problem  Elevator as a control System  Behavior depends on programmed algorithms 

Slides:



Advertisements
Similar presentations
Silberschatz, Galvin and Gagne Operating System Concepts Disk Scheduling Disk IO requests are for blocks, by number Block requests come in an.
Advertisements

Disks Disk Hardware (1) Disk parameters for the original IBM PC floppy disk and a Western Digital WD hard disk.
Operating Systems Disk Scheduling A. Frank - P. Weisberg.
Τεχνολογία Λογισμικού Ενσωματωμένων Συστημάτων Case Study: The Multi-Cabin Elevator Control System.
Process Control Management Prepared by: Dhason Operating Systems AICT
Operating Systems Process Scheduling (Ch 3.2, )
Disk scheduling examples. Problem parameters: u Disk has 100 cylinders, labeled u Time to move from cylinder A to cylinder B is a linear function.
Elevator Scheduling Ingrid Cheh Xuxu Liu 05/05/09.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 17 Scheduling III.
Ceng Operating Systems Chapter 2.2 : Process Scheduling Process concept  Process scheduling Interprocess communication Deadlocks Threads.
Exercise (5).
Input/Output Management and Disk Scheduling
Operating Systems 1 K. Salah Module 2.1: CPU Scheduling Scheduling Types Scheduling Criteria Scheduling Algorithms Performance Evaluation.
Chapter 12 – Disk Performance Optimization Outline 12.1 Introduction 12.2Evolution of Secondary Storage 12.3Characteristics of Moving-Head Disk Storage.
1 Service A Queuing System Arrival Rate (  Average Number in Queue ( L q ) Avg Time in System ( W ) Avg Number in System ( L ) Average Wait in Queue.
Disks.
Scalable Live Video Streaming to Cooperative Clients Using Time Shifting and Video Patching Meng Guo and Mostafa H. Ammar INFOCOM 2004.
Operating System Process Scheduling (Ch 4.2, )
FUNCTIONS OF OPERATING SYSTEMS Interfaces Memory Management Security Utility Interrupt Handling.
Disk and I/O Management
Device Management. So far… We have covered CPU and memory management Computing is not interesting without I/Os Device management: the OS component that.
Simulation of Memory Management Using Paging Mechanism in Operating Systems Tarek M. Sobh and Yanchun Liu Presented by: Bei Wang University of Bridgeport.
Operating System Concepts and Techniques Lecture 7 Scheduling-3 M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and Techniques, First.
CPU S CHEDULING Lecture: Operating System Concepts Lecturer: Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Scheduling Strategies Operating Systems Spring 2004 Class #10.
Exercise (4). Exercise Assume the following jobs are executed with one processor, with the jobs arriving in the order listed in the table. – Suppose a.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Railway Operations: Issues and Objectives Capacity management Infrastructure planning Timetable preparation Management of day-to-day movement of trains.
CS 3204 Operating Systems Godmar Back Lecture 22.
1 Our focus  scheduling a single CPU among all the processes in the system  Key Criteria: Maximize CPU utilization Maximize throughput Minimize waiting.
CPU Scheduling Algorithms Simulation using Java Kaushal Sinha CSC 4320 Spring 2007.
3.1 : Resource Management Part2 :Processor Management.
An automated supply chain management system.. Project Members Project Supervisor : Dr. Sayeed Ghani.
15-410, S’ Disks Mar. 24, 2004 Dave Eckhardt & Bruce Maggs Brian Railing & Steve Muckle Contributions from Eno Thereska “How Stuff Works”
Lecture 3 Page 1 CS 111 Online Disk Drives An especially important and complex form of I/O device Still the primary method of providing stable storage.
Operating Systems 1 K. Salah Module 2.2: CPU Scheduling Scheduling Types Scheduling Criteria Scheduling Algorithms Performance Evaluation.
I/O Management and Disk Scheduling. I/O Hardware Incredible variety of I/O devices Common concepts Port (a connection point) Bus (daisy chain or shared.
Disk Scheduling CS Introduction to Operating Systems.
Chapter 11 File Systems and Directories. Chapter Goals Files, directories, and file systems Text and Binary files Disk-scheduling algorithms 11-2.
1.  Disk Structure Disk Structure  Disk Scheduling Disk Scheduling  FCFS FCFS  SSTF SSTF  SCAN SCAN  C-SCAN C-SCAN  C-LOOK C-LOOK  Selecting a.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 13 Mass-Storage Systems Slide 1 Chapter 13 Mass-Storage Systems.
Device Management Mark Stanovich Operating Systems COP 4610.
Disk Average Seek Time. Multi-platter Disk platter Disk read/write arm read/write head.
Chapter 9 I/O System. 2 Input/Output System I/O Major objectives are: Take an application I/O request and send it to the physical device. Then, take whatever.
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
I/O Scheduling Computer Organization II 1 Disk Scheduling Carrying out disk accesses in the order they are received will not always produce optimal performance.
Elevator Algorithm B 楊定 B 王育軒 B 陳昶亦.
1 Reminders Project 3 due tomorrow in lecture turnin + report Today’s office hours in 006 changed to 5:30-6:30 Project 4 out soon, due last day of classes.
Device Management Andy Wang Operating Systems COP 4610 / CGS 5765.
CPU Scheduling Operating Systems CS 550. Last Time Deadlock Detection and Recovery Methods to handle deadlock – Ignore it! – Detect and Recover – Avoidance.
Elevator (Disk) Scheduling COMPSCI 210 Recitation 26th Oct 2012 Vamsi Thummala.
Elevator Scheduling Mingzhou Hu Yujian Gao Haogang Su Xiangya Yan.
Name : Mamatha J M Seminar guide: Mr. Kemparaju. GRID COMPUTING.
CPU Scheduling CS Introduction to Operating Systems.
Disk Scheduling Algorithms
DISK SCHEDULING FCFS SSTF SCAN/ELEVATOR C-SCAN C-LOOK.
Moving-head Disk Machanism
Batch Scheduling Algorithms
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Chapter 37 Hard Disk Drives
Native simulation of different scheduling policies
Disks and scheduling algorithms
Persistence: hard disk drive
Chapter 11 I/O Management and Disk Scheduling
Disk Scheduling Carrying out disk accesses in the order they are received will not always produce optimal performance. Seek time is the reason for differences.
CPU SCHEDULING SIMULATION
ITEC 202 Operating Systems
Prof. Deptii Chaudhari.
ThyssenKrupp Elevator Americas
Operating Systems Disk Scheduling A. Frank - P. Weisberg.
Presentation transcript:

 Elevator Scheduling Lingfeng Luo Zhao Han

Elevator Scheduling Problem  Elevator as a control System  Behavior depends on programmed algorithms  Different solution depending on building type and number of elevators working together  Assignment of job  External elevator request  Internal floor request

The Building Setting: 15 floor building 2 elevators Goal: Simulate and analyze three major elevator scheduling algorithms by JAVA Use simulation results to find optimal algorithm.

Tools we used  Use JAVA to program different elevator scheduling algorithms.  Use Excel to analyze simulated results and plot chart.

Algorithm A  FCFS ( First come first serve)  Elevators work depends on the order of every request. The first one who sends the request can take the elevator first.

Algorithm B  SSTF- Shortest Seek time first  It will find out which floor is the closest to the elevator. Then, the elevator goes to that floor, and search the next requested floor according to their distance.

Algorithm C  Scan  SCAN makes elevators moving from top to the bottom. Elevators turn back when they reach the top or the bottom.

Performance Metrics  We will evaluate these metrics below for simulated outcome of 3 different elevator scheduling algorithms.  Waiting time of a client: the time in between the client makes a outer request till he gets to the destination floor  C: Total passenger carried in given time interval.

Results – Original Data (FCFS)

Imperfections of the program and things need to improve  1. the arrival rate is the same for day and night, hour to hour.  2. requested rate is the same on every floor  3. the client is always patient  4. no interface

Limitation of each Strategies  FCFS: not efficient, slows down the process for accessing the floor than it must  SCAN: takes longer for the average request, (won’t starve the process for the sake of others  SSTF: leave some request for very long time

Result Pattern

Avg Waiting Time

Thank you! Questions