SlideShare una empresa de Scribd logo
1 de 16
Distributed Computing System
UNIT III –Part A
Topic : Operating System Support
(Topics According to VTU University)
Book Referred: Distributed Computing
Concepts and Design
George Coulouris Cambridge University
Jean Dollimore formerly of Queen Mary, University of London
Tim Kindberg matter 2 media
Gordon Blair Lancaster University
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 1
Topics :
1. Introduction
2. OS Layer
3. Protection
4. Processes and Threads
5. Communication and Invocation
6. Operating System Architecture
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 2
Introduction
• The operating system facilitates the
encapsulation and protection of resources
inside servers and it supports the mechanisms
required to access these resources, including
communication and scheduling.
• kernel- and user-level functionalities
• Multi threaded and communication facilities.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
3
Introduction
• Client applications invoke operations on
resources that are often on another node or at
least in another process. Applications and use
the middleware layer for their interactions.
• Below the middleware layer is the operating
system (OS) layer
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 4
Introduction
• Middleware – OS combination : decides the
performance.
• OS – Hardware Combination : Middle ware
runs.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 5
OS Layer
• The OS must provide
Encapsulation : Details such as management of
memory and devices used to implement
resources should be hidden from clients.
Concurrent Processing : Clients may share
resources and access them concurrently.
Protection: Resources require protection from
illegitimate accesses.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
6
OS Layer (Core Components and its functionalities)
Process Manager: Creation of and operations upon
processes. A process is a unit of resource management,
including an address space and one or more threads.
Thread Manager: Thread creation, synchronization and
scheduling. Threads are schedulable activities attached to
processes.
Communication Manager: Communication between threads
attached to different processes on the same computer. Some
kernels also support communication between threads in
remote processes. Other kernels have no notion of other
computers built into them, and an additional service is
required for external communication.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 7
OS Layer (Core Components and
its functionalities
• Memory Manager: Management of physical and
virtual memory. Utilization of memory management
techniques for efficient data copying and sharing.
• Supervisor: Dispatching of interrupts, system call
traps and other exceptions; control of memory
management unit and hardware caches; processor
and floating-point unit register manipulations. This is
known as the Hardware Abstraction Layer in
Windows.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
8
Protection
• Resources require protection from illegitimate
accesses and maliciously contrived code.
• Each resource file has two operations
• 1)Read 2)Write.
• Protecting the file consists of two sub-problems.
• The first is to ensure that each of the file’s two
operations can be performed only by clients
with the right to perform it.
• Misbehaving client : Meaningless operation
that would upset normal use of the file.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
9
Protection
• Example of illegitimate invocations of file :
setFilePointerRandomly.
• The kernel can control the memory
management unit and set the processor
registers so that no other code may access the
machine’s physical resources.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 10
Protection
• A kernel process executes with the processor
in supervisor (privileged) mode; the kernel
arranges that other processes execute in user
(unprivileged) mode.
• The kernel also sets up address spaces to
protect itself from the accesses of an aberrant
process.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
11
Processes and Threads
• the traditional process makes sharing between related
activities awkward and expensive.
• The solution is to associate the process with multiple
activities. Each process consists of an execution
environment together with one or more threads.
• A thread is the operating system abstraction of an
activity (the term derives from the phrase ‘thread of
execution’).
• An execution environment is the unit of resource
management: a collection of local kernel managed
resources to which its threads have access.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
12
Processes and Threads
• An execution environment primarily consists of:
• an address space;
• thread synchronization and communication
resources such as semaphores and
communication interfaces (Ex. sockets);
• higher-level resources such as open files and
windows
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering 13
Processes and Threads
• Address spaces: An address space is a unit of
management of a process virtual memory and
consist of one or more regions.
• Each region is specified by the following
properties:
• its extent (lowest virtual address and size);
• read/write/execute permissions for the process’s
threads;
• whether it can be grown upwards or downwards.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
14
Processes and Threads
• A shared memory region is one that is backed by the same physical memory
as one or more regions belonging to other address spaces. Processes
therefore access identical memory contents in the regions that are shared,
while their non-shared regions remain protected.
• The uses of shared regions include the following:
• Libraries: Library code can be very large and would waste considerable
memory if it was loaded separately into every process that used it.
• Kernel: Often the kernel code and data are mapped into every address space
at the same location. When a process makes a system call or an exception
occurs, there is no need to switch to a new set of address mappings.
• Data sharing and communication: Two processes, or a process and the
kernel, might need to share data in order to cooperate on some task. It can
be considerably more efficient for the data to be shared by being mapped as
regions in both address spaces than by being passed in messages between
them.
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
15
Processes and Threads
• The design of the process-creation mechanism
has to take into account the utilization of multiple
computers;
• The process-support infrastructure is divided into
separate system services.
• The creation of a new process can be separated
into two independent aspects:
• The choice of a target host,
• The creation of an execution environment (and
an initial thread within it).
Dr. Saira Banu, Professor
Department Of Information Science and Engineering
HKBK College of Engineering
16

