SlideShare a Scribd company logo
Operating Systems
Overview

 Operating System Evolution
   Serial Processing
   Batch processing
   Multiprogrammed Batch Systems
   Time Sharing Systems

 Major Achievements in OS
   Processes
   Memory Management
   Information protection and Security
   Scheduling and Resource Management

 Recent Developments
   Microkernel architecture
   Multithreading
   Symmetric multiprocessing
   Distributed OS and Object Oriented Design
Serial Processing

 1940 to 1950
 Programs in machine code were loaded via input
  device (Card Reader)
 Errors are indicated through lights
 Scheduling
     Time slots are given to users based on the hardcopy sign sheet
 Setup Time
   Mounting/dismounting of tapes or setting up card desks will
    take time to set the inputs like compiler codes, functions, etc.
Batch Processing (cobol)
Batch Processing

 Jobs with similar requirements were batched
  together
 Tapes/cards were used
 Example:
    In one ForTran, one Cobol and another fortran programs are
     scheduled.
    To reduce the operator time, two fortran compiler Tapes can
     be loaded and later the COBOL tapes can be loaded.
Multiprogramming

 Used to increase the resource utilisation,
 Allows more than one job (program) to utilize CPU
  time at any moment.
 More number of programs competing for system
  resources, better will be resource utilisation
Multiprogramming
Multiprogramming
Multiprogramming
Multiprogramming
Major Achievements in OS
Overview

 Operating System Evolution
   Serial Processing
   Batch processing
   Multiprogrammed Batch Systems
   Time Sharing Systems

 Major Achievements in OS
   Processes
   Memory Management
   Information protection and Security
   Scheduling and Resource Management

 Recent Developments
   Microkernel architecture
   Multithreading
   Symmetric multiprocessing
   Distributed OS and Object Oriented Design
Processes

 A program in execution
 An instance of a program running on a computer
 The entity that can be assigned to and executed on a
  processor
 A unit of activity characterized by a single sequential
  thread of execution, a current state, and an
  associated set of system resources
Processes

 Challenges for processes
   Multiprogramming batch operation

   Time Sharing

   Real Time Transaction Systems

 Errors Encountered if the above challenges are not
 met
    Improper synchornisation
    Failed mutual exclusion
    Non determinate program operation
    Deadlocks
Memory Management

 Responsibilities
   Process isolation

   Automatic allocation and Management

   Support for Modular Programming

   Protection and Access Control

   Long Term Storage
Virtual Memory
Virtual Memory

 Pages
   Processes to be comprised of a number of fixed sized blocks
    called pages
 Real Address or physical address
   Address of the main memory

 Virtual Address
   A page number and an offset

   Address to be located from the secondary memory
Information protection

 Availability: Concerned with protecting the system
  against interruption.
 Confidentiality: Assures that users cannot read
  data for which access is unauthorized.
 Data integrity: Protection of data from
  unauthorized modification.
 Authenticity: Concerned with the proper
  verification of the identity of users and the validity of
  messages or data.
Scheduling and Resource Management

 Resources are processors, I/O Devices, Memory, etc
 Resource allocation and scheduling policy must
 consider these
    Fairness
        Allocate resources to all process fairly
    Differential responsiveness
        Each process needs different services, which has to be provided by
         the OS
    Efficiency
        Maximize throughput, minimize response time
OS Structure

Level   Name                  Objects
13      Shell                 User programming Environment
12      User Processes        User processes
11      Directories           Directories
10      Devices               External devices like printers, etc
                                                                    OS Level components
9       File System           Files
8       Communications        Pipes
7       Virtual Memory        Segments, pages
6       Local Sec. Memory     Blocks of data, device channels
5       Primitive processes   Semaphores. Ready list
4       Interrupts            ISRs
3       Procedures            Call stack, procedures
                                                                    Hardware Level
