Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Operating System Support - Processor Architecture and Microprogramming - Lecture Slides, Slides of Computer Architecture and Organization

During the course of work of the microprogramming, we learn the core of the programming. The main points disucss in these lecture slides are:Operating System Support, Objectives and Functions, Layers and Views of Computer System, Operating System Services, Resource Manager, Types of Operating System, Early Systems, Simple Batch Systems, Memory Layout

Typology: Slides

2012/2013

Uploaded on 04/24/2013

banani
banani 🇮🇳

4.3

(3)

91 documents

1 / 54

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Chapter 8
Operating System Support
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36

Partial preview of the text

Download Operating System Support - Processor Architecture and Microprogramming - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

Chapter 8

Operating System Support

Objectives and Functions

  • Convenience —Making the computer easier to use
  • Efficiency —Allowing better use of computer resources

Operating System Services

  • Program creation
  • Program execution
  • Access to I/O devices
  • Controlled access to files
  • System access
  • Error detection and response
  • Accounting

O/S as a Resource Manager

Early Systems

  • Late 1940s to mid 1950s
  • No Operating System
  • Programs interact directly with hardware
  • Two main problems: —Scheduling —Setup time

Simple Batch Systems

  • Resident Monitor program
  • Users submit jobs to operator
  • Operator batches jobs
  • Monitor controls sequence of events to process batch
  • When one job is finished, control returns to Monitor which reads next job
  • Monitor handles scheduling

Job Control Language

  • Instructions to Monitor
  • Usually denoted by $
  • e.g. —$JOB —$FTN —... Some Fortran instructions —$LOAD —$RUN —... Some data —$END

Desirable Hardware Features

  • Memory protection —To protect the Monitor
  • Timer —To prevent a job monopolizing the system
  • Privileged instructions —Only executed by Monitor —e.g. I/O
  • Interrupts —Allows for relinquishing and regaining control

Single Program

Multi-Programming with Two Programs

Utilization

Time Sharing Systems

  • Allow users to interact directly with the computer —i.e. Interactive
  • Multi-programming allows a number of users to interact with the computer

Long Term Scheduling

  • Determines which programs are submitted for processing
  • i.e. controls the degree of multi-programming
  • Once submitted, a job becomes a process for the short term scheduler
  • (or it becomes a swapped out job for the medium term scheduler)

Medium Term Scheduling

  • Part of the swapping function (later…)
  • Usually based on the need to manage multi- programming
  • If no virtual memory, memory management is also an issue