Más contenido relacionado

La actualidad más candente

Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 
A novel cloud storage system with support of sensitive data application
A novel cloud storage system with support of sensitive data applicationA novel cloud storage system with support of sensitive data application
A novel cloud storage system with support of sensitive data applicationijmnct
 
System components (os)
System components (os)System components (os)
System components (os)snegacmr
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating Systemghayour abbas
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed ProcessingImtiaz Hussain
 
Distributed dbms cs712 power point slides lecture 1
Distributed dbms   cs712 power point slides lecture 1Distributed dbms   cs712 power point slides lecture 1
Distributed dbms cs712 power point slides lecture 1Aimal Syeda
 
Data management issues
Data management issuesData management issues
Data management issuesNeha Bansal
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Fazli Amin
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)Dinesh Modak
 
Lec 6 (distributed processing )
Lec 6 (distributed processing )Lec 6 (distributed processing )
Lec 6 (distributed processing )Sudarshan Mondal
 
7 distributed and real systems
7 distributed and real systems7 distributed and real systems
7 distributed and real systemsmyrajendra
 
Architectural Styles and Case Studies, Software architecture ,unit–2
Architectural Styles and Case Studies, Software architecture ,unit–2Architectural Styles and Case Studies, Software architecture ,unit–2
Architectural Styles and Case Studies, Software architecture ,unit–2Sudarshan Dhondaley
 
fundamentals & link layers jntuk material
fundamentals & link layers jntuk materialfundamentals & link layers jntuk material
fundamentals & link layers jntuk materialNagendra Reddy Panyam
 
Intro (Distributed computing)
Intro (Distributed computing)Intro (Distributed computing)
Intro (Distributed computing)Sri Prasanna
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating SystemSanthiNivas
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systemsvampugani
 

La actualidad más candente (20)

Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
A novel cloud storage system with support of sensitive data application
A novel cloud storage system with support of sensitive data applicationA novel cloud storage system with support of sensitive data application
A novel cloud storage system with support of sensitive data application
 
System components (os)
System components (os)System components (os)
System components (os)
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed Processing
 
Distributed dbms cs712 power point slides lecture 1
Distributed dbms   cs712 power point slides lecture 1Distributed dbms   cs712 power point slides lecture 1
Distributed dbms cs712 power point slides lecture 1
 
Data management issues
Data management issuesData management issues
Data management issues
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Lec 6 (distributed processing )
Lec 6 (distributed processing )Lec 6 (distributed processing )
Lec 6 (distributed processing )
 
7 distributed and real systems
7 distributed and real systems7 distributed and real systems
7 distributed and real systems
 
Architectural Styles and Case Studies, Software architecture ,unit–2
Architectural Styles and Case Studies, Software architecture ,unit–2Architectural Styles and Case Studies, Software architecture ,unit–2
Architectural Styles and Case Studies, Software architecture ,unit–2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
fundamentals & link layers jntuk material
fundamentals & link layers jntuk materialfundamentals & link layers jntuk material
fundamentals & link layers jntuk material
 
