




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this document description about Operating Systems, Significance of this lecture, Operating System Architectures, Kernels,Protection, Processes and Threads.
Typology: Lecture notes
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















-^
-^
Clients invoke operations on resources on remote nodes or other localprocesses
-^
This process is simplified through the use of middleware
-^
In a DIS client applications/services send request to the middleware
-^
The middleware then sends its requests to the host operating system(OS)
-^
The OS then utilizes computer and network hardware to send requests
-^
The OS provide an abstraction of the hardware (network and computer)
-^
i.e. processors, memory, communications, storage, etc.
-^
Middleware talks to the OS rather than the hardware directly
-^
Encapsulation:
-^
With a
useful
set of operations to clients
-^
Unnecessary details should be transparent (memory management)
-^
Protection:
-^
protection to resources from incorrect and illegitimate access
-^
Concurrent processing:
-^
transparent concurrent process management
-^
Communication:
-^
to remote processes or at least other processes within the computer
-^
Scheduling
-^
Invoked operations need to be schedules to be processed.
requests
requests
requests
Operating system
Accessvia theexportedmethods
Protection
Memory management Other OS functions
Encapsulationboundary
-^
Manages the creation and operations of processes
-^
Creates, synchronizes and schedules threads
-^
Communication between threads on the same host
-^
Physical and virtual memory
-^
The base layer - the hardware abstraction layer
-^
Interrupts, system traps, register manipulation, control of the memorymanagement, processor control
-^
-^
-^
-^
It is always running,
-^
Its code has complete access to the physical resources of the computer
-^
Processors, memory, etc.
-^
For example, memory is allocated to user processes and they can onlyaccess memory inside its allocated region of memory
-^
User
processes run their own code in their allocated resource space
-^
However
user
processes can also run kernel code
-^
They do this through calling kernel supplied handlers
-^
These handlers control the access safeguarding against illicit activities
-^
Using interrupts or machine-level traps
-^
A new thread is generated for each request
-^
They are destroyed when the request completes
-^
Increases throughput but introduces creation and destruction overheads
-^
This is managed via an I/O thread
Remoteobjects
Workerthreads
I/Othread
-^
Creates a new thread for each connection that is made to the server
-^
Connection could make many requests through its single thread
Remoteobjects
ThreadPerconnection