SlideShare a Scribd company logo
1 of 35
Download to read offline
7th Feb 2006
Operating System
Lecture 1 - Introduction and Overview
 Textbook:
Operating System Concepts – (Sixth
Edition)
Silberschatz and Galvin,
Addison-Wesley Inc
7th Feb 2006 2
• What is an OS?
• OS History
» Early Operating Systems
» Simple Batch Systems
» Multiprogrammed Batch Systems
» Time-sharing Systems
» Personal Computer Systems
» Parallel and Distributed Systems
» Real-time Systems
• OS Concepts
7th Feb 2006 3
• Application software Software written to
address specific needs—to solve problems in the
real world
Word processing programs, games, inventory
control systems, automobile diagnostic programs,
and missile guidance programs are all application
software.
• System software Software that manages a
computer system at a fundamental level
It provides the tools and an environment in which
application software can be created and run.
7th Feb 2006 4
Fig 1 An operating system
interacts with many
aspects of a computer
system.
7th Feb 2006 5
What is an Operating System?
7th Feb 2006 6
 An operating system
– manages computer resources, such as memory
and input/output devices
– provides an interface through which a human
can interact with the computer
– allows an application program to interact with
these other system resources
What is an Operating System?(cont..)
7th Feb 2006 7
 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.
Why should I study Operating Systems?
7th Feb 2006 8
 Need to understand interaction between the
hardware and applications
 New applications, new hardware..
 Need to understand basic principles in the
design of computer systems
• efficient resource management, security, flexibility
Why should I study Operating Systems?
(cont..)
7th Feb 2006 9
 Increasing need for specialized operating
systems
• e.g. embedded operating systems for devices - cell
phones, sensors and controllers
• real-time operating systems - aircraft control,
multimedia services
Computer System Components
7th Feb 2006 10
Hardware
Provides basic computing resources (CPU, memory, I/O
devices).
Operating System
Controls and coordinates the use of hardware among
application programs.
Application Programs
Solve computing problems of users (compilers, database
systems, video games, business programs such as banking
software).
Users
People, machines, other computers
Abstract View of System
System and Application Programs
Operating System
System and Application Programs
Operating System
Computer
Hardware
Computer
Hardware
User
1
User
1 User
2
User
2
User
3
User
3
User
n
User
n
compiler
7th Feb 2006 11
assembler Text editor Database
system
...
Fig 1.2
Different view of OS
7th Feb 2006 12
User perspective:
OS is an interface which makes interaction with
the computer and running applications easy
Different view of OS(cont..)
7th Feb 2006 13
System perspective
• Resource allocator
• to allocate resources (software and hardware) of the
computer system and manage them efficiently.
• Control program
• Controls execution of user programs and operation
of I/O devices.
• Kernel
• The program that executes forever (everything else
is an application with respect to the kernel).
Process mangt lower
module(p,v),process
scheduler
Memory mangt
Process mangt upper module
7th Feb 2006 14
Device mangt
Information mangt
Fig 1.3 Levels of os
History of operating systems
• 1940's: computers were special-purpose
e.g., ENIAC(Electronic Numerical integrator and
computer) – wired to compute ballistics tables
to change the computation, had to
rewire/reconfigure
7th Feb 2006 15
History of operating systems(cont..)
• Early 1950's: general-purpose computers were built
e.g., EDVAC(Electronic discrete variable Automatic computer) – utilized the
von Neumann architecture:
stored program in memory, CPU fetch-execute cycle
Still, only a single user serviced at a time
Typical setup:
 users would sign up for a time slot (e.g 2am-3am)
 during that slot, had exclusive use of the computer
 must load program into memory space, overwriting old
contents
single program, single memory space, minimal peripherals
7th Feb 2006 16
History of operating systems(cont..)
7th Feb 2006 17
Drawbacks of single-user, programmable
computer
inconvenient for user
Wastage of computer time (computer was idle during
setup, debugging, …)
History of operating systems(cont..)
• Mid 1950's: batch processing was introduced
 idea: combine multiple user jobs into a single batch job
Typical setup:
 users would submit jobs on cards/tape to computer
operator
 operator would combine multiple jobs into a single batch
job and load into card/tape reader
 each user job would be executed in turn
 users received output after all jobs finished
