You are on page 1of 1

What is an Operating System? Why Study Operating Systems?

n An operating system (OS) is the interface n Abstraction — how do you give the users
between the user and the hardware the illusion of infinite resources (CPU
● It implements a virtual machine that is
time, memory, file space)?
easier to program than bare hardware
n System design —tradeoffs between:
n An OS provides standard services (an ● performance and convenience of these
interface) which are implemented on the abstractions
hardware, including: ● performance and simplicity of OS
● Processes, CPU scheduling, memory ● functionality in hardware or software
management, file system, networking
n Primary intersection point — OS is the
n The OS coordinates multiple
point where hardware, software,
applications and users (multiple
programming languages, data structures,
processes) in a fair and efficient manner
and algorithms all come together
åThe goal in OS development is to make n Curiosity — “look under the hood”
the machine convenient to use (a
software engineering problem) and
n “Operating systems are among the most
efficient (a system and engineering
complex pieces of software yet
problem)
1 Fall 1998, Lecture 01 2
developed”, William Stallings, 1994 Fall 1998, Lecture 01

Modern OS Functionality What is an Operating System?

n Concurrency n A magician — provides each user with


● Multiple processes active at once
the illusion of a dedicated machine with
infinite memory and CPU time
● Processes can communicate
● Processes may require mutually- n A government — allocates resources
exclusive access to some resource efficiently and fairly, protects users from
each other, provides safe and secure
● CPU scheduling, resource management
communication
n Memory management — allocate
n A parent — always there when you need
memory to processes, move processes
it, never breaks, always succeeds
between disk and memory
n A fast food restaurant — provides a
n File system — allocate space for storage
service everyone needs, always works
of programs and data on disk
the same everywhere (standardization)
n Networks and distributed computing —
n A complex system — but keep it as
allow computers to work together
simple as possible so that it will work
n Security & protection

3 Fall 1998, Lecture 01 4 Fall 1998, Lecture 01

You might also like