Intro (Distributed computing)
Intro (Distributed computing)Intro (Distributed computing)
Intro (Distributed computing)
 
Operating system 3
Operating system 3 Operating system 3
Operating system 3
 
Ch3
Ch3Ch3
Ch3
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating System
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systems
 

Similar a Unit 3 part a. operating system support

Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4alixafar
 
CS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptxCS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptxAsst.prof M.Gokilavani
 
Computer Networking Theory Assignment 1
Computer Networking Theory Assignment 1Computer Networking Theory Assignment 1
Computer Networking Theory Assignment 1Hasibul Islam Nirob
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John LadoMark John Lado, MIT
 
CS403: Operating System :Lec 2 Function of OS.pptx
CS403: Operating System :Lec 2 Function of OS.pptxCS403: Operating System :Lec 2 Function of OS.pptx
CS403: Operating System :Lec 2 Function of OS.pptxAsst.prof M.Gokilavani
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.pptinfomerlin
 
thread_ multiprocessor_ scheduling_a.ppt
thread_ multiprocessor_ scheduling_a.pptthread_ multiprocessor_ scheduling_a.ppt
thread_ multiprocessor_ scheduling_a.pptnaghamallella
 
SISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptxSISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptxAnalistaSoporte
 
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsF9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsNational Cheng Kung University
 
Operating System
Operating SystemOperating System
Operating Systemcpjcollege
 
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...ssuser4a97d3
 

Similar a Unit 3 part a. operating system support (20)

Chapter 1: Introduction to Unix / Linux Kernel
Chapter 1: Introduction to Unix / Linux KernelChapter 1: Introduction to Unix / Linux Kernel
Chapter 1: Introduction to Unix / Linux Kernel
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
CS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptxCS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptx
 
Operating system
Operating systemOperating system
Operating system
 
Computer Networking Theory Assignment 1
Computer Networking Theory Assignment 1Computer Networking Theory Assignment 1
Computer Networking Theory Assignment 1
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
CS403: Operating System :Lec 2 Function of OS.pptx
CS403: Operating System :Lec 2 Function of OS.pptxCS403: Operating System :Lec 2 Function of OS.pptx
CS403: Operating System :Lec 2 Function of OS.pptx
 
Unit 2(oss) (1)
Unit 2(oss) (1)Unit 2(oss) (1)
Unit 2(oss) (1)
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.ppt
 
thread_ multiprocessor_ scheduling_a.ppt
thread_ multiprocessor_ scheduling_a.pptthread_ multiprocessor_ scheduling_a.ppt
thread_ multiprocessor_ scheduling_a.ppt
 
Chapter02-rev.pptx
Chapter02-rev.pptxChapter02-rev.pptx
Chapter02-rev.pptx
 
SISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptxSISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptx
 
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsF9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
 
Operating System
Operating SystemOperating System
Operating System
 
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
 
Wiki 2
Wiki 2Wiki 2
Wiki 2
 

Último

UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 

Último (20)

UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 

