lecture 1_O
lecture 1_O
lecture 1_O
LEC1: INTRODUCTION
Reference
Topics to be covered
➢Introduction to operating system
➢Process Management
➢CPU scheduling
➢Deadlocks
➢Memory Management
➢I/O Systems
➢Protection and security
What is Operating
System?
What is an Operating System?
➢A program that acts as an intermediary between a user of a computer and the computer
hardware
➢Operating system goals:
➢Execute user programs and make solving user problems easier
➢Make the computer system convenient to use
➢Use the computer hardware in an efficient manner
➢“The one program running at all times on the computer” is the kernel.
➢Everything else is either
➢a system program (ships with the operating system) , or
➢an application program.
ComputerSystem Structure
Computer System Structure
38
Digital Data Representation
➢Prefixes are often used to express larger quantities of
bytes: kilobyte (KB), megabyte (MB), gigabyte (GB),
terabyte (TB), petabyte (PB), exabyte (EB), zettabyte
(ZB), yottabyte (YB).
1Kilobytes(KB) 10 1024bytes
2bytes
1Megabytes(MG) 20 1024KB
2bytes
1Gegabytes(GB) 30 1024MB
2bytes
1Terabytes(TB) 40 1024GB
2bytes
Storage Hierarchy
➢Storage systems organized in hierarchy
➢Speed
➢Cost
➢Volatility
➢Caching – copying information into faster storage system; main memory can be
viewed as a cache for secondary storage
➢Device Driver for each device controller to manage I/O
➢Provides uniform interface between controller and kernel
Storage-DeviceHierarchy
Storage Structure
➢Main memory – only large storage media that the CPU can access directly
➢Random access
➢Typically volatile