Docsity

Operating Systems: Fundamentals and Evolution - Prof. Yuan R. Chow, Study notes of Computer Science

Toggle sidebar
bg1
CHAPTER 1: OPERATING SYSTEM
FUNDAMENTALS
What is an operating system?
•A collection of software modules to assist programmers in enhancing
system efficiency, flexibility, and robustness
•An Extended Machine for the users’ viewpoint
•AResource Manager from the system’s viewpoint
What are the primary functions of an operating system?
•multiplexing the processor(s)
•scheduling processes
•coordinating interaction among processes, interprocess communication
and synchronization
•managing system resources (I/O, memory, data files)
•enforcing access control and protection
•maintaining system integrity and performing error recovery
•providing an interface to the users
1
pf3
pf4
pf5

Partial preview of the text

Download Operating Systems: Fundamentals and Evolution - Prof. Yuan R. Chow and more Study notes Computer Science in PDF only on Docsity!

CHAPTER 1: OPERATING SYSTEM

FUNDAMENTALS

What is an operating system?

  • A collection of software modules to assist programmers in enhancing system efficiency, flexibility, and robustness
  • An Extended Machine for the users’ viewpoint
  • A Resource Manager from the system’s viewpoint

What are the primary functions of an operating system?

  • multiplexing the processor(s)
  • scheduling processes
  • coordinating interaction among processes, interprocess communication and synchronization
  • managing system resources (I/O, memory, data files)
  • enforcing access control and protection
  • maintaining system integrity and performing error recovery
  • providing an interface to the users

Evolution of modern operating systems

  1. Centralized operating system: resource management and extended ma- chine to support Virtuality
  2. Network operating system: resource sharing to achieve Interoperability
  3. Distributed operating system: a single computer view of a multiple- computer system for Transparency
  4. Cooperative autonomous system: cooperative work with Autonomicity

A spectrum of modern operating systems

centralized operating system

distributed operating system

cooperative autonomous system

network operating system

1st 3rd 4th 2nd

Decreasing Degree of Hardware and Software Coupling

Overview of centralized operating systems:

Resource Manager

  • Process management
    • interprocess communication
    • process synchronization
    • process scheduling
  • Memory management
    • memory allocation and deallocation
    • logical to physical address mapping
    • virtual memory support: segmentation and paging
    • protection
  • Device management
    • device driver
    • buffering
    • spooling
  • Data management
    • file access
    • file sharing
    • concurrency control
    • data replication

Network operating system

  • interoperability: ability of information exchange among heterogeneous systems
  • supported by network communication protocols
  • transport service: the primary interface between operating system and computer network
  • characterized by common network applications (servers)
    • remote login
    • file transfer
    • messaging
    • browsing
    • remote execution

A network file system example

KERNEL KERNEL

device

application processes file service local file system device management

local hardware

drivers service

network

service

transport

file system

network

communication network

peer communication protocols

application processes file service network file system

service

transport

network

local file system device management device

local hardware

service drivers

Why do we need distributed control algorithms?

An algorithm is sometimes called protocol if it specifies coordination more than computation.

  • algorithm changes due to message passing
  • need for consensus algorithms due to lack of global information
  • concurrency control algorithms to avoid interference in resource sharing
  • coherency control algorithms to maintain consistency for data replica- tion
  • protocols for group communication in distributed applications
  • fault-tolerance algorithms for handling failure and recovery
  • real-time and distributed scheduling algorithms