Unit 3 part a. operating system support

  • 1. Distributed Computing System UNIT III –Part A Topic : Operating System Support (Topics According to VTU University) Book Referred: Distributed Computing Concepts and Design George Coulouris Cambridge University Jean Dollimore formerly of Queen Mary, University of London Tim Kindberg matter 2 media Gordon Blair Lancaster University Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 1
  • 2. Topics : 1. Introduction 2. OS Layer 3. Protection 4. Processes and Threads 5. Communication and Invocation 6. Operating System Architecture Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 2
  • 3. Introduction • The operating system facilitates the encapsulation and protection of resources inside servers and it supports the mechanisms required to access these resources, including communication and scheduling. • kernel- and user-level functionalities • Multi threaded and communication facilities. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 3
  • 4. Introduction • Client applications invoke operations on resources that are often on another node or at least in another process. Applications and use the middleware layer for their interactions. • Below the middleware layer is the operating system (OS) layer Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 4
  • 5. Introduction • Middleware – OS combination : decides the performance. • OS – Hardware Combination : Middle ware runs. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 5
  • 6. OS Layer • The OS must provide Encapsulation : Details such as management of memory and devices used to implement resources should be hidden from clients. Concurrent Processing : Clients may share resources and access them concurrently. Protection: Resources require protection from illegitimate accesses. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 6
  • 7. OS Layer (Core Components and its functionalities) Process Manager: Creation of and operations upon processes. A process is a unit of resource management, including an address space and one or more threads. Thread Manager: Thread creation, synchronization and scheduling. Threads are schedulable activities attached to processes. Communication Manager: Communication between threads attached to different processes on the same computer. Some kernels also support communication between threads in remote processes. Other kernels have no notion of other computers built into them, and an additional service is required for external communication. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 7
  • 8. OS Layer (Core Components and its functionalities • Memory Manager: Management of physical and virtual memory. Utilization of memory management techniques for efficient data copying and sharing. • Supervisor: Dispatching of interrupts, system call traps and other exceptions; control of memory management unit and hardware caches; processor and floating-point unit register manipulations. This is known as the Hardware Abstraction Layer in Windows. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 8
  • 9. Protection • Resources require protection from illegitimate accesses and maliciously contrived code. • Each resource file has two operations • 1)Read 2)Write. • Protecting the file consists of two sub-problems. • The first is to ensure that each of the file’s two operations can be performed only by clients with the right to perform it. • Misbehaving client : Meaningless operation that would upset normal use of the file. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 9
  • 10. Protection • Example of illegitimate invocations of file : setFilePointerRandomly. • The kernel can control the memory management unit and set the processor registers so that no other code may access the machine’s physical resources. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 10
  • 11. Protection • A kernel process executes with the processor in supervisor (privileged) mode; the kernel arranges that other processes execute in user (unprivileged) mode. • The kernel also sets up address spaces to protect itself from the accesses of an aberrant process. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 11
  • 12. Processes and Threads • the traditional process makes sharing between related activities awkward and expensive. • The solution is to associate the process with multiple activities. Each process consists of an execution environment together with one or more threads. • A thread is the operating system abstraction of an activity (the term derives from the phrase ‘thread of execution’). • An execution environment is the unit of resource management: a collection of local kernel managed resources to which its threads have access. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 12
  • 13. Processes and Threads • An execution environment primarily consists of: • an address space; • thread synchronization and communication resources such as semaphores and communication interfaces (Ex. sockets); • higher-level resources such as open files and windows Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 13
  • 14. Processes and Threads • Address spaces: An address space is a unit of management of a process virtual memory and consist of one or more regions. • Each region is specified by the following properties: • its extent (lowest virtual address and size); • read/write/execute permissions for the process’s threads; • whether it can be grown upwards or downwards. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 14
  • 15. Processes and Threads • A shared memory region is one that is backed by the same physical memory as one or more regions belonging to other address spaces. Processes therefore access identical memory contents in the regions that are shared, while their non-shared regions remain protected. • The uses of shared regions include the following: • Libraries: Library code can be very large and would waste considerable memory if it was loaded separately into every process that used it. • Kernel: Often the kernel code and data are mapped into every address space at the same location. When a process makes a system call or an exception occurs, there is no need to switch to a new set of address mappings. • Data sharing and communication: Two processes, or a process and the kernel, might need to share data in order to cooperate on some task. It can be considerably more efficient for the data to be shared by being mapped as regions in both address spaces than by being passed in messages between them. Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 15
  • 16. Processes and Threads • The design of the process-creation mechanism has to take into account the utilization of multiple computers; • The process-support infrastructure is divided into separate system services. • The creation of a new process can be separated into two independent aspects: • The choice of a target host, • The creation of an execution environment (and an initial thread within it). Dr. Saira Banu, Professor Department Of Information Science and Engineering HKBK College of Engineering 16