©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 1 Chapitre 1.2 Systèmes dexploitation.

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Chapter 6 I/O Systems.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Chapter 5: CPU Scheduling
1 Concurrency: Deadlock and Starvation Chapter 6.
Advanced Piloting Cruise Plot.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Operating Systems Chapter 6.
So far Binary numbers Logic gates Digital circuits process data using gates – Half and full adder Data storage – Electronic memory – Magnetic memory –
OPERATING SYSTEMS Lecturer: Szabolcs Mikulas Office: B38B
1 Processes and Threads Creation and Termination States Usage Implementations.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
Scheduling Introduction to Scheduling
ZMQS ZMQS
Richmond House, Liverpool (1) 26 th January 2004.
Scheduling Algorithems
Schedulers Long-term scheduler (or job scheduler) – selects which processes should be brought into the ready queue. Short-term scheduler (or CPU scheduler)
Chapter 7 Memory Management
Chapter 5 : Memory Management
Operating Systems Disk Scheduling A. Frank - P. Weisberg.
Minimum Weight Plastic Design For Steel-Frame Structures EN 131 Project By James Mahoney.
Process Management.
Chapter 4 Memory Management Basic memory management Swapping
ABC Technology Project
Chapter 3 Memory Management
Virtual Memory II Chapter 8.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
©2007 First Wave Consulting, LLC A better way to do business. Period This is definitely NOT your father’s standard operating procedure.
Squares and Square Root WALK. Solve each problem REVIEW:
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
CS 241 Spring 2007 System Programming 1 Memory Implementation Issues Lecture 33 Klara Nahrstedt.
3.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process An operating system executes a variety of programs: Batch system.
Tanenbaum & Woodhull, Operating Systems: Design and Implementation, (c) 2006 Prentice-Hall, Inc. All rights reserved OPERATING SYSTEMS DESIGN.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Processes Management.
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
© 2004, D. J. Foreman 1 Scheduling & Dispatching.
Addition 1’s to 20.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
PSSA Preparation.
TASK: Skill Development A proportional relationship is a set of equivalent ratios. Equivalent ratios have equal values using different numbers. Creating.
1 PART 1 ILLUSTRATION OF DOCUMENTS  Brief introduction to the documents contained in the envelope  Detailed clarification of the documents content.
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
Chapter 1.2 Operating Systems. Layered Operating System model Hardware Operating System Application.
Presentation transcript:

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 1 Chapitre 1.2 Systèmes dexploitation

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 2 Layered Operating System model Hardware Operating System Application

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 3 Absolute Binary Loader ABL Central Memory s3,t4

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 4 Command Interpreter ABL Central Memory chess s3,t4 Cmnd.Int. Fmgr.

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 5 Interactive usage

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 6 Batch Processing

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 7 File Manager Organizes data on disk Hides the details of physical files Offers standardized file organizations –Sequential –Random Access –Indexed Sequential Maintains File Directories

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 8 Random Access Files Space inefficient Fast access

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 9 Sequential Files Space efficient Slow access

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 10 Indexed Sequential Files Good compromise: Space efficient Access reasonably fast

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 11 Command Interpreter ABL chess Cmnd.Int. Fmgr.

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 12 Control by Command Interpreter Program X Return to CMND.INT Start User Pgm Cmnd Interpreter

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 13 Interrupts Interrupt Handler

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 14 KFL = KDA = DDA = *0# 789 Data Memory Arithmetic Unit Control Unit Program Memory ND = SC = p1 COPY #0NDP2 p2 COPY #0SCP3 p3 NE? ND#3P3P4 p4 NE? SC#321P1P5 p5 COPY #1DDAP1 p10 MUL SC#10SCP11 p11ADDSCKDASCP12 p13 ADD ND#1NDP14 p12 COPY #0KFLP13 Interrupt handler p14 RTI Interrupt

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 15 Interrupt Handler Program X Return to int.handlr Start User Pgm Interrupt Handler Find cause int. Control Unit

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 16 Interrupt Handler Based System Command interpreter User program File manager A.B.L. Interrupt handler

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 17 Single-task Systems active waiting for cpu Blocked (= busy waiting) task completed start I/O activation load I/O completion

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 18 active waiting for cpu blocked task completed start I/O preemption activation load swap out I/O completion (interrupt) Multi-task Systems

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 19 Multitasking Issues Process Scheduling Which program becomes active when ? Job Scheduling (or Queue Management) Which programs reside in Central Memory ? Memory Management How much memory gets each program ? Output Spooling How to keep output of programs apart ?

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 20 Process Scheduler All programs have a priority and the one waiting with the highest priority becomes active. Non-preemptive Scheduling: Priorities are compared whenever the active program blocks itself a clock tick occurs (typically every 10 mS) Preemptive Scheduling Priorities are continuously compared.

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 21 Process Priorities active blocked +1 p = p 0 waiting for cpu +1

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 22 Job Scheduler Selects the programs to be loaded in Central Memory Manual selection (starting an application under Windows) Automatic selection –based on priorities –Based on the Round Robin algorithm

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 23 Round Robin Central memory Preempted tasks after t seconds New tasks Input queue Completed tasks

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 24 Memory Management Allocates memory to each program –Static Allocation Good Job Scheduling mandatory. –Dynamic Allocation: Virtual Memory Job Scheduling not so important.

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 25 Virtual Memory Page Table cm pm CMPM cm pm

©J.Tiberghien - ULB-VUB Version 2007 Première partie, chap. 2, page 26 Output Spooling Program AProgram BProgram CProgram D