7th Feb 2006 18
History of operating systems(cont..)
The primitive operating system in charge of
executing the batch job was called a resident
monitor
 it resided permanently in memory
 it monitored the execution of each job in succession
Fig 1.4 memory
layout for a batch
system
7th Feb 2006 19
History of operating systems(cont..)
7th Feb 2006 20
Parts of a resident monitor
 control card interpreter (read & carry out card
instructions)
 loader (load system programs & applications into
memory)
 device drivers (control peripheral devices)
Note: when the monitor started a job, it handed over
control of the computer to that job, regained control
when the job terminated, then started the next job
History of operating systems(cont..)
7th Feb 2006 21
Advantages of batch systems
 moves much of the setup work from the user to the
computer
 increased performance since could start a job as soon as
previous job finished
History of operating systems(cont..)
7th Feb 2006 22
Drawbacks of batch systems
 turn-around time could be large from user standpoint
 more difficult to debug program
 due to the lack of a protection scheme, one batch job could
affect pending jobs (e.g., read too many cards)
 a job could corrupt the monitor, thus affecting pending jobs
 a job could enter an infinite loop
History of operating systems(cont..)
7th Feb 2006 23
• Early 1960's: Multiprogramming
as memory became cheaper, could load many user
programs in memory simultaneously
 in contrast to batch, could partition the memory
monitor (OS) could switch when a job became idle (e.g.,
I/O)
 since each job had its own memory partition, minimal overhead
involved in switching
first multiprogramming OS: IBM OS/360
History of operating systems(cont..)
(resident monitor)
7th Feb 2006 24
Fig 1.5 memory
layout for a
multiprogramming
system
History of operating systems(cont..)
7th Feb 2006 25
Typical setup:
 users submitted jobs to computer operator
 jobs were loaded into separate memory partitions
 computer would begin executing first job
 during idle period, could switch to another job
 user could receive output as soon as their job
terminated
multiprogramed but do not permit interaction with
the user appropriate for executing large jobs that
need little interaction
History of operating systems(cont..)
7th Feb 2006 26
• Mid 1960's: Timesharing
• Programs queued for execution in FIFO order.
• Like multiprogramming, but timer device interrupts
after a quantum (time slice).
• Interrupted program is returned to end of FIFO
• Next program is taken from head of FIFO
• Control card interpreter replaced by command language
interpreter.
History of operating systems(cont..)
7th Feb 2006 27
• Interactive (action/response)
• when OS finishes execution of one command, it
seeks the next control statement from user.
• File systems
• online file system is required for users to access
data and code.
• Virtual memory
• Job is swapped in and out of memory to disk.
History of operating systems(cont..)
• Late 1970's: Desktop systems
personal computers bucked the trend of centralization
 provided a machine cheap enough to be used (and
wasted) by a single user
Typical setup:
 single user worked at dedicated machine
 at least early on, all peripherals were connected
directly (networking not widespread until 90's)
7th Feb 2006 28
History of operating systems(cont..)
• Early PC's utilized a command-line interface
 CP/M (1977), MS-DOS (1981)
• Graphical User Interface (GUI) introduced by
Macintosh
 Mac-OS (1984), Windows (1985), Motif (1989)
7th Feb 2006 29
History of operating systems(cont..)
7th Feb 2006 30
• Multiprocessor systems ( parallel systems, or
tightly coupled systems)
• more than one processor in close communication, share
bus and clock, other resources
• can increase throughput, save on shared resources,
provide greater reliability
 symmetric multiprocessing (SMP): each CPU runs a
copy of the OS, can communicate
most modern OS provide support for SMP
 asymmetric multiprocessing: master CPU assigns
specific tasks to slave CPUs
more common in large systems with specialized hardware
History of operating systems(cont..)
7th Feb 2006 31
• Distributed systems (loosely coupled systems)
• distribute the computation among several processors, each
with its own memory & resources
• processors communicate via communications lines, e.g.,
high-speed buses or phone lines
• similar benefits as multiprocessor, but generally simpler,
cheaper, more scaleable
• may be structured as client/server or peer-peer, LAN or WAN
History of operating systems(cont..)
7th Feb 2006 32
• Clustered systems
multiple systems share storage and are closely linked via LAN
networking
 symmetric clustering: all systems run applications
simultaneously, monitor each other
 asymmetric clustering: one machine runs, other monitors & waits
in stand-by mode
History of operating systems(cont..)
7th Feb 2006 33
• Real-time systems
some systems impose well-defined, fixed-time
constraints e.g., control for scientific experiments,
medical imaging systems, industrial control systems, …
 hard real-time: critical tasks must be completed in
specified time
• secondary storage limited or absent, data stored in short term memory
or ROM
• not compatible with timesharing
 soft real-time: critical tasks are given priority over other
tasks, but no guarantees
• limited utility in industrial control of robotics
• useful in apps (multimedia, VR) requiring advanced OS features
History of operating systems(cont..)
7th Feb 2006 34
• Handheld systems
OS functionality is migrating to PDAs(personal digital
assistant), cellular phones
Issues: limited memory, slow processors, wireless transfer,
small display screens
Thank you
7th Feb 2006 35

More Related Content

What's hot

cs8493 - operating systems unit 5
cs8493 - operating systems unit 5cs8493 - operating systems unit 5
cs8493 - operating systems unit 5SIMONTHOMAS S
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_osVidhyavaniA
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemShafaan Khaliq Bhatti
 
cs8493 - operating systems unit 2
cs8493 - operating systems unit 2cs8493 - operating systems unit 2
cs8493 - operating systems unit 2SIMONTHOMAS S
 
Operating System Chapter 1
Operating System Chapter 1Operating System Chapter 1
Operating System Chapter 1Kasam Sharif
 
Main memory operating system
Main memory   operating systemMain memory   operating system
Main memory operating systemIndhu Periys
 
Chapter 2: Operating System Structures
Chapter 2: Operating System StructuresChapter 2: Operating System Structures
Chapter 2: Operating System StructuresShafaan Khaliq Bhatti
 
cs8493 - operating systems unit 1
cs8493 - operating systems unit 1cs8493 - operating systems unit 1
cs8493 - operating systems unit 1SIMONTHOMAS S
 
Concepts of o s chapter 1
Concepts of o s  chapter 1Concepts of o s  chapter 1
Concepts of o s chapter 1cathline44
 
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockOperating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockAjit Nayak
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagnesarankumar4445
 
Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systemscoolmirza143
 

What's hot (19)

cs8493 - operating systems unit 5
cs8493 - operating systems unit 5cs8493 - operating systems unit 5
cs8493 - operating systems unit 5
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_os
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating System
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
 
cs8493 - operating systems unit 2
cs8493 - operating systems unit 2cs8493 - operating systems unit 2
cs8493 - operating systems unit 2
 
Operating System Chapter 1
Operating System Chapter 1Operating System Chapter 1
Operating System Chapter 1
 
Ch1
Ch1Ch1
Ch1
 
Main memory operating system
Main memory   operating systemMain memory   operating system
Main memory operating system
 
Chapter 2: Operating System Structures
Chapter 2: Operating System StructuresChapter 2: Operating System Structures
Chapter 2: Operating System Structures
 
cs8493 - operating systems unit 1
cs8493 - operating systems unit 1cs8493 - operating systems unit 1
cs8493 - operating systems unit 1
 
Concepts of o s chapter 1
Concepts of o s  chapter 1Concepts of o s  chapter 1
Concepts of o s chapter 1
 
Operating System
Operating SystemOperating System
Operating System
 
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockOperating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
 
Cs8493 unit 1
Cs8493 unit 1Cs8493 unit 1
Cs8493 unit 1
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
 
Process
ProcessProcess
Process
 
Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems
 
Chapter 3 - Processes
Chapter 3 - ProcessesChapter 3 - Processes
Chapter 3 - Processes
 
Ch4 threads
Ch4 threadsCh4 threads
Ch4 threads
 

Similar to 1 intro and overview

Similar to 1 intro and overview (20)

Operating systems
Operating systemsOperating systems
Operating systems
 
Operating System-Introduction
Operating System-IntroductionOperating System-Introduction
Operating System-Introduction
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
 
Operating Systems.pptx
Operating Systems.pptxOperating Systems.pptx
Operating Systems.pptx
 
2522.ppt
2522.ppt2522.ppt
2522.ppt
 
252229.ppt
252229.ppt252229.ppt
252229.ppt
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatem
 
Silberschatz / OS Concepts
Silberschatz /  OS Concepts Silberschatz /  OS Concepts
Silberschatz / OS Concepts
 
operating systems
operating systemsoperating systems
operating systems
 
Operating system
Operating systemOperating system
Operating system
 
Operating Systems Presentation
Operating Systems Presentation Operating Systems Presentation
Operating Systems Presentation
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
 
Operating systems11 9-07 (1)
Operating systems11 9-07 (1)Operating systems11 9-07 (1)
Operating systems11 9-07 (1)
 
Operating System
Operating SystemOperating System
Operating System
 
Cs1 3-operating systems
Cs1 3-operating systemsCs1 3-operating systems
Cs1 3-operating systems
 
computer Unit 7
computer Unit 7computer Unit 7
computer Unit 7
 

More from BaliThorat1

Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereoBaliThorat1
 
Lec13 stereo converted
Lec13 stereo convertedLec13 stereo converted
Lec13 stereo convertedBaliThorat1
 
Lec11 single view-converted
Lec11 single view-convertedLec11 single view-converted
Lec11 single view-convertedBaliThorat1
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system conceptBaliThorat1
 
6 input output devices
6 input output devices6 input output devices
6 input output devicesBaliThorat1
 
2 windows operating system
2 windows operating system2 windows operating system
2 windows operating systemBaliThorat1
 
5 computer memory
5 computer memory5 computer memory
5 computer memoryBaliThorat1
 
4 computer languages
4 computer languages4 computer languages
4 computer languagesBaliThorat1
 
1 fundamentals of computer
1 fundamentals of computer1 fundamentals of computer
1 fundamentals of computerBaliThorat1
 
1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer systemBaliThorat1
 
Computer generation and classification
Computer generation and classificationComputer generation and classification
Computer generation and classificationBaliThorat1
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartBaliThorat1
 
6 cpu scheduling
6 cpu scheduling6 cpu scheduling
6 cpu schedulingBaliThorat1
 
5 process synchronization
5 process synchronization5 process synchronization
5 process synchronizationBaliThorat1
 

More from BaliThorat1 (20)

Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
 
Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereo
 
Lec13 stereo converted
Lec13 stereo convertedLec13 stereo converted
Lec13 stereo converted
 
Lec12 epipolar
Lec12 epipolarLec12 epipolar
Lec12 epipolar
 
Lec11 single view-converted
Lec11 single view-convertedLec11 single view-converted
Lec11 single view-converted
 
Lec10 alignment
Lec10 alignmentLec10 alignment
Lec10 alignment
 
Lec09 hough
Lec09 houghLec09 hough
Lec09 hough
 
Lec08 fitting
Lec08 fittingLec08 fitting
Lec08 fitting
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system concept
 
7 processor
7 processor7 processor
7 processor
 
6 input output devices
6 input output devices6 input output devices
6 input output devices
 
2 windows operating system
2 windows operating system2 windows operating system
2 windows operating system
 
5 computer memory
5 computer memory5 computer memory
5 computer memory
 
4 computer languages
4 computer languages4 computer languages
4 computer languages
 
1 fundamentals of computer
1 fundamentals of computer1 fundamentals of computer
1 fundamentals of computer
 
1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer system
 
Computer generation and classification
Computer generation and classificationComputer generation and classification
Computer generation and classification
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
6 cpu scheduling
6 cpu scheduling6 cpu scheduling
6 cpu scheduling
 
5 process synchronization
5 process synchronization5 process synchronization
5 process synchronization
 

Recently uploaded

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 

Recently uploaded (20)

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 

1 intro and overview

  • 1. 7th Feb 2006 Operating System Lecture 1 - Introduction and Overview
  • 2.  Textbook: Operating System Concepts – (Sixth Edition) Silberschatz and Galvin, Addison-Wesley Inc 7th Feb 2006 2
  • 3. • What is an OS? • OS History » Early Operating Systems » Simple Batch Systems » Multiprogrammed Batch Systems » Time-sharing Systems » Personal Computer Systems » Parallel and Distributed Systems » Real-time Systems • OS Concepts 7th Feb 2006 3
  • 4. • Application software Software written to address specific needs—to solve problems in the real world Word processing programs, games, inventory control systems, automobile diagnostic programs, and missile guidance programs are all application software. • System software Software that manages a computer system at a fundamental level It provides the tools and an environment in which application software can be created and run. 7th Feb 2006 4
  • 5. Fig 1 An operating system interacts with many aspects of a computer system. 7th Feb 2006 5
  • 6. What is an Operating System? 7th Feb 2006 6  An operating system – manages computer resources, such as memory and input/output devices – provides an interface through which a human can interact with the computer – allows an application program to interact with these other system resources
  • 7. What is an Operating System?(cont..) 7th Feb 2006 7  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.
  • 8. Why should I study Operating Systems? 7th Feb 2006 8  Need to understand interaction between the hardware and applications  New applications, new hardware..  Need to understand basic principles in the design of computer systems • efficient resource management, security, flexibility
  • 9. Why should I study Operating Systems? (cont..) 7th Feb 2006 9  Increasing need for specialized operating systems • e.g. embedded operating systems for devices - cell phones, sensors and controllers • real-time operating systems - aircraft control, multimedia services
  • 10. Computer System Components 7th Feb 2006 10 Hardware Provides basic computing resources (CPU, memory, I/O devices). Operating System Controls and coordinates the use of hardware among application programs. Application Programs Solve computing problems of users (compilers, database systems, video games, business programs such as banking software). Users People, machines, other computers
  • 11. Abstract View of System System and Application Programs Operating System System and Application Programs Operating System Computer Hardware Computer Hardware User 1 User 1 User 2 User 2 User 3 User 3 User n User n compiler 7th Feb 2006 11 assembler Text editor Database system ... Fig 1.2
  • 12. Different view of OS 7th Feb 2006 12 User perspective: OS is an interface which makes interaction with the computer and running applications easy
  • 13. Different view of OS(cont..) 7th Feb 2006 13 System perspective • Resource allocator • to allocate resources (software and hardware) of the computer system and manage them efficiently. • Control program • Controls execution of user programs and operation of I/O devices. • Kernel • The program that executes forever (everything else is an application with respect to the kernel).
  • 14. Process mangt lower module(p,v),process scheduler Memory mangt Process mangt upper module 7th Feb 2006 14 Device mangt Information mangt Fig 1.3 Levels of os
  • 15. History of operating systems • 1940's: computers were special-purpose e.g., ENIAC(Electronic Numerical integrator and computer) – wired to compute ballistics tables to change the computation, had to rewire/reconfigure 7th Feb 2006 15
  • 16. History of operating systems(cont..) • Early 1950's: general-purpose computers were built e.g., EDVAC(Electronic discrete variable Automatic computer) – utilized the von Neumann architecture: stored program in memory, CPU fetch-execute cycle Still, only a single user serviced at a time Typical setup:  users would sign up for a time slot (e.g 2am-3am)  during that slot, had exclusive use of the computer  must load program into memory space, overwriting old contents single program, single memory space, minimal peripherals 7th Feb 2006 16
  • 17. History of operating systems(cont..) 7th Feb 2006 17 Drawbacks of single-user, programmable computer inconvenient for user Wastage of computer time (computer was idle during setup, debugging, …)
  • 18. History of operating systems(cont..) • Mid 1950's: batch processing was introduced  idea: combine multiple user jobs into a single batch job Typical setup:  users would submit jobs on cards/tape to computer operator  operator would combine multiple jobs into a single batch job and load into card/tape reader  each user job would be executed in turn  users received output after all jobs finished 7th Feb 2006 18
  • 19. History of operating systems(cont..) The primitive operating system in charge of executing the batch job was called a resident monitor  it resided permanently in memory  it monitored the execution of each job in succession Fig 1.4 memory layout for a batch system 7th Feb 2006 19
  • 20. History of operating systems(cont..) 7th Feb 2006 20 Parts of a resident monitor  control card interpreter (read & carry out card instructions)  loader (load system programs & applications into memory)  device drivers (control peripheral devices) Note: when the monitor started a job, it handed over control of the computer to that job, regained control when the job terminated, then started the next job
  • 21. History of operating systems(cont..) 7th Feb 2006 21 Advantages of batch systems  moves much of the setup work from the user to the computer  increased performance since could start a job as soon as previous job finished
  • 22. History of operating systems(cont..) 7th Feb 2006 22 Drawbacks of batch systems  turn-around time could be large from user standpoint  more difficult to debug program  due to the lack of a protection scheme, one batch job could affect pending jobs (e.g., read too many cards)  a job could corrupt the monitor, thus affecting pending jobs  a job could enter an infinite loop
  • 23. History of operating systems(cont..) 7th Feb 2006 23 • Early 1960's: Multiprogramming as memory became cheaper, could load many user programs in memory simultaneously  in contrast to batch, could partition the memory monitor (OS) could switch when a job became idle (e.g., I/O)  since each job had its own memory partition, minimal overhead involved in switching first multiprogramming OS: IBM OS/360
  • 24. History of operating systems(cont..) (resident monitor) 7th Feb 2006 24 Fig 1.5 memory layout for a multiprogramming system
  • 25. History of operating systems(cont..) 7th Feb 2006 25 Typical setup:  users submitted jobs to computer operator  jobs were loaded into separate memory partitions  computer would begin executing first job  during idle period, could switch to another job  user could receive output as soon as their job terminated multiprogramed but do not permit interaction with the user appropriate for executing large jobs that need little interaction
  • 26. History of operating systems(cont..) 7th Feb 2006 26 • Mid 1960's: Timesharing • Programs queued for execution in FIFO order. • Like multiprogramming, but timer device interrupts after a quantum (time slice). • Interrupted program is returned to end of FIFO • Next program is taken from head of FIFO • Control card interpreter replaced by command language interpreter.
  • 27. History of operating systems(cont..) 7th Feb 2006 27 • Interactive (action/response) • when OS finishes execution of one command, it seeks the next control statement from user. • File systems • online file system is required for users to access data and code. • Virtual memory • Job is swapped in and out of memory to disk.
  • 28. History of operating systems(cont..) • Late 1970's: Desktop systems personal computers bucked the trend of centralization  provided a machine cheap enough to be used (and wasted) by a single user Typical setup:  single user worked at dedicated machine  at least early on, all peripherals were connected directly (networking not widespread until 90's) 7th Feb 2006 28
  • 29. History of operating systems(cont..) • Early PC's utilized a command-line interface  CP/M (1977), MS-DOS (1981) • Graphical User Interface (GUI) introduced by Macintosh  Mac-OS (1984), Windows (1985), Motif (1989) 7th Feb 2006 29
  • 30. History of operating systems(cont..) 7th Feb 2006 30 • Multiprocessor systems ( parallel systems, or tightly coupled systems) • more than one processor in close communication, share bus and clock, other resources • can increase throughput, save on shared resources, provide greater reliability  symmetric multiprocessing (SMP): each CPU runs a copy of the OS, can communicate most modern OS provide support for SMP  asymmetric multiprocessing: master CPU assigns specific tasks to slave CPUs more common in large systems with specialized hardware
  • 31. History of operating systems(cont..) 7th Feb 2006 31 • Distributed systems (loosely coupled systems) • distribute the computation among several processors, each with its own memory & resources • processors communicate via communications lines, e.g., high-speed buses or phone lines • similar benefits as multiprocessor, but generally simpler, cheaper, more scaleable • may be structured as client/server or peer-peer, LAN or WAN
  • 32. History of operating systems(cont..) 7th Feb 2006 32 • Clustered systems multiple systems share storage and are closely linked via LAN networking  symmetric clustering: all systems run applications simultaneously, monitor each other  asymmetric clustering: one machine runs, other monitors & waits in stand-by mode
  • 33. History of operating systems(cont..) 7th Feb 2006 33 • Real-time systems some systems impose well-defined, fixed-time constraints e.g., control for scientific experiments, medical imaging systems, industrial control systems, …  hard real-time: critical tasks must be completed in specified time • secondary storage limited or absent, data stored in short term memory or ROM • not compatible with timesharing  soft real-time: critical tasks are given priority over other tasks, but no guarantees • limited utility in industrial control of robotics • useful in apps (multimedia, VR) requiring advanced OS features
  • 34. History of operating systems(cont..) 7th Feb 2006 34 • Handheld systems OS functionality is migrating to PDAs(personal digital assistant), cellular phones Issues: limited memory, slow processors, wireless transfer, small display screens
  • 35. Thank you 7th Feb 2006 35