SlideShare una empresa de Scribd logo
1 de 24
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

Más contenido relacionado

La actualidad más candente

30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
raj732723
 
Intel x86 Architecture
Intel x86 ArchitectureIntel x86 Architecture
Intel x86 Architecture
ChangWoo Min
 
Network connectivity devices
Network connectivity devicesNetwork connectivity devices
Network connectivity devices
Numaan Tole
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
Pradeep Kumar TS
 

La actualidad más candente (20)

Computer architecture
Computer architecture Computer architecture
Computer architecture
 
Multicore Processor Technology
Multicore Processor TechnologyMulticore Processor Technology
Multicore Processor Technology
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
 
Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
 
Intel x86 Architecture
Intel x86 ArchitectureIntel x86 Architecture
Intel x86 Architecture
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Network connectivity devices
Network connectivity devicesNetwork connectivity devices
Network connectivity devices
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
Network architecture
Network architectureNetwork architecture
Network architecture
 
Computing Environment
Computing EnvironmentComputing Environment
Computing Environment
 
Chpt7
Chpt7Chpt7
Chpt7
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
 
CPU and Storage devices
CPU and Storage devicesCPU and Storage devices
CPU and Storage devices
 
Interrupts
InterruptsInterrupts
Interrupts
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
 

Destacado

Lecture 2 os objectives and functions
Lecture 2   os objectives and functionsLecture 2   os objectives and functions
Lecture 2 os objectives and functions
Pradeep Kumar TS
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
Nikhi Jain
 
Functions Of Operating Systems
Functions Of Operating SystemsFunctions Of Operating Systems
Functions Of Operating Systems
Akshay Kurup
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
Vaibhav Bajaj
 

Destacado (12)

Lecture 2 os objectives and functions
Lecture 2   os objectives and functionsLecture 2   os objectives and functions
Lecture 2 os objectives and functions
 
Operating system
Operating systemOperating system
Operating system
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating system 2
Operating system 2Operating system 2
Operating system 2
 
pengenalan sistem operasi
pengenalan sistem operasipengenalan sistem operasi
pengenalan sistem operasi
 
Pengenalan sistem operasi
Pengenalan sistem operasiPengenalan sistem operasi
Pengenalan sistem operasi
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
 
Number system
Number systemNumber system
Number system
 
Functions Of Operating Systems
Functions Of Operating SystemsFunctions Of Operating Systems
Functions Of Operating Systems
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 

Similar a Lecture 3,4 operating systems

Chapter 02
Chapter 02Chapter 02
Chapter 02
m25farid
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
alixafar
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
C.U
 

Similar a Lecture 3,4 operating systems (20)

Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter02
Chapter02Chapter02
Chapter02
 
Os structure
Os structureOs structure
Os structure
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
Oct2009
Oct2009Oct2009
Oct2009
 
Evolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave ProbertEvolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave Probert
 
operating system structure
operating system structureoperating system structure
operating system structure
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating System
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OSCh3
OSCh3OSCh3
OSCh3
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptx
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
Operating System Overview.
Operating System Overview.Operating System Overview.
Operating System Overview.
 
Unit 4
Unit  4Unit  4
Unit 4
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
 
Ch3
Ch3Ch3
Ch3
 
Operating system
Operating systemOperating system
Operating system
 

Más de Pradeep Kumar TS

Más de Pradeep Kumar TS (20)

Digital Portfolio and Footprint
Digital Portfolio and FootprintDigital Portfolio and Footprint
Digital Portfolio and Footprint
 
Open book Examination
Open book ExaminationOpen book Examination
Open book Examination
 
Software Define Networking (SDN)
Software Define Networking (SDN)Software Define Networking (SDN)
Software Define Networking (SDN)
 
What next - Career Enhancement of Graduates
What next - Career Enhancement of GraduatesWhat next - Career Enhancement of Graduates
What next - Career Enhancement of Graduates
 
Protothreads
ProtothreadsProtothreads
Protothreads
 
6LoWPAN
6LoWPAN 6LoWPAN
6LoWPAN
 
Software Defined Networks
Software Defined NetworksSoftware Defined Networks
Software Defined Networks
 
Higher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingHigher Order Thinking - Question paper setting
Higher Order Thinking - Question paper setting
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication Protocols
 
IoT Applications
IoT ApplicationsIoT Applications
IoT Applications
 
RPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy NetworksRPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy Networks
 
Mannasim for NS2
Mannasim for NS2Mannasim for NS2
Mannasim for NS2
 
Recompiling network simulator 2
Recompiling network simulator 2Recompiling network simulator 2
Recompiling network simulator 2
 
OTcl and C++ linkages in NS2
OTcl and C++ linkages in NS2OTcl and C++ linkages in NS2
OTcl and C++ linkages in NS2
 
Wired and Wireless Examples in ns2
Wired and Wireless Examples in ns2Wired and Wireless Examples in ns2
Wired and Wireless Examples in ns2
 
Installation of ns2
Installation of ns2Installation of ns2
Installation of ns2
 
Introduction to ns2
Introduction to ns2Introduction to ns2
Introduction to ns2
 
Software Defined Networking - 1
Software Defined Networking - 1Software Defined Networking - 1
Software Defined Networking - 1
 
Software Defined Networking - 2
Software Defined Networking - 2Software Defined Networking - 2
Software Defined Networking - 2
 
Software Defined Networking - 3
Software Defined Networking - 3Software Defined Networking - 3
Software Defined Networking - 3
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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