SlideShare a Scribd company logo
Operating System Structure
(UNIT-1)
6/25/2024 1
CH N V MALLIKHARJUNA RAO
Operating System Structure
1. Simple Structure.
2. Layered Approach.
3. Micro kernals.
4. Modules.
5. Hybrid Systems.
⚫
6/25/2024 2
CH N V MALLIKHARJUNA RAO
Operating System Structure
⚫ A system as large and complex as a complex as a modern
operating system must be engineered carefully if it is to
function properly and be modified easily.
⚫ A common approach is to partition the task into small
components ,or modules ,rather than have one monolithic
system.
⚫ Each of these modules should be a well defined portion of
the system ,which carefully defined inputs ,outputs and
functions.
6/25/2024 3
CH N V MALLIKHARJUNA RAO
Simple Structure
⚫ Many Operating Systems do not have well-defined
Structures , frequently ,such systems started as small
,simple ,and limited systems and then grew beyond their
scope. MS-DOS is an example of such a system.
⚫ It was originally designed and implemented by a few
people who had no idea that it would become so popular.
⚫ It was written to provide the most functionality in the least
space , so it was
6/25/2024 4
CH N V MALLIKHARJUNA RAO
Simple Structure
6/25/2024 5
CH N V MALLIKHARJUNA RAO
Simple Structure
⚫ UNIX – limited by hardware functionality, the original
UNIX operating system had limited structuring. The
UNIX OS consists of two separable parts.
⚫ Systems programs
⚫ The kernel
⚫ Consists of everything below the system-call interface and above
the physical hardware
⚫ Provides the file system, CPU scheduling, memory management,
and other operating-system functions; a large number of functions
for one level.
6/25/2024 6
CH N V MALLIKHARJUNA RAO
Traditional UNIX System Structure
6/25/2024 7
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ With proper hardware support, operating systems can be
broken into pieces that are smaller and more appropriate
than those allowed by the original MS-DOS and UNIX
systems.
⚫ The operating system can then retain much greater control
over the computer and over the applications that make use
of that computer. Implementers have more freedom in
changing the inner workings of the system and in creating
modular operating systems.
6/25/2024 8
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ An operating-system layer is an
implementation of an abstract object made up
of data and the operations that can manipulate
those data.
6/25/2024 9
• A system can be made modular in many ways.
One method is the layered approach, in which
the operating system is broken into a number of
layers (levels).
CH N V MALLIKHARJUNA RAO
Layered Operating System
6/25/2024 10
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ The main advantage of the layered approach is simplicity
of construction and debugging.
⚫ The layers are selected so that each uses functions
(operations) and services of only lower-level layers. This
approach simplifies debugging and system verification.
6/25/2024 11
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ The first layer can be debugged without any concern for the
rest of the system, because, by definition, it uses only the basic
hardware (which is assumed correct) to implement its
functions.
⚫ Once the first layer is debugged, its correct functioning can be
assumed while the second layer is debugged, and so on.
⚫ If an error is found during the debugging of a particular layer,
the error must be on that layer, because the layers below it are
already debugged. Thus, the design and implementation of the
system are simplified.
6/25/2024 12
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ Each layer is implemented only with operations provided
by lower-level layers. A layer does not need to know how
these operations are implemented; it needs to know only
what these operations do. Hence, each layer hides the
existence of certain data structures, operations, and
hardware from higher-level layers.
6/25/2024 13
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ A final problem with layered implementations is that they tend
to be less efficient than other types.
⚫ For instance, when a user program executes an I/O operation,
it executes a system call that is trapped to the I/O layer, which
calls the memory-management layer, which in turn calls the
CPU-scheduling layer, which is then passed to the hardware.
⚫ At each layer, the parameters may be modified, data may need
to be passed, and so on. Each layer adds overhead to the
system call. The net result is a system call that takes longer
than does one on a non layered system.
6/25/2024 14
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ The operating system is divided into a number of layers
(levels), each built on top of lower layers. The bottom
layer (layer 0), is the hardware; the highest (layer N) is the
user interface.
⚫ With modularity, layers are selected such that each uses
functions (operations) and services of only lower-level
layers.
6/25/2024 15
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ The major difficulty with the layered approach involves
appropriately defining the various layers. Because a layer
can use only lower-level layers, careful planning is
necessary.
⚫ For example, the device driver for the backing store (disk
space used by virtual-memory algorithms) must be at a
lower level than the memory-management routines,
because memory management requires the ability to use
the backing store.
6/25/2024 16
CH N V MALLIKHARJUNA RAO
Layered Approach
⚫ A layered design was first used in the operating system.
Its six layers are as follows:
6/25/2024 17
CH N V MALLIKHARJUNA RAO
Layered Approach
6/25/2024 18
CH N V MALLIKHARJUNA RAO
Microkernals
⚫ This method structures the operating system by removing all
nonessential components from the kernel and implementing
them as system and user-level programs. The result is a smaller
kernel.
⚫ The main function of the microkernel is to provide
communication between the client program and the various
services that are also running in user space. Communication is
provided through message passing.
⚫ Kernel is system software which is part of operating
system. Operating System provides interface b/w user and
hardware. kernel provides interface b/w application and
hardware. It also provides protection and security.
6/25/2024 19
CH N V MALLIKHARJUNA RAO
Microkernals
⚫ In the mid-1980s, researchers at Carnegie Mellon
University developed an operating system called Mach
that modularized the kernel using the microkernel
approach.
6/25/2024 20
CH N V MALLIKHARJUNA RAO
Architecture of a typical microkernel.
6/25/2024 21
CH N V MALLIKHARJUNA RAO
Methods of communication
⚫ Simplex (One way of Communication) –TV ,RADIO.
⚫ Half Duplex(One way at a time)- Walkie -Talkie
⚫ Full Duplex(two way Communication) –TELEPHONE
⚫ COMMUNICATION IS OF TWO TYPES
⚫ GUIDED
⚫ UNGUIDED
6/25/2024 22
CH N V MALLIKHARJUNA RAO
Methods of communication
⚫ Simplex (One way of Communication) –TV ,RADIO.
⚫ Half Duplex(One way at a time)- Walkie -Talkie
⚫ Full Duplex(two way Communication) –TELEPHONE
⚫ COMMUNICATION IS OF TWO TYPES
⚫ GUIDED
⚫ UNGUIDED
6/25/2024 23
CH N V MALLIKHARJUNA RAO
Microkernals
1. One benefit of the microkernel approach is that it makes
extending the operating system easier.
2. All new services are added to user space and
consequently do not require modification of the kernel.
3. When the kernel does have to be modified, the changes
tend to be fewer, because the microkernel is a smaller
kernel.
6/25/2024 24
CH N V MALLIKHARJUNA RAO
Microkernals
⚫ The microkernel also provides more security and
reliability, since most services are running as user—rather
than kernel— processes. If a service fails, the rest of the
operating system remains untouched
6/25/2024 25
CH N V MALLIKHARJUNA RAO
Architecture of Micro kernel
6/25/2024 26
CH N V MALLIKHARJUNA RAO
Modules
⚫ Here, the kernel has a set of core components and links in
additional services via modules, either at boot time or
during run time. This type of design is common in modern
implementations of UNIX, such as Solaris, Linux, and
Mac OS X, as well as Windows.
⚫ Linux also uses loadable kernel modules, primarily for
supporting device drivers and file systems.
6/25/2024 27
CH N V MALLIKHARJUNA RAO
Solaries Loadable Modules
6/25/2024 28
CH N V MALLIKHARJUNA RAO
Micro kernals
⚫ The Solaris operating system structure, shown in the
above Figure is organized around a core kernel with seven
types of loadable kernel modules:
1. Scheduling classes
2. File systems
3. Loadable system calls
4. Executable formats
5. STREAMS modules
6. Miscellaneous
7. Device and bus drivers
6/25/2024 29
CH N V MALLIKHARJUNA RAO
Hybrid Systems
⚫ In practice, very few operating systems adopt a single,
strictly defined structure. Instead, they combine different
structures, resulting in hybrid systems that address
performance, security, and usability issues. For example,
both Linux and Solaris are monolithic, because having the
operating system in a single address space provides very
efficient performance. However, they are also modular, so
that new functionality can be dynamically added to the
kernel.
6/25/2024 30
CH N V MALLIKHARJUNA RAO
Hybrid Systems
⚫ Windows is largely monolithic as well, but it retains some
behavior typical of microkernel systems, including
providing support for separate subsystems that run as
user-mode processes. Windows systems also provide
support for dynamically loadable kernel modules.
6/25/2024 31
CH N V MALLIKHARJUNA RAO
Hybrid Systems
⚫ The three hybrid systems: the Apple Mac OS X operating
system and the two most prominent mobile operating
systems—iOS and Android.
⚫ Mac OS :
1. The Apple Mac OS X operating system uses a hybrid
structure.
2. The top layers include the Aqua user interface and a set
of application environments and services.
3. the Cocoa environment specifies an API for the
Objective-C programming language, which is used for
writing Mac OS X applications.
6/25/2024 32
CH N V MALLIKHARJUNA RAO
Hybrid Systems( Mac OS )
⚫ Below these layers is the kernel environment, which
consists primarily of the Mach microkernel and the BSD
UNIX kernel.
⚫ Mach provides memory management; support for remote
procedure calls (RPCs) and inter -process communication
(IPC) facilities, including message passing; and thread
scheduling.
⚫ The BSD component provides a BSD command-line
interface, support for networking and file systems.
6/25/2024 33
CH N V MALLIKHARJUNA RAO
Hybrid Systems( Mac OS )
⚫ Below these layers is the kernel environment, which
consists primarily of the Mach microkernel and the BSD
UNIX kernel.
⚫ Mach provides memory management; support for remote
procedure calls (RPCs) and inter -process communication
(IPC) facilities, including message passing; and thread
scheduling.
⚫ The BSD component provides a BSD command-line
interface, support for networking and file systems.
6/25/2024 34
CH N V MALLIKHARJUNA RAO
Hybrid Systems -iOS
1. iOS is a mobile operating system designed by Apple to
run its smart phone, the iPhone, as well as its tablet
computer, the iPad.
2. iOS is structured on the Mac OS X operating system,
with added functionality pertinent to mobile devices, but
does not directly run Mac OS X applications
6/25/2024 35
CH N V MALLIKHARJUNA RAO
Hybrid Systems- Android
1. The Android operating system was designed by the
Open Handset Alliance (led primarily by Google) and
was developed for Android smart phones and tablet
computers.
2. Whereas iOS is designed to run on Apple mobile
devices and is close-sourced, Android runs on a variety
of mobile platforms and is open-sourced, partly
explaining its rapid rise in popularity.
3. Android is similar to iOS in that it is a layered stack of
software that provides a rich set of frameworks for
developing mobile applications.
6/25/2024 36
CH N V MALLIKHARJUNA RAO
The Mac OS X structure
6/25/2024 37
CH N V MALLIKHARJUNA RAO
Architecture of Apple’s iOS.
6/25/2024 38
CH N V MALLIKHARJUNA RAO
Architecture of Google’s Android
6/25/2024 39
CH N V MALLIKHARJUNA RAO
Thank You
6/25/2024 40
CH N V MALLIKHARJUNA RAO

