CH 1
CH 1
Tenth Edition
Silberschatz, Galvin and Gagne
Chapter 1
Introduction
Chapter 1: Introduction 1
• OS is a resource allocator
• Manages all resources
• Decides between conflicting requests for efficient and
fair resource use
• OS is a control program
• Controls execution of programs to prevent errors and
improper use of the computer
• Two types:
1. Asymmetric Multiprocessing – each processor is assigned a specie task.
2. Symmetric Multiprocessing – each processor performs all tasks
• File-System management
• Files usually organized into directories
• Access control on most systems to determine who can access what
• O S activities include
• Creating and deleting files and directories
• Primitives to manipulate files and directories
• Mapping files onto secondary storage
• Backup files onto stable (non-volatile) storage media
Copyright ©2020 John Wiley & Sons, Inc. 41
Mass-Storage Management 1
• Usually disks used to store data that does not fit in main memory or data
that must be kept for a “long” period of time
• Proper management is of central importance
• Entire speed of computer operation hinges on disk subsystem and its
algorithms
• OS activities
• Free-space management
• Storage allocation
• Disk scheduling
• Use cases involve laptops and desktops running multiple OSes for
exploration or compatibility
• Apple laptop running Mac OS X host, Windows as a guest
• Developing apps for multiple O Ses without having multiple systems
• QA testing applications without having multiple systems
• Executing and managing compute environments within data centers
• VMM can run natively, in which case they are also the host
• There is no general purpose host then (V Mware ESX and Citrix
XenServer)