Computers - PowerPoint PPT Presentation

About This Presentation
Title:

Computers

Description:

Essential OS Functions. Process management. Memory management ... Returns control to the OS for rescheduling. preemptive scheduling. run to completion ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 26
Provided by: ASCH5
Learn more at: https://www.ou.edu
Category:

less

Transcript and Presenter's Notes

Title: Computers


1
Computers
  • Operating System Essentials

2
Operating Systems
PROGRAM
HARDWARE
3
Operating Components
APPLICATION PROGRAMS
MEMORY
SYSTEM PROGRAMS (COMPILERS, etc.)
OPERATING SYSTEM
KERNEL
MACHINE LANGUAGE
MICROPROGRAMMING
ROM
PHYSICAL EXECUTION
CPU
4
System Structure Layers
  • Processor Hardware functions circuits,
    instruction set, procedures, interrupts
  • Process management multiprogramming, management
    of secondary storage, logical addressing
  • External resource management communication among
    process, file management, device access and
    addressing, user support

5
OS Functions
  • User Interface
  • Resource Management
  • Evolution

6
User Interface Functions
  • Create programs
  • Execute programs
  • Access I/O devices
  • Manage file access
  • Provide shared access
  • Manage error detection
  • Provide accounting

7
Resource Management
  • Shares resources among applications
  • Increases efficiency

8
Evolution
  • Support hardware upgrades
  • Enables operating system upgrades and additional
    features
  • Fixes

9
Essential OS Functions
  • Process management
  • Memory management
  • Information protection and security
  • Scheduling and resource management
  • System architecture

10
Process
  • Consists of
  • Executable program
  • Data and data resources
  • Execution context register contents, priorities
    and module status

11
Process Management
  • Multiprogramming
  • Running several programs at a time to increase
    cpu utilization
  • Time sharing
  • Allowing multiple interactive users to log in at
    the same time
  • Real time transaction processing
  • Allow multiple users/programs to use the same
    copy of a program at once

12
Batch Multiprogramming (Short term dispatching)
READY
READY
READY
NEW
RUNNING
HALTED
NEW
RUNNING
ERROR/ COMPLETE
WAITING
WAITING
I/O
I/O
13
Process Control Block (Short term scheduling)
14
Dispatching lower level process scheduling
  • 50 - 60 automatic interrupts per second
  • Returns control to the OS for rescheduling
  • preemptive scheduling
  • run to completion

15
Process Management Problems
  • Synchronization correct management of
    interrupted processes
  • Mutual exclusion keeping shared resource use
    separate
  • Determinate program operation programs get the
    same result every time independent of what else
    is running
  • Deadlock

16
Memory Management
  • Virtual memory and file management
  • Isolation
  • Automatic allocation and management
  • Support modular programming
  • Protection and access control
  • Long-term storage

17
Addresses
  • Physical address actual memory location.
    NEEDED BY THE CPU
  • Relative address offset from a reference
    physical address. NEEDED BY THE OPERATING SYSTEM
  • Logical address address within a programmed
    unit (e.g. page). NEEDED BY APPLICATION PROGRAMS

18
Virtual Memory
FRAME NUMBER OFFSET
PAGE NUMBER OFFSET
PAGE TABLE
PAGE TABLE
PAGE TABLE
Page Frames
Pages
19
Page Table Access
  • A page table is an index to the current location
    of a page. Access can be
  • Swapped
  • Page Segmentation (hierarchical)
  • Hashed

20
Translation Lookaside Buffer Page Cache
ALU
CNTL
.....
CACHE
BUS
MAIN MEMORY
DASD
TLB
Page Frames
Pages
21
Information Protection and Security
  • Access control authorization and access
    limitation
  • Information flow control manage the
    distribution of information to the proper
    location
  • Certification assure that protection and
    security systems are working correctly

22
Scheduling and Resource Management
  • Considers
  • Fairness
  • Differential response
  • Efficiency

23
Modern Operating Systems
  • Microkernel Architecture
  • Multithreading
  • Symmetric pultiprocessing

24
Virtual Machine O/S
  • Users think they have the entire machine
  • Copies of machine can execute the complete
    machine language
  • May run different operating systems in different
    partitions

25
OS Management
Write a Comment
User Comments (0)
About PowerShow.com