More Related Content

PDF
Introduction to Operating system for BCA syllabus
PPT
Arm processor
PPT
0 introduction to computer architecture
PPT
JCL MAINFRAMES
PPTX
Presentation on flynn’s classification
PDF
PDF
Mainframe IPL Process.pdf
Introduction to Operating system for BCA syllabus
Arm processor
0 introduction to computer architecture
JCL MAINFRAMES
Presentation on flynn’s classification
Mainframe IPL Process.pdf

What's hot (20)

PPTX
Chapter-6 Relational Algebra
PDF
RTOS - Real Time Operating Systems
PPTX
PDF
Ch8 (1) morris mano
PPTX
The data mining query language
PPT
Assembly Language Basics
PDF
z/OS V2R2 Communications Server Overview
PPTX
Memory Organization
PPTX
RISC (reduced instruction set computer)
PDF
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
PPT
Single instruction multiple data
PDF
Unit 5 Advanced Computer Architecture
PDF
Data Representation of Strings
PPTX
Presentation on risc pipeline
PPT
Arm instruction set
PPTX
Multiprocessor
PPTX
Data flow architecture
PDF
Operating systems system structures
PDF
Introduction to OpenMP
Chapter-6 Relational Algebra
RTOS - Real Time Operating Systems
Ch8 (1) morris mano
The data mining query language
Assembly Language Basics
z/OS V2R2 Communications Server Overview
Memory Organization
RISC (reduced instruction set computer)
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
Single instruction multiple data
Unit 5 Advanced Computer Architecture
Data Representation of Strings
Presentation on risc pipeline
Arm instruction set
Multiprocessor
Data flow architecture
Operating systems system structures
Introduction to OpenMP
Ad