2       Instruction Set       Evaluation stack, scalar data
1       Electronic Circuits   Registers, gates, buses
Recent Developments
Microkernel Architecture

 Monolithic kernels are in demand today
   Large kernels includes scheduling, file
    system, networking, device drivers, memory mgmt. and more.
   Implemented as a single process with all elements sharing the
    same address space
 Microkernel
   Assigns only few essential functions in the kernel

   Other OS services are provided by Servers or processes treated
    like any other application running under user mode.
   This decouples kernel and server development.
Multithreading

 Threads can run concurrently
 Threads are also called as sub tasks or sub processes
 Threads are process controlled entity wheresas the
  processes are kernel controlled entity
 Threads of the same process share the common
  memory space available to that process
Symmetric multiprocessing (SMP)

 The OS of an SMP schedules processes or threads across
  all of the processors.
 SMP has the advantages
    Performance
        All the processes will work together for a given application
    Availability
        Even if one processor fails, the other will take care of the system with
         reduced performance
    Incremental Growth
        User can enhance by adding a new processor
    Scaling
        Vendors provides extra functionality based on the number of
         processors

More Related Content

PPTX
Lecture 1 introduction to operating systems
PPTX
Apos week 1 4
PDF
Os structure
PPTX
Operating system by aman kr kushwaha
PPTX
ITT Project Information Technology Basic
PPT
Advanced Operating System- Introduction
PPTX
System components of windows xp
DOCX
Complete Operating System notes
Lecture 1 introduction to operating systems
Apos week 1 4
Os structure
Operating system by aman kr kushwaha
ITT Project Information Technology Basic
Advanced Operating System- Introduction
System components of windows xp
Complete Operating System notes

What's hot (20)

PPT
PDF
CS9222 Advanced Operating System
PPT
Os structure
PPT
Ch3 OS
 
PPT
OS - Ch2
PPT
PPT
operating system
PPTX
Operating system interview question
PDF
Cs8493 unit 5
PPT
Chapter 02
PPT
Chapter 02
PPT
PDF
2 operating system structures
PDF
Unit 4
PDF
CS9222 ADVANCED OPERATING SYSTEMS
DOC
Unit 1 architecture of distributed systems
PPT
OS Functions and Services
ODP
Distributed operating system(os)
PDF
Operating System Simple Introduction
CS9222 Advanced Operating System
Os structure
Ch3 OS
 
OS - Ch2
operating system
Operating system interview question
Cs8493 unit 5
Chapter 02
Chapter 02
2 operating system structures
Unit 4
CS9222 ADVANCED OPERATING SYSTEMS
Unit 1 architecture of distributed systems
OS Functions and Services
Distributed operating system(os)
Operating System Simple Introduction
Ad

Viewers also liked (12)

PPTX
Lecture 7 cpu scheduling
PDF
Challenges in Embedded Computing
PDF
Virtual classrooms and labs using Big Blue Button
PDF
Introduction to TCP
PPTX
Cs problem [repaired]
PPTX
Lecture 1 introduction to operating systems
PDF
OSI Layers
PDF
Functions of osi layer in computer networks
PPTX
Inter process communication
PDF
Software Defined Networking - 1
PPTX
Lecture 5 process concept
PDF
IEEE 802 Standard for Computer Networks
Lecture 7 cpu scheduling
Challenges in Embedded Computing
Virtual classrooms and labs using Big Blue Button
Introduction to TCP
Cs problem [repaired]
Lecture 1 introduction to operating systems
OSI Layers
Functions of osi layer in computer networks
Inter process communication
Software Defined Networking - 1
Lecture 5 process concept
IEEE 802 Standard for Computer Networks
Ad

Similar to Lecture 3,4 operating systems (20)

