SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances (20)

OSCh20
OSCh20OSCh20
OSCh20
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating System
 
Os structure
Os structureOs structure
Os structure
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 
Windows xp
Windows xpWindows xp
Windows xp
 
operating system
operating systemoperating system
operating system
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
 
Cs8493 unit 5
Cs8493 unit 5Cs8493 unit 5
Cs8493 unit 5
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter02
Chapter02Chapter02
Chapter02
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structures
 
Unit 4
Unit  4Unit  4
Unit 4
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systems
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Services
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Operating System Simple Introduction
Operating System Simple IntroductionOperating System Simple Introduction
Operating System Simple Introduction
 

En vedette

Challenges in Embedded Computing
Challenges in Embedded ComputingChallenges in Embedded Computing
Challenges in Embedded ComputingPradeep Kumar TS
 
Virtual classrooms and labs using Big Blue Button
Virtual classrooms and labs using Big Blue ButtonVirtual classrooms and labs using Big Blue Button
Virtual classrooms and labs using Big Blue ButtonPradeep Kumar TS
 
Lecture 1 introduction to operating systems
Lecture 1  introduction to operating systemsLecture 1  introduction to operating systems
Lecture 1 introduction to operating systemsPradeep Kumar TS
 
Functions of osi layer in computer networks
Functions of osi layer in computer networksFunctions of osi layer in computer networks
Functions of osi layer in computer networksPradeep Kumar TS
 
Inter process communication
Inter process communicationInter process communication
Inter process communicationPradeep Kumar TS
 
Software Defined Networking - 1
Software Defined Networking - 1Software Defined Networking - 1
Software Defined Networking - 1Pradeep Kumar TS
 
IEEE 802 Standard for Computer Networks
IEEE 802 Standard for Computer NetworksIEEE 802 Standard for Computer Networks
IEEE 802 Standard for Computer NetworksPradeep Kumar TS
 

En vedette (12)

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

Similaire à Lecture 3,4 operating systems

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 Probertyang
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxPRABAVATHIH
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating SystemSoumit Ghosh
 
Operating System Overview.
Operating System Overview.Operating System Overview.
Operating System Overview.akash726788
 
operating system structure
operating system structureoperating system structure
operating system structureHAMZA AHMED
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...SattiBabu16
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.pptDr.YNM
 
Operating system v1 d1
Operating system v1 d1Operating system v1 d1
Operating system v1 d1Himanshu Pant
 
Operating System Concepts Presentation
Operating System Concepts PresentationOperating System Concepts Presentation
Operating System Concepts PresentationNitish Jadia
 

Similaire à Lecture 3,4 operating systems (20)

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
 
OSCh3
OSCh3OSCh3
OSCh3
 
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.
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Ch3
Ch3Ch3
Ch3
 
Operating system
Operating systemOperating system
Operating system
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Kernel
KernelKernel
Kernel
 
2337610
23376102337610
2337610
 
Os
OsOs
Os
 
Os
OsOs
Os
 
Operating system v1 d1
Operating system v1 d1Operating system v1 d1
Operating system v1 d1
 
ppt
pptppt
ppt
 
Operating System Concepts Presentation
Operating System Concepts PresentationOperating System Concepts Presentation
Operating System Concepts Presentation
 

Plus de Pradeep Kumar TS

Digital Portfolio and Footprint
Digital Portfolio and FootprintDigital Portfolio and Footprint
Digital Portfolio and FootprintPradeep Kumar TS
 
Software Define Networking (SDN)
Software Define Networking (SDN)Software Define Networking (SDN)
Software Define Networking (SDN)Pradeep Kumar TS
 
What next - Career Enhancement of Graduates
What next - Career Enhancement of GraduatesWhat next - Career Enhancement of Graduates
What next - Career Enhancement of GraduatesPradeep Kumar TS
 
Higher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingHigher Order Thinking - Question paper setting
Higher Order Thinking - Question paper settingPradeep Kumar TS
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication ProtocolsPradeep Kumar TS
 
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 NetworksPradeep Kumar TS
 
Recompiling network simulator 2
Recompiling network simulator 2Recompiling network simulator 2
Recompiling network simulator 2Pradeep Kumar TS
 
OTcl and C++ linkages in NS2
OTcl and C++ linkages in NS2OTcl and C++ linkages in NS2
OTcl and C++ linkages in NS2Pradeep Kumar TS
 
Wired and Wireless Examples in ns2
Wired and Wireless Examples in ns2Wired and Wireless Examples in ns2
Wired and Wireless Examples in ns2Pradeep Kumar TS
 
Software Defined Networking - 2
Software Defined Networking - 2Software Defined Networking - 2
Software Defined Networking - 2Pradeep Kumar TS
 
Software Defined Networking - 3
Software Defined Networking - 3Software Defined Networking - 3
Software Defined Networking - 3Pradeep Kumar TS
 

Plus 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 - 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
 
Tracing and awk in ns2
Tracing and awk in ns2Tracing and awk in ns2
Tracing and awk in ns2
 

Dernier

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 

Dernier (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

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