SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Memory management ppt
Memory management pptMemory management ppt
Memory management pptManishaJha43
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structuresathish sak
 
DeadLock in Operating-Systems
DeadLock in Operating-SystemsDeadLock in Operating-Systems
DeadLock in Operating-SystemsVenkata Sreeram
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Servicessgpraju
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi ComputersNemwos
 
Part 1 - PROCESS CONCEPTS
Part 1  - PROCESS CONCEPTSPart 1  - PROCESS CONCEPTS
Part 1 - PROCESS CONCEPTSpriyasoundar
 
CPU Scheduling in OS Presentation
CPU Scheduling in OS  PresentationCPU Scheduling in OS  Presentation
CPU Scheduling in OS Presentationusmankiyani1
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionAnkonGopalBanik
 
cpu scheduling
cpu schedulingcpu scheduling
cpu schedulinghashim102
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecturePankaj Kumar Jain
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating systemChetan Mahawar
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computingVajira Thambawita
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann ArchitectureZahid Rajeel
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMSkoolkampus
 

Was ist angesagt? (20)

Operating System.pdf
Operating System.pdfOperating System.pdf
Operating System.pdf
 
operating system
operating systemoperating system
operating system
 
Operating system
Operating systemOperating system
Operating system
 
Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structure
 
DeadLock in Operating-Systems
DeadLock in Operating-SystemsDeadLock in Operating-Systems
DeadLock in Operating-Systems
 
Digital devices .pptx
Digital devices .pptxDigital devices .pptx
Digital devices .pptx
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Services
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi Computers
 
Part 1 - PROCESS CONCEPTS
Part 1  - PROCESS CONCEPTSPart 1  - PROCESS CONCEPTS
Part 1 - PROCESS CONCEPTS
 
CPU Scheduling in OS Presentation
CPU Scheduling in OS  PresentationCPU Scheduling in OS  Presentation
CPU Scheduling in OS Presentation
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 
cpu scheduling
cpu schedulingcpu scheduling
cpu scheduling
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecture
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMS
 
pipelining
pipeliningpipelining
pipelining
 

Andere mochten auch

Lecture 2 os objectives and functions
Lecture 2   os objectives and functionsLecture 2   os objectives and functions
Lecture 2 os objectives and functionsPradeep Kumar TS
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its functionNikhi Jain
 
pengenalan sistem operasi
pengenalan sistem operasipengenalan sistem operasi
pengenalan sistem operasiZumhari Zumhari
 
Pengenalan sistem operasi
Pengenalan sistem operasiPengenalan sistem operasi
Pengenalan sistem operasiZumhari Zumhari
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating SystemDr.Suresh Isave
 
Functions Of Operating Systems
Functions Of Operating SystemsFunctions Of Operating Systems
Functions Of Operating SystemsAkshay Kurup
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 

Andere mochten auch (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
 

Ähnlich wie Lecture 3,4 operating systems

Ähnlich wie 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
 

Mehr von 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 - 1
Software Defined Networking - 1Software Defined Networking - 1
Software Defined Networking - 1Pradeep 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
 

Mehr von 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
 

Kürzlich hochgeladen

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

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