Similar to system structure in operating systems.pdf (20)

PDF
Parallex - The Supercomputer
PDF
LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING
PDF
Chapter1 introductiontoscalingnetworks
PPTX
Distributed Operating System
PDF
Chapter 1 introduction to scaling networks
PDF
Cluster computing report
PDF
Rha cluster suite wppdf
PDF
OS-UNIT-1-Part-2.pdf
PDF
Pivotal gem fire_wp_hardest-problems-data-management_053013
 
PDF
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
PPTX
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
PPTX
OS-UNIT-1-Part-1.pptx
PDF
master_seminar
PPTX
SDN Multi-Controller Domain.pptx
PDF
If we add layers to a microkernel we can assign servers to different.pdf
PPT
Chapte2:structure and system call of OS.ppt
PPTX
Defense Presentation Julian Alejandro Torres Ruiz.pptx
PPTX
PayPal Resilient System Design
Parallex - The Supercomputer
LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING
Chapter1 introductiontoscalingnetworks
Distributed Operating System
Chapter 1 introduction to scaling networks
Cluster computing report
Rha cluster suite wppdf
OS-UNIT-1-Part-2.pdf
Pivotal gem fire_wp_hardest-problems-data-management_053013
 
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
OS-UNIT-1-Part-1.pptx
master_seminar
SDN Multi-Controller Domain.pptx
If we add layers to a microkernel we can assign servers to different.pdf
Chapte2:structure and system call of OS.ppt
Defense Presentation Julian Alejandro Torres Ruiz.pptx
PayPal Resilient System Design
Ad

Recently uploaded (20)

PPTX
web development for engineering and engineering
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
573137875-Attendance-Management-System-original
PDF
composite construction of structures.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
additive manufacturing of ss316l using mig welding
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
web development for engineering and engineering
Internet of Things (IOT) - A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Foundation to blockchain - A guide to Blockchain Tech
573137875-Attendance-Management-System-original
composite construction of structures.pdf
UNIT 4 Total Quality Management .pptx
OOP with Java - Java Introduction (Basics)
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Automation-in-Manufacturing-Chapter-Introduction.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
additive manufacturing of ss316l using mig welding
bas. eng. economics group 4 presentation 1.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...

system structure in operating systems.pdf

  • 2. Operating System Structure 1. Simple Structure. 2. Layered Approach. 3. Micro kernals. 4. Modules. 5. Hybrid Systems. ⚫ 6/25/2024 2 CH N V MALLIKHARJUNA RAO
  • 3. Operating System Structure ⚫ A system as large and complex as a complex as a modern operating system must be engineered carefully if it is to function properly and be modified easily. ⚫ A common approach is to partition the task into small components ,or modules ,rather than have one monolithic system. ⚫ Each of these modules should be a well defined portion of the system ,which carefully defined inputs ,outputs and functions. 6/25/2024 3 CH N V MALLIKHARJUNA RAO
  • 4. Simple Structure ⚫ Many Operating Systems do not have well-defined Structures , frequently ,such systems started as small ,simple ,and limited systems and then grew beyond their scope. MS-DOS is an example of such a system. ⚫ It was originally designed and implemented by a few people who had no idea that it would become so popular. ⚫ It was written to provide the most functionality in the least space , so it was 6/25/2024 4 CH N V MALLIKHARJUNA RAO
  • 5. Simple Structure 6/25/2024 5 CH N V MALLIKHARJUNA RAO
  • 6. Simple Structure ⚫ UNIX – limited by hardware functionality, the original UNIX operating system had limited structuring. The UNIX OS consists of two separable parts. ⚫ Systems programs ⚫ The kernel ⚫ Consists of everything below the system-call interface and above the physical hardware ⚫ Provides the file system, CPU scheduling, memory management, and other operating-system functions; a large number of functions for one level. 6/25/2024 6 CH N V MALLIKHARJUNA RAO
  • 7. Traditional UNIX System Structure 6/25/2024 7 CH N V MALLIKHARJUNA RAO
  • 8. Layered Approach ⚫ With proper hardware support, operating systems can be broken into pieces that are smaller and more appropriate than those allowed by the original MS-DOS and UNIX systems. ⚫ The operating system can then retain much greater control over the computer and over the applications that make use of that computer. Implementers have more freedom in changing the inner workings of the system and in creating modular operating systems. 6/25/2024 8 CH N V MALLIKHARJUNA RAO
  • 9. Layered Approach ⚫ An operating-system layer is an implementation of an abstract object made up of data and the operations that can manipulate those data. 6/25/2024 9 • A system can be made modular in many ways. One method is the layered approach, in which the operating system is broken into a number of layers (levels). CH N V MALLIKHARJUNA RAO
  • 10. Layered Operating System 6/25/2024 10 CH N V MALLIKHARJUNA RAO
  • 11. Layered Approach ⚫ The main advantage of the layered approach is simplicity of construction and debugging. ⚫ The layers are selected so that each uses functions (operations) and services of only lower-level layers. This approach simplifies debugging and system verification. 6/25/2024 11 CH N V MALLIKHARJUNA RAO
  • 12. Layered Approach ⚫ The first layer can be debugged without any concern for the rest of the system, because, by definition, it uses only the basic hardware (which is assumed correct) to implement its functions. ⚫ Once the first layer is debugged, its correct functioning can be assumed while the second layer is debugged, and so on. ⚫ If an error is found during the debugging of a particular layer, the error must be on that layer, because the layers below it are already debugged. Thus, the design and implementation of the system are simplified. 6/25/2024 12 CH N V MALLIKHARJUNA RAO
  • 13. Layered Approach ⚫ Each layer is implemented only with operations provided by lower-level layers. A layer does not need to know how these operations are implemented; it needs to know only what these operations do. Hence, each layer hides the existence of certain data structures, operations, and hardware from higher-level layers. 6/25/2024 13 CH N V MALLIKHARJUNA RAO
  • 14. Layered Approach ⚫ A final problem with layered implementations is that they tend to be less efficient than other types. ⚫ For instance, when a user program executes an I/O operation, it executes a system call that is trapped to the I/O layer, which calls the memory-management layer, which in turn calls the CPU-scheduling layer, which is then passed to the hardware. ⚫ At each layer, the parameters may be modified, data may need to be passed, and so on. Each layer adds overhead to the system call. The net result is a system call that takes longer than does one on a non layered system. 6/25/2024 14 CH N V MALLIKHARJUNA RAO
  • 15. Layered Approach ⚫ The operating system is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface. ⚫ With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers. 6/25/2024 15 CH N V MALLIKHARJUNA RAO
  • 16. Layered Approach ⚫ The major difficulty with the layered approach involves appropriately defining the various layers. Because a layer can use only lower-level layers, careful planning is necessary. ⚫ For example, the device driver for the backing store (disk space used by virtual-memory algorithms) must be at a lower level than the memory-management routines, because memory management requires the ability to use the backing store. 6/25/2024 16 CH N V MALLIKHARJUNA RAO
  • 17. Layered Approach ⚫ A layered design was first used in the operating system. Its six layers are as follows: 6/25/2024 17 CH N V MALLIKHARJUNA RAO
  • 18. Layered Approach 6/25/2024 18 CH N V MALLIKHARJUNA RAO
  • 19. Microkernals ⚫ This method structures the operating system by removing all nonessential components from the kernel and implementing them as system and user-level programs. The result is a smaller kernel. ⚫ The main function of the microkernel is to provide communication between the client program and the various services that are also running in user space. Communication is provided through message passing. ⚫ Kernel is system software which is part of operating system. Operating System provides interface b/w user and hardware. kernel provides interface b/w application and hardware. It also provides protection and security. 6/25/2024 19 CH N V MALLIKHARJUNA RAO
  • 20. Microkernals ⚫ In the mid-1980s, researchers at Carnegie Mellon University developed an operating system called Mach that modularized the kernel using the microkernel approach. 6/25/2024 20 CH N V MALLIKHARJUNA RAO
  • 21. Architecture of a typical microkernel. 6/25/2024 21 CH N V MALLIKHARJUNA RAO
  • 22. Methods of communication ⚫ Simplex (One way of Communication) –TV ,RADIO. ⚫ Half Duplex(One way at a time)- Walkie -Talkie ⚫ Full Duplex(two way Communication) –TELEPHONE ⚫ COMMUNICATION IS OF TWO TYPES ⚫ GUIDED ⚫ UNGUIDED 6/25/2024 22 CH N V MALLIKHARJUNA RAO
  • 23. Methods of communication ⚫ Simplex (One way of Communication) –TV ,RADIO. ⚫ Half Duplex(One way at a time)- Walkie -Talkie ⚫ Full Duplex(two way Communication) –TELEPHONE ⚫ COMMUNICATION IS OF TWO TYPES ⚫ GUIDED ⚫ UNGUIDED 6/25/2024 23 CH N V MALLIKHARJUNA RAO
  • 24. Microkernals 1. One benefit of the microkernel approach is that it makes extending the operating system easier. 2. All new services are added to user space and consequently do not require modification of the kernel. 3. When the kernel does have to be modified, the changes tend to be fewer, because the microkernel is a smaller kernel. 6/25/2024 24 CH N V MALLIKHARJUNA RAO
  • 25. Microkernals ⚫ The microkernel also provides more security and reliability, since most services are running as user—rather than kernel— processes. If a service fails, the rest of the operating system remains untouched 6/25/2024 25 CH N V MALLIKHARJUNA RAO
  • 26. Architecture of Micro kernel 6/25/2024 26 CH N V MALLIKHARJUNA RAO
  • 27. Modules ⚫ Here, the kernel has a set of core components and links in additional services via modules, either at boot time or during run time. This type of design is common in modern implementations of UNIX, such as Solaris, Linux, and Mac OS X, as well as Windows. ⚫ Linux also uses loadable kernel modules, primarily for supporting device drivers and file systems. 6/25/2024 27 CH N V MALLIKHARJUNA RAO
  • 28. Solaries Loadable Modules 6/25/2024 28 CH N V MALLIKHARJUNA RAO
  • 29. Micro kernals ⚫ The Solaris operating system structure, shown in the above Figure is organized around a core kernel with seven types of loadable kernel modules: 1. Scheduling classes 2. File systems 3. Loadable system calls 4. Executable formats 5. STREAMS modules 6. Miscellaneous 7. Device and bus drivers 6/25/2024 29 CH N V MALLIKHARJUNA RAO
  • 30. Hybrid Systems ⚫ In practice, very few operating systems adopt a single, strictly defined structure. Instead, they combine different structures, resulting in hybrid systems that address performance, security, and usability issues. For example, both Linux and Solaris are monolithic, because having the operating system in a single address space provides very efficient performance. However, they are also modular, so that new functionality can be dynamically added to the kernel. 6/25/2024 30 CH N V MALLIKHARJUNA RAO
  • 31. Hybrid Systems ⚫ Windows is largely monolithic as well, but it retains some behavior typical of microkernel systems, including providing support for separate subsystems that run as user-mode processes. Windows systems also provide support for dynamically loadable kernel modules. 6/25/2024 31 CH N V MALLIKHARJUNA RAO
  • 32. Hybrid Systems ⚫ The three hybrid systems: the Apple Mac OS X operating system and the two most prominent mobile operating systems—iOS and Android. ⚫ Mac OS : 1. The Apple Mac OS X operating system uses a hybrid structure. 2. The top layers include the Aqua user interface and a set of application environments and services. 3. the Cocoa environment specifies an API for the Objective-C programming language, which is used for writing Mac OS X applications. 6/25/2024 32 CH N V MALLIKHARJUNA RAO
  • 33. Hybrid Systems( Mac OS ) ⚫ Below these layers is the kernel environment, which consists primarily of the Mach microkernel and the BSD UNIX kernel. ⚫ Mach provides memory management; support for remote procedure calls (RPCs) and inter -process communication (IPC) facilities, including message passing; and thread scheduling. ⚫ The BSD component provides a BSD command-line interface, support for networking and file systems. 6/25/2024 33 CH N V MALLIKHARJUNA RAO
  • 34. Hybrid Systems( Mac OS ) ⚫ Below these layers is the kernel environment, which consists primarily of the Mach microkernel and the BSD UNIX kernel. ⚫ Mach provides memory management; support for remote procedure calls (RPCs) and inter -process communication (IPC) facilities, including message passing; and thread scheduling. ⚫ The BSD component provides a BSD command-line interface, support for networking and file systems. 6/25/2024 34 CH N V MALLIKHARJUNA RAO
  • 35. Hybrid Systems -iOS 1. iOS is a mobile operating system designed by Apple to run its smart phone, the iPhone, as well as its tablet computer, the iPad. 2. iOS is structured on the Mac OS X operating system, with added functionality pertinent to mobile devices, but does not directly run Mac OS X applications 6/25/2024 35 CH N V MALLIKHARJUNA RAO
  • 36. Hybrid Systems- Android 1. The Android operating system was designed by the Open Handset Alliance (led primarily by Google) and was developed for Android smart phones and tablet computers. 2. Whereas iOS is designed to run on Apple mobile devices and is close-sourced, Android runs on a variety of mobile platforms and is open-sourced, partly explaining its rapid rise in popularity. 3. Android is similar to iOS in that it is a layered stack of software that provides a rich set of frameworks for developing mobile applications. 6/25/2024 36 CH N V MALLIKHARJUNA RAO
  • 37. The Mac OS X structure 6/25/2024 37 CH N V MALLIKHARJUNA RAO
  • 38. Architecture of Apple’s iOS. 6/25/2024 38 CH N V MALLIKHARJUNA RAO
  • 39. Architecture of Google’s Android 6/25/2024 39 CH N V MALLIKHARJUNA RAO
  • 40. Thank You 6/25/2024 40 CH N V MALLIKHARJUNA RAO