OSY Microproject
OSY Microproject
Under Subject:
OPERATING SYSTEM(22516)
Submitted by:
Gangawane Subodh[37]
Class:-CM5I Div:-A
Certificate
This is to certify that Mr. / Ms. Gangawane Subodh Maruti
S.K.B.P. POLYTECHNIC,KOPARGAON
|Scope:
. Operating system acts as an intermediary for the users
.Components of the operating system include process
management, memory management, security, error
detection, and I/O management.
|Architecture of an Operating
System:
Highlights:
.Operating system gives an environment for
executing programs by the users.
.Kernel is the most central part of the
operating systems.
.Software running on any operating system
can be system software and application
software. The operating system as we know is
an intermediary and its functionalities include
file management, memory management,
process management, handling input and
output, and peripheral devices as well.
1)Monolithic Architecture
In monolithic architecture, each component of
the operating system is contained in the kernel
i.e. it is working in kernel space, and the
components of the operating system
communicate with each other using function
calls.
Advantages:
1.The main advantage of having a monolithic architecture of
the operating system is that it provides CPU scheduling,
memory management, memory management, etc through
system calls.
2.In a single address space, the entire large process is running.
3.It is a single static binary file.
2)Layered architecture:
In Layered architecture, components with similar
functionalities are grouped to form a layer and in this way,
total n+1 layers are constructed and counted from 0 to n
where each layer has a different set of functionalities and
services. Example: THE operating system, also windows XP,
and LINUX implements some level of layering.
Advantages:
1) Layered architecture of the operating system provides
modularity because each layer is programmed to perform its
own tasks only.
2) Since the layered architecture has independent
components changing or updating one of them will not affect
the other component or the entire operating system will not
stop working, hence it is easy to debug and update.
3) The user can access the services of the hardware layer but
cannot access the hardware layer itself because it is the
innermost layer.
4) Each layer has its own functionalities and it is concerned
with itself only and other layers are abstracted from it.
Disadvantages:
1. Layered architecture is complex in implementation
because one layer may use the services of the other
layer and therefore, the layer using the services of
another layer must be put below the other one.
2. In a layered architecture, if one layer wants to
communicate with another it has to send a request
which goes through all layers in between which
increases response time causing inefficiency in the
system.
3)Microkernal Architecture
In this architecture, the components like process
management, networking, file system interaction, and device
management are executed outside the kernel while memory
management and synchronization are executed inside the
kernel. The processes inside the kernel have relatively high
priority, the components possess high modularity hence even
if one or more components fail the operating system keeps
on working.
Advantages:
1. Microkernel operating systems are modular and hence,
disturbing one of the components will not affect the
other component.
2. The architecture is compact and isolated and hence
relatively efficient.
3. New featurers can be added without recompilation.
Disadvantages:
1.Implementing drivers as procedures require a function call
or context switch.
2.In microkernel architecture,provding services is costlier
than monolithic operating systems.
4)Hybrid Architecture
Hybrid architecture as the name suggests consists of a hybrid
of all the architectures explained so far and hence it has
properties of all of those architectures which makes it highly
useful in present-day operating systems.
The hybrid-architecture consists of three layers
Advantages:
1. Since it is a hybrid of other architectures it allows
various architectures to provide their services
respectively.
2. It is easy to manage because it uses a layered approach.
3. Number of layers is relatively lesser.
4. Security and protection are relatively improved.
Disadvantage:
1)Hybrid architecture of the operating system keeps certain
services in the kernel space while moving less critical services
to the user space.
|Conclusion
.We conclude that the operating system has various
architectures with which we can describe the functionality of
various components.