PPTX
SISTEMAS OPERATIVOS.pptx
PPT
cs-intro-os.ppt
PPTX
Chapter02-rev.pptx
PPTX
Lec # 1 chapter 2
PPT
Chapter02
PPT
INTRODUCTION TO OPERATING SYSTEM AND BASIC CONCEPTS 2
PPT
PPT
operating-system-03092013175227-operating-system.ppt
PPT
Overview of Operating System.ppt introduction
PPSX
Operating system overview by narender singh sandhu
PPSX
Operating system overview by narender singh sandhu
PPTX
CSE3120- Module1 part 1 v1.pptx
PPT
EMBEDDED OS
PPT
data oerating system overview in os .ppt
PPT
Introduction To operating System:
PPT
Introduction to Operating System
PPT
Advanced_OS_Unit 1 & 2.ppt
PPTX
Operating System Overview
PDF
osunit1ppt-23011904470yuoij4-685c22ef.pdf
PPTX
OS UNIT 1 PPT.pptx
SISTEMAS OPERATIVOS.pptx
cs-intro-os.ppt
Chapter02-rev.pptx
Lec # 1 chapter 2
Chapter02
INTRODUCTION TO OPERATING SYSTEM AND BASIC CONCEPTS 2
operating-system-03092013175227-operating-system.ppt
Overview of Operating System.ppt introduction
Operating system overview by narender singh sandhu
Operating system overview by narender singh sandhu
CSE3120- Module1 part 1 v1.pptx
EMBEDDED OS
data oerating system overview in os .ppt
Introduction To operating System:
Introduction to Operating System
Advanced_OS_Unit 1 & 2.ppt
Operating System Overview
osunit1ppt-23011904470yuoij4-685c22ef.pdf
OS UNIT 1 PPT.pptx

More from Pradeep Kumar TS (20)

PDF
Digital Portfolio and Footprint
PDF
Open book Examination
PDF
Software Define Networking (SDN)
PDF
What next - Career Enhancement of Graduates
PDF
Protothreads
PDF
PDF
Software Defined Networks
PDF
Higher Order Thinking - Question paper setting
PDF
IoT Communication Protocols
PDF
IoT Applications
PDF
RPL - Routing Protocol for Low Power and Lossy Networks
PDF
Mannasim for NS2
PDF
Recompiling network simulator 2
PDF
OTcl and C++ linkages in NS2
PDF
Wired and Wireless Examples in ns2
PDF
Installation of ns2
PDF
Introduction to ns2
PDF
Software Defined Networking - 2
PDF
Software Defined Networking - 3
PDF
Tracing and awk in ns2
Digital Portfolio and Footprint
Open book Examination
Software Define Networking (SDN)
What next - Career Enhancement of Graduates
Protothreads
Software Defined Networks
Higher Order Thinking - Question paper setting
IoT Communication Protocols
IoT Applications
RPL - Routing Protocol for Low Power and Lossy Networks
Mannasim for NS2
Recompiling network simulator 2
OTcl and C++ linkages in NS2
Wired and Wireless Examples in ns2
Installation of ns2
Introduction to ns2
Software Defined Networking - 2
Software Defined Networking - 3
Tracing and awk in ns2

Recently uploaded (20)

PDF
Sports Quiz easy sports quiz sports quiz
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
master seminar digital applications in india
PDF
RMMM.pdf make it easy to upload and study
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Types and Its function , kingdom of life
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Computing-Curriculum for Schools in Ghana
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Cell Structure & Organelles in detailed.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Sports Quiz easy sports quiz sports quiz
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
master seminar digital applications in india
RMMM.pdf make it easy to upload and study
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Types and Its function , kingdom of life
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
Computing-Curriculum for Schools in Ghana
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Renaissance Architecture: A Journey from Faith to Humanism
Cell Structure & Organelles in detailed.
O7-L3 Supply Chain Operations - ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
VCE English Exam - Section C Student Revision Booklet
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

Lecture 3,4 operating systems

  • 2. Overview  Operating System Evolution  Serial Processing  Batch processing  Multiprogrammed Batch Systems  Time Sharing Systems  Major Achievements in OS  Processes  Memory Management  Information protection and Security  Scheduling and Resource Management  Recent Developments  Microkernel architecture  Multithreading  Symmetric multiprocessing  Distributed OS and Object Oriented Design
  • 3. Serial Processing  1940 to 1950  Programs in machine code were loaded via input device (Card Reader)  Errors are indicated through lights  Scheduling  Time slots are given to users based on the hardcopy sign sheet  Setup Time  Mounting/dismounting of tapes or setting up card desks will take time to set the inputs like compiler codes, functions, etc.
  • 5. Batch Processing  Jobs with similar requirements were batched together  Tapes/cards were used  Example:  In one ForTran, one Cobol and another fortran programs are scheduled.  To reduce the operator time, two fortran compiler Tapes can be loaded and later the COBOL tapes can be loaded.
  • 6. Multiprogramming  Used to increase the resource utilisation,  Allows more than one job (program) to utilize CPU time at any moment.  More number of programs competing for system resources, better will be resource utilisation
  • 12. Overview  Operating System Evolution  Serial Processing  Batch processing  Multiprogrammed Batch Systems  Time Sharing Systems  Major Achievements in OS  Processes  Memory Management  Information protection and Security  Scheduling and Resource Management  Recent Developments  Microkernel architecture  Multithreading  Symmetric multiprocessing  Distributed OS and Object Oriented Design
  • 13. Processes  A program in execution  An instance of a program running on a computer  The entity that can be assigned to and executed on a processor  A unit of activity characterized by a single sequential thread of execution, a current state, and an associated set of system resources
  • 14. Processes  Challenges for processes  Multiprogramming batch operation  Time Sharing  Real Time Transaction Systems  Errors Encountered if the above challenges are not met  Improper synchornisation  Failed mutual exclusion  Non determinate program operation  Deadlocks
  • 15. Memory Management  Responsibilities  Process isolation  Automatic allocation and Management  Support for Modular Programming  Protection and Access Control  Long Term Storage
  • 17. Virtual Memory  Pages  Processes to be comprised of a number of fixed sized blocks called pages  Real Address or physical address  Address of the main memory  Virtual Address  A page number and an offset  Address to be located from the secondary memory
  • 18. Information protection  Availability: Concerned with protecting the system against interruption.  Confidentiality: Assures that users cannot read data for which access is unauthorized.  Data integrity: Protection of data from unauthorized modification.  Authenticity: Concerned with the proper verification of the identity of users and the validity of messages or data.
  • 19. Scheduling and Resource Management  Resources are processors, I/O Devices, Memory, etc  Resource allocation and scheduling policy must consider these  Fairness  Allocate resources to all process fairly  Differential responsiveness  Each process needs different services, which has to be provided by the OS  Efficiency  Maximize throughput, minimize response time
  • 20. OS Structure Level Name Objects 13 Shell User programming Environment 12 User Processes User processes 11 Directories Directories 10 Devices External devices like printers, etc OS Level components 9 File System Files 8 Communications Pipes 7 Virtual Memory Segments, pages 6 Local Sec. Memory Blocks of data, device channels 5 Primitive processes Semaphores. Ready list 4 Interrupts ISRs 3 Procedures Call stack, procedures Hardware Level 2 Instruction Set Evaluation stack, scalar data 1 Electronic Circuits Registers, gates, buses
  • 22. Microkernel Architecture  Monolithic kernels are in demand today  Large kernels includes scheduling, file system, networking, device drivers, memory mgmt. and more.  Implemented as a single process with all elements sharing the same address space  Microkernel  Assigns only few essential functions in the kernel  Other OS services are provided by Servers or processes treated like any other application running under user mode.  This decouples kernel and server development.
  • 23. Multithreading  Threads can run concurrently  Threads are also called as sub tasks or sub processes  Threads are process controlled entity wheresas the processes are kernel controlled entity  Threads of the same process share the common memory space available to that process
  • 24. Symmetric multiprocessing (SMP)  The OS of an SMP schedules processes or threads across all of the processors.  SMP has the advantages  Performance  All the processes will work together for a given application  Availability  Even if one processor fails, the other will take care of the system with reduced performance  Incremental Growth  User can enhance by adding a new processor  Scaling  Vendors provides extra functionality based on the number of processors