FUNCTIONS OF OPERATING SYSTEMS Interfaces Memory Management Security Utility Interrupt Handling.

Slides:



Advertisements
Similar presentations
Operating Systems Chapter 6.
Advertisements

PROCESS MANAGEMENT Y. Colette LeMard.
Section 6.2. Record data by magnetizing the binary code on the surface of a disk. Data area is reusable Allows for both sequential and direct access file.
Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
?  Able to explain the 6 key functions of system software  Able to explain each using a suitable example  Identify three different system software.
Processes Management.
Part IV: Memory Management
Scheduling Criteria CPU utilization – keep the CPU as busy as possible (from 0% to 100%) Throughput – # of processes that complete their execution per.
Topic : Process Management Lecture By: Rupinder Kaur Lecturer IT, SRS Govt. Polytechnic College for Girls,Ludhiana.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 17 Scheduling III.
IT Systems Multiprocessor System EN230-1 Justin Champion C208 –
CENG 334 – Operating Systems 05- Scheduling
Chapter 3: CPU Scheduling
Operating Systems (CSCI2413) Lecture 4 Process Scheduling phones off (please)
Multiprocessing Memory Management
1 Today I/O Systems Storage. 2 I/O Devices Many different kinds of I/O devices Software that controls them: device drivers.
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
Chapter 6: CPU Scheduling
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
Chapter 4 Processor Management
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Operating Systems Process Management.
1 Our focus  scheduling a single CPU among all the processes in the system  Key Criteria: Maximize CPU utilization Maximize throughput Minimize waiting.
The Operating System ICS3M.  The operating system (OS) provides a consistent environment for other software programs to execute commands.  It gives.
3.1 : Resource Management Part2 :Processor Management.
The Functions of Operating Systems Desktop PC Operating Systems.
Chapter 5 Processor Scheduling Introduction Processor (CPU) scheduling is the sharing of the processor(s) among the processes in the ready queue.
1 Unix Architecture. 2 Operating Systems Concepts 1. Process 2. Memory management 3. Information protection & security 4. Scheduling and resource management.
The Functions of Operating Systems Scheduling(multi-programming)
Lecture Topics: 11/15 CPU scheduling: –Scheduling goals and algorithms.
9691 Computing Paper 3 Section 3.1 The functions of Operating Systems.
بسم الله الرحمن الرحيم MEMORY AND I/O.
The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.
CPU Scheduling Operating Systems CS 550. Last Time Deadlock Detection and Recovery Methods to handle deadlock – Ignore it! – Detect and Recover – Avoidance.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Memory management The main purpose of a computer system is to execute programs. These programs, together with the data they access, must be in main memory.
CPU Scheduling CS Introduction to Operating Systems.
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
9691 Computing Paper 3 Section 3.1 The functions of Operating Systems.
Operating Systems c. define and explain the purpose of scheduling, job queues, priorities and how they are used to manage job throughput; d. explain how.
Multiprogramming. Readings r Chapter 2.1 of the textbook.
Operating System Review
Process Management Process Concept Why only the global variables?
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
Advanced OS Concepts (For OCR)
The Operating System Nick Sims.
William Stallings Computer Organization and Architecture
CPU & its Components CPU stands for central Processing Unit
Operating Systems What are they and why do we need them?
IB Computer Science Topic 2.1.1
Operating System Review
Process management Information maintained by OS for process management
CPU Scheduling Basic Concepts Scheduling Criteria
Process Management with OS
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 13 The Function of Operating Systems
Operating System Review
Chapter5: CPU Scheduling
Operating Systems Tasks 17/02/2019.
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Software - Operating Systems
Module 5: CPU Scheduling
Chapter 6: Scheduling Algorithms Dr. Amjad Ali
Scheduling Computing Theory – F453.
CPU Scheduling: Basic Concepts
Module 5: CPU Scheduling
Presentation transcript:

FUNCTIONS OF OPERATING SYSTEMS Interfaces Memory Management Security Utility Interrupt Handling

Security Login back up/system restore utility software

JOB SCHEDULING – FCFS – fist come, first served – RR or round robin – every user gets a small amount of time with the processor before it goes onto the next user (multi access OS) – SJF – shortest job first. OS estimates length of time to carry out the task and places accordingly in the queue – SRT – shortest remaining time, similar to SJF except jobs will obviously get shorter and hence nearer the top of the queue as they are processed. Jobs are returned to the queue when they have to stop for some reason like waiting for input from a keyboard. Problem is that longer jobs may never get started!! – MFQ – multi-level feedback queues. Very complete algorithm involving a number of queues set up according to original rules and acting like a set of league table. As jobs are given a long amount of processor time without finishing, or when they require long periods of peripheral time, they will drop down the league tables, sometimes getting relegated! When a job is relegated or is finished and leaves the system, another job can be promoted. Jobs are not allowed to spend too much time monopolising the processor

SPOOLING If a job requires printout then there could be a sizable delay in carrying on with the processing as the processor has to send data to the printer for printing Printers are relatively slow at carrying out its tasks – Causes a speed mismatch between processor and printer – Buffers/interrupts is a solution to this If the job is going to take a long time, requiring multiple downloads to the printer, or printer is already busy – the result will be a slowing down of the processor

DISK THRASHING Involves the disk continually being searched for pages. Splitting the memory & jobs into pages of equal sizes makes things fairly straight forward to control as indexing system keep track of everything. It is not a very sensible way to split up pieces of code. More sensible to have a procedure in a page and then another page for the next procedure and so on. If the procedures are smaller than a page then more than one page is required and we are back to having arbitrary dividing lines.

STARTIN’ UP THE OS POST = POWER OF SELF TEST Checks that all the parts that it needs to ‘come to life’ are available It clears the registers in the CPU & loads the address of the first instruction in the boot program into the program counter Boot program  Gets the system ready to accept an operating system.  unalterable When a computer is switched on, it can only use data that is stored in the ROM  Generally a small instruction set Boot file  Contains some of the parameters by which the system will operate.  Partial user-definable o Program finds the file and reads Computer is now ready to load the OS. – Usually found on hard drive

Index on a hard drive is known as FAT: File allocation table When the surface of the disk is formatted it is divided into sectors and tracks and groups of sectors are combined into clusters on the disk surface. The FAT has all the clusters on the disk surface listed in order & the file that is stored there. Files that require multiple clusters because of their file size will have the clusters linked together in the table, and clusters that are not in use will be tagged as available.