SlideShare a Scribd company logo
CSE 380  Introduction to Operating Systems Insup Lee Fall 00
What is an Operating System? A piece of software that provides a convenient, efficient environment for the execution of user programs. Hardware Operating systems Systems software Applications software Users
Resource Abstraction and Sharing Hides the details of how the hardware operates Provides an abstract model of the operation of hardware components generalize hardware behavior limit the flexibility in which hardware can be manipulated Computation model: processes, threads Resources: memory, disk, files, cpu, etc.
Why do we need an operating system? User viewpoint -- provide user interface, command interpreter, directory structure, utility programs (compilers, editors, filters) Program environment viewpoint -- enhance the bare machine higher-level I/O, structure files, notion of independent processes, improved store (size, protection) Efficiency viewpoint -- replace a human operator scheduling jobs, storing I/O (files), invoking necessary programs such as compiler Economic viewpoint -- allow concurrent uses and good scheduling of resources So, the goals are to make the system convenient to use (via system calls) and to manage resources efficiently.
Evolution of an OS Hardware upgrades  New types of hardware New services Fixes
Brief History of Operating Systems 1940's -- First Computers 1950's -- Batch Processing 1960's -- Multiprogramming (timesharing) 1970's -- Minicomputers & Microprocessors Late 1970's, 1980's -- Networking, Distributed Systems, Parallel Systems 1990's and Beyond -- PC’s, WWW, Mobile Systems
1940's -- First Computers Computer dedicated to one user/programmer at a time. Program loaded manually  by programmer, using console switches. Debugging using console lights.  Advantages: Interactive (user gets immediate response) Disadvantages: Expensive machine idle most of time, because people are slow. Programming & debugging are tedious. Each program must include code to operate peripherals -- error prone, device dependencies. Libraries of subroutines to drive peripherals are example of typical OS service.
1950's -- Batch Processing User/programmer submits a deck of cards that describes a job to be executed. Jobs submitted by various users are sequenced automatically by a resident  monitor. Tape drives available for batching of input and spooling of output. Advantages: Computer system is kept busier. Disadvantages: No longer interactive; longer turnaround time.  CPU is still idle for I/O-bound jobs.  OS issues -- command processor (JCL), protection of resident monitor from user programs, loading of user programs after monitor.
1960's -- Multiprogramming (timesharing) The advent of the I/O processor made simultaneous I/O and CPU processing  possible.  CPU is multiplexed (shared) among a number of jobs -- while one job waiting  for I/O, another can use CPU. Advantages: Interactiveness is restored. CPU is kept busy. Disadvantages: Hardware and O.S. required become significantly more complex. Timesharing - switch CPU among jobs for pre-defined time interval  Most O.S. issues arise from trying to support multiprogramming -- CPU scheduling, deadlock, protection, memory management, virtual memory, etc. CTSS (Compatible Time Sharing System), Multics
1970's - Minicomputers & Microprocessors Trend toward many small to mid-range personal computers, rather than a single mainframe.  Early minicomputers and microprocessors were small, so there was some regression to earlier OS ideas.  e.g. DOS on PC is still essentially a batch system similar to those used in 1960, with some modern OS ideas thrown in (e.g., hierarchical file system). This trend is changing rapidly because of powerful new microprocessors. Also, the user interface became more important. UNIX, DOS
Late 1970's, 1980's - Networking Powerful workstations (e.g., PDP, VAX, Sunstations, etc.) Local area networks (e.g., Ethernet, Token ring) and long-distance network (Arpanet) Networks organized with clients and servers Decentralization of computing requires more communication (e.g., resource sharing) O.S. issues -- network communication protocols, data encryption, security, reliability, consistency of distributed data Real-Time Systems – timing constraints, deadlines, QoS (90’s term)
1990's and Beyond Parallel Computing (tera-flops) Powerful PCs, Multimedia computers High-speed, long-distance communication links to send large amounts of data, including graphical, audio and video World Wide Web Electronic notebooks using wireless communication technologies O.S. issues -- Large heterogeneous systems,  mobile computing, etc.
Basic OS Concepts Processes: programs in execution Resources (e.g., files, memory, display) A process must request it from the OS The process is blocked until it is allocated System calls Shell -- command interpreter
Services provided by OS Program creation Program execution Access to I/O devices Controlled access to files Error detection and response hardware errors (e.g., memory error, device failures) software errors (e.g., overflow, out of memory boundary) Accounting collect usage statistics, monitor performance
Services Provided by OS (2) CPU scheduling:  allocate computing time among several processes  Memory management:  allocate main memory among several processes Swapping:  move processes and their data between main memory and secondary storage I/O device drivers:  specialized code required to operate I/O devices File system:  organize mass storage (disk) into files and directories Utilities:  date/time, accounting, file copy, etc. Command interpreter:  allow users to enter commands interactively System calls:  allow user programs access to O.S. services Protection:  keep processes from interfering with each other and system  Communication & Resource sharing:  allow users/processes to communicate (over networks) and share resources  (e.g., laser printers, disks, etc.) Security:  protect machines from intruders, worms and viruses
Factors in OS Design Engineering factors: Performance/Efficiency -- CPU utilization, resource utilization (e.g. disks), response time Correctness/Reliability -- error-free (no software crashes)  Maintainability -- modular construction, clearly defined interfaces, well-documented Small in size-- main memory and secondary storage valuable, larger means more error-prone, larger means takes longer to write Non-engineering factors: Commercial factors Standards and open systems
Operating System Structure Monolithic Systems Layered Systems Virtual Machines Client-Server Model

More Related Content

What's hot (20)

PPTX
System software and its types
samina khan
 
PPTX
Introduction to Information Technology- Operating system
Trinity Dwarka
 
PPT
04 software system and application software
Sowmini Gowda
 
PDF
Lecture-3: Operating System & Application Softwares
Mubashir Ali
 
PPTX
Introduction to Operating system CBSE
PrashantChahal3
 
PDF
Sybo Tech Kit
LukeHannon5
 
PPTX
Chapter02 new
vmummaneni
 
PPTX
Application software and system software
Sandhiya Ramesh
 
PPTX
Introduction to Operating System and its Types
sundas Shabbir
 
PPTX
Types Of Operating Systems
عطاءالمنعم اثیل شیخ
 
PPT
Presentation on computer software
Daffodil International University
 
PPTX
what is Operating system
kunwer brijendra shanker
 
PPT
SYSTEM SOFTWARE
Kak Yong
 
PPTX
Web Quest Of Operating Systems
LAMMYY
 
PPTX
A presentation on computer software
Jitendra Kumar
 
PPTX
Computer software
McDiether Barrios
 
PPTX
Types or evolution of operating system
Ekta Bafna
 
PPTX
Unit 1 introduction to Operating System
zahid7578
 
PDF
Operating systems
anishgoel
 
System software and its types
samina khan
 
Introduction to Information Technology- Operating system
Trinity Dwarka
 
04 software system and application software
Sowmini Gowda
 
Lecture-3: Operating System & Application Softwares
Mubashir Ali
 
Introduction to Operating system CBSE
PrashantChahal3
 
Sybo Tech Kit
LukeHannon5
 
Chapter02 new
vmummaneni
 
Application software and system software
Sandhiya Ramesh
 
Introduction to Operating System and its Types
sundas Shabbir
 
Types Of Operating Systems
عطاءالمنعم اثیل شیخ
 
Presentation on computer software
Daffodil International University
 
what is Operating system
kunwer brijendra shanker
 
SYSTEM SOFTWARE
Kak Yong
 
Web Quest Of Operating Systems
LAMMYY
 
A presentation on computer software
Jitendra Kumar
 
Computer software
McDiether Barrios
 
Types or evolution of operating system
Ekta Bafna
 
Unit 1 introduction to Operating System
zahid7578
 
Operating systems
anishgoel
 

Viewers also liked (14)

PPTX
Introduction to Software Engineering & Information Technology
Gaditek
 
PPT
Distributed & parallel system
Manish Singh
 
PPT
Operating systems
Ujjwal 'Shanu'
 
PPTX
Operating Systems
Harshith Meela
 
PPSX
Factored Operating System An Operating System for Multicore and Clouds
حيدر نافع nafaa
 
PDF
Introduction to software 2
Hardini_HD
 
PPTX
Introduction to Operating System
Imtiaz Ahmed
 
PPTX
Introduction to software
San Diego Continuing Education
 
PPT
INTRODUCTION TO SOFTWARE ENGINEERING
Preeti Mishra
 
PPTX
Introduction, Installation Operating System and Application
Vichhaiy Serey
 
PPT
operating system
Ibbad shah
 
PPTX
Lecture 1 introduction to Operating System
Dr. Amitava Nag
 
PPT
Software engineering presentation
MJ Ferdous
 
PPTX
Microsoft Cloud Computing
David Chou
 
Introduction to Software Engineering & Information Technology
Gaditek
 
Distributed & parallel system
Manish Singh
 
Operating systems
Ujjwal 'Shanu'
 
Operating Systems
Harshith Meela
 
Factored Operating System An Operating System for Multicore and Clouds
حيدر نافع nafaa
 
Introduction to software 2
Hardini_HD
 
Introduction to Operating System
Imtiaz Ahmed
 
Introduction to software
San Diego Continuing Education
 
INTRODUCTION TO SOFTWARE ENGINEERING
Preeti Mishra
 
Introduction, Installation Operating System and Application
Vichhaiy Serey
 
operating system
Ibbad shah
 
Lecture 1 introduction to Operating System
Dr. Amitava Nag
 
Software engineering presentation
MJ Ferdous
 
Microsoft Cloud Computing
David Chou
 
Ad

Similar to CSE 370 - Introduction to Operating Systems (20)

PPT
Introduction to Operating Systems
Imran Waris
 
PPT
intro.ppt
susmitapatra19
 
PPT
intro.ppt
raffy ursulum
 
PPT
Introduction To operating System:
Munazza-Mah-Jabeen
 
PPTX
Nt introduction(os)
NehaTadam
 
PPT
unit1 part1.ppt
suresh554942
 
PDF
os_1.pdf
HemantBorse6
 
PPT
Operating System
ushabarad142
 
PDF
osunit1ppt-23011904470yuoij4-685c22ef.pdf
SuryaChandravelu
 
PPTX
OS UNIT 1 PPT.pptx
PRABAVATHIH
 
PPTX
EE469-ch1.pptx
badhautiyaakash48
 
PPTX
EE469-ch1.pptx
badhautiyaakash48
 
PDF
chapter 3 opreating system lecture note and its is impaortamt concept for mn
dejenehundaol91
 
PPTX
Unit 1 introduction to os
GaneshThapa27
 
PDF
01.osdoc
Pramod Redekar
 
PPTX
Principles of operating system
Anil Dharmapuri
 
PPT
An Overview of Operating Systems and algorithms.ppt
pojectstudy
 
PPTX
Operating system
Sonika koul
 
PPTX
Lecture 1 of OS Introduction Slides.pptx
MustafaPoonawala7
 
DOC
Operating Systems Unit One - Fourth Semester - Engineering
Yogesh Santhan
 
Introduction to Operating Systems
Imran Waris
 
intro.ppt
susmitapatra19
 
intro.ppt
raffy ursulum
 
Introduction To operating System:
Munazza-Mah-Jabeen
 
Nt introduction(os)
NehaTadam
 
unit1 part1.ppt
suresh554942
 
os_1.pdf
HemantBorse6
 
Operating System
ushabarad142
 
osunit1ppt-23011904470yuoij4-685c22ef.pdf
SuryaChandravelu
 
OS UNIT 1 PPT.pptx
PRABAVATHIH
 
EE469-ch1.pptx
badhautiyaakash48
 
EE469-ch1.pptx
badhautiyaakash48
 
chapter 3 opreating system lecture note and its is impaortamt concept for mn
dejenehundaol91
 
Unit 1 introduction to os
GaneshThapa27
 
01.osdoc
Pramod Redekar
 
Principles of operating system
Anil Dharmapuri
 
An Overview of Operating Systems and algorithms.ppt
pojectstudy
 
Operating system
Sonika koul
 
Lecture 1 of OS Introduction Slides.pptx
MustafaPoonawala7
 
Operating Systems Unit One - Fourth Semester - Engineering
Yogesh Santhan
 
Ad

More from Dev Khare (20)

PPT
4 Crucial Slides for Your Startup's Investor Presentation
Dev Khare
 
PDF
Statistics on Retail Electronic Payment Systems in India
Dev Khare
 
PDF
Report of the Task Force on an Aadhaar-Enabled Unified Payment Infrastructure
Dev Khare
 
PDF
Reserve Bank of India - Payment System Vision Document 2012
Dev Khare
 
PDF
OnMobile IR Presentation
Dev Khare
 
PDF
Terminal mode architecture
Dev Khare
 
PDF
Platforms and Limits to Network Effects
Dev Khare
 
PDF
Mobile Payments in India - Operative Guidelines for Banks
Dev Khare
 
PDF
Electronic Frontier Foundation - Locational Privacy
Dev Khare
 
PDF
Privacy Jungle
Dev Khare
 
PDF
Venrock: Shaping the Future, 40 Years of Innovation
Dev Khare
 
PDF
After The Term Sheet
Dev Khare
 
PDF
Rites Of Passage
Dev Khare
 
PDF
Educating VC Directors
Dev Khare
 
PDF
Penn Schoen and Berland: National Technology Survey
Dev Khare
 
PDF
In Car Study2009
Dev Khare
 
PDF
Arbitron In car Study 2003
Dev Khare
 
PDF
Arbitron Infinite Dial 2009
Dev Khare
 
PDF
Admob Mobile Metrics March 09
Dev Khare
 
PDF
Greystripe Consumer Insights Report Q1
Dev Khare
 
4 Crucial Slides for Your Startup's Investor Presentation
Dev Khare
 
Statistics on Retail Electronic Payment Systems in India
Dev Khare
 
Report of the Task Force on an Aadhaar-Enabled Unified Payment Infrastructure
Dev Khare
 
Reserve Bank of India - Payment System Vision Document 2012
Dev Khare
 
OnMobile IR Presentation
Dev Khare
 
Terminal mode architecture
Dev Khare
 
Platforms and Limits to Network Effects
Dev Khare
 
Mobile Payments in India - Operative Guidelines for Banks
Dev Khare
 
Electronic Frontier Foundation - Locational Privacy
Dev Khare
 
Privacy Jungle
Dev Khare
 
Venrock: Shaping the Future, 40 Years of Innovation
Dev Khare
 
After The Term Sheet
Dev Khare
 
Rites Of Passage
Dev Khare
 
Educating VC Directors
Dev Khare
 
Penn Schoen and Berland: National Technology Survey
Dev Khare
 
In Car Study2009
Dev Khare
 
Arbitron In car Study 2003
Dev Khare
 
Arbitron Infinite Dial 2009
Dev Khare
 
Admob Mobile Metrics March 09
Dev Khare
 
Greystripe Consumer Insights Report Q1
Dev Khare
 

Recently uploaded (20)

PPTX
How to Manage Promotions in Odoo 18 Sales
Celine George
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
PPTX
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
Presentation: Climate Citizenship Digital Education
Karl Donert
 
PPTX
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
PPT
digestive system for Pharm d I year HAP
rekhapositivity
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
PPTX
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
How to Manage Promotions in Odoo 18 Sales
Celine George
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Presentation: Climate Citizenship Digital Education
Karl Donert
 
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
digestive system for Pharm d I year HAP
rekhapositivity
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PPT on the Development of Education in the Victorian England
Beena E S
 
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 

CSE 370 - Introduction to Operating Systems

  • 1. CSE 380 Introduction to Operating Systems Insup Lee Fall 00
  • 2. What is an Operating System? A piece of software that provides a convenient, efficient environment for the execution of user programs. Hardware Operating systems Systems software Applications software Users
  • 3. Resource Abstraction and Sharing Hides the details of how the hardware operates Provides an abstract model of the operation of hardware components generalize hardware behavior limit the flexibility in which hardware can be manipulated Computation model: processes, threads Resources: memory, disk, files, cpu, etc.
  • 4. Why do we need an operating system? User viewpoint -- provide user interface, command interpreter, directory structure, utility programs (compilers, editors, filters) Program environment viewpoint -- enhance the bare machine higher-level I/O, structure files, notion of independent processes, improved store (size, protection) Efficiency viewpoint -- replace a human operator scheduling jobs, storing I/O (files), invoking necessary programs such as compiler Economic viewpoint -- allow concurrent uses and good scheduling of resources So, the goals are to make the system convenient to use (via system calls) and to manage resources efficiently.
  • 5. Evolution of an OS Hardware upgrades New types of hardware New services Fixes
  • 6. Brief History of Operating Systems 1940's -- First Computers 1950's -- Batch Processing 1960's -- Multiprogramming (timesharing) 1970's -- Minicomputers & Microprocessors Late 1970's, 1980's -- Networking, Distributed Systems, Parallel Systems 1990's and Beyond -- PC’s, WWW, Mobile Systems
  • 7. 1940's -- First Computers Computer dedicated to one user/programmer at a time. Program loaded manually by programmer, using console switches. Debugging using console lights. Advantages: Interactive (user gets immediate response) Disadvantages: Expensive machine idle most of time, because people are slow. Programming & debugging are tedious. Each program must include code to operate peripherals -- error prone, device dependencies. Libraries of subroutines to drive peripherals are example of typical OS service.
  • 8. 1950's -- Batch Processing User/programmer submits a deck of cards that describes a job to be executed. Jobs submitted by various users are sequenced automatically by a resident monitor. Tape drives available for batching of input and spooling of output. Advantages: Computer system is kept busier. Disadvantages: No longer interactive; longer turnaround time. CPU is still idle for I/O-bound jobs. OS issues -- command processor (JCL), protection of resident monitor from user programs, loading of user programs after monitor.
  • 9. 1960's -- Multiprogramming (timesharing) The advent of the I/O processor made simultaneous I/O and CPU processing possible. CPU is multiplexed (shared) among a number of jobs -- while one job waiting for I/O, another can use CPU. Advantages: Interactiveness is restored. CPU is kept busy. Disadvantages: Hardware and O.S. required become significantly more complex. Timesharing - switch CPU among jobs for pre-defined time interval Most O.S. issues arise from trying to support multiprogramming -- CPU scheduling, deadlock, protection, memory management, virtual memory, etc. CTSS (Compatible Time Sharing System), Multics
  • 10. 1970's - Minicomputers & Microprocessors Trend toward many small to mid-range personal computers, rather than a single mainframe. Early minicomputers and microprocessors were small, so there was some regression to earlier OS ideas. e.g. DOS on PC is still essentially a batch system similar to those used in 1960, with some modern OS ideas thrown in (e.g., hierarchical file system). This trend is changing rapidly because of powerful new microprocessors. Also, the user interface became more important. UNIX, DOS
  • 11. Late 1970's, 1980's - Networking Powerful workstations (e.g., PDP, VAX, Sunstations, etc.) Local area networks (e.g., Ethernet, Token ring) and long-distance network (Arpanet) Networks organized with clients and servers Decentralization of computing requires more communication (e.g., resource sharing) O.S. issues -- network communication protocols, data encryption, security, reliability, consistency of distributed data Real-Time Systems – timing constraints, deadlines, QoS (90’s term)
  • 12. 1990's and Beyond Parallel Computing (tera-flops) Powerful PCs, Multimedia computers High-speed, long-distance communication links to send large amounts of data, including graphical, audio and video World Wide Web Electronic notebooks using wireless communication technologies O.S. issues -- Large heterogeneous systems, mobile computing, etc.
  • 13. Basic OS Concepts Processes: programs in execution Resources (e.g., files, memory, display) A process must request it from the OS The process is blocked until it is allocated System calls Shell -- command interpreter
  • 14. Services provided by OS Program creation Program execution Access to I/O devices Controlled access to files Error detection and response hardware errors (e.g., memory error, device failures) software errors (e.g., overflow, out of memory boundary) Accounting collect usage statistics, monitor performance
  • 15. Services Provided by OS (2) CPU scheduling: allocate computing time among several processes Memory management: allocate main memory among several processes Swapping: move processes and their data between main memory and secondary storage I/O device drivers: specialized code required to operate I/O devices File system: organize mass storage (disk) into files and directories Utilities: date/time, accounting, file copy, etc. Command interpreter: allow users to enter commands interactively System calls: allow user programs access to O.S. services Protection: keep processes from interfering with each other and system Communication & Resource sharing: allow users/processes to communicate (over networks) and share resources (e.g., laser printers, disks, etc.) Security: protect machines from intruders, worms and viruses
  • 16. Factors in OS Design Engineering factors: Performance/Efficiency -- CPU utilization, resource utilization (e.g. disks), response time Correctness/Reliability -- error-free (no software crashes) Maintainability -- modular construction, clearly defined interfaces, well-documented Small in size-- main memory and secondary storage valuable, larger means more error-prone, larger means takes longer to write Non-engineering factors: Commercial factors Standards and open systems
  • 17. Operating System Structure Monolithic Systems Layered Systems Virtual Machines Client-Server Model