









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










U U U U
A process is a program in execution. It is a unit of work within the system. Program is a , process is an. Process needs resources to accomplish its task
. CPU, memory, I/O, files . Initialization data Process termination requires reclaim of any reusable resources
The OS is responsible for the following activities in connection with process management: d (^) Creating and deleting both user and system processes d Suspending and resuming processes d Providing mechanisms for process synchronization d Providing mechanisms for process communication d Providing mechanisms for deadlock handling
U Memory management activities
. Keeping track of which parts of memory are currently being used and by whom . Deciding which processes (or parts thereof) and data to move into and out of memory . Allocating and deallocating memory space as needed
U OS provides uniform, logical view of information storage
. Abstracts physical properties to logical storage unit - . (^) Each medium is controlled by device (i.e., disk drive, tape drive) U Varying^ properties^ include^ access^ speed,^ capacity, data-transfer rate, access method (sequential or random)
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 OS activities
. Free- space management . Storage allocation . Disk scheduling U U U
U Entire speed of computer operation hinges on disk subsystem and its algorithms U Some storage need not be fast
. Tertiary storage includes optical storage, magnetic tape . Still must be managed – by OS or applications . Varies between WORM (write-once, read- many-times) and RW (read-write)
Movement between levels of storage hierarchy can be explicit or implicit
U Multitasking environments must be careful to use most recent value, no matter where it is stored in the storage hierarchy U Multiprocessor environment must provide in hardware such that all CPUs have the most recent value in their cache U Distributed environment situation even more complex
. Several copies of a datum can exist . Various solutions covered in Chapter 17