SlideShare a Scribd company logo
OPERATING SYSTEM:
COCSC301/CACSC301
OPERATING SYSTEM ARCHITECTURE
S
❑ An operating system is a program that acts as an interface between a user of a computer and the computer resources. The purpose of an
operating system is to provide an environment in which a user may execute programs.
❑ Hardware: The hardware consists of the memory, CPU, arithmetic-logic unit, various bulk storage devices, I/O, peripheral devices and
other physical devices.
OPERATING SYSTEM ARCHITECTURE
S
❑ Kernel:
❑ In computing, the kernel is the central component of most computer operating systems;
❑ it is a bridge between applications and the actual data processing done at the hardware level.
❑ It typically makes these facilities available to application processes through inter-process communication mechanisms and system
calls.
❑ Shell:
❑ A shell is a piece of software that provides an interface for users to an operating system which provides access to the services of a kernel.
❑ The name shell originates from shells being an outer layer of interface between the user and the innards of the operating system (the
kernel)
❑ Operating system shells generally fall into one of two categories: command-line and graphical
MONOLITHIC STRUCTURE OF OPERATING SYSTEM
❑ The monolithic operating system is a very basic operating system in which file management, memory
management, device management, and process management are directly controlled within the kernel.
❑ Operating systems that use monolithic architecture were first time used in the 1970s.
❑ The monolithic operating system is also known as the monolithic kernel.
❑ A monolithic kernel is an operating system architecture where the entire operating system is working in
kernel space.
S
MONOLITHIC SYSTEM ARCHITECTURE
❑ A monolithic design of the operating system architecture makes no special accommodation for the special
nature of the operating system.
❑ Although the design follows the separation of concerns, no attempt is made to restrict the privileges
granted to the individual parts of the operating system.
❑ The entire operating system executes with maximum privileges. The communication overhead inside the
monolithic operating system is the same as that of any other software, considered relatively low.
S
ADVANTAGES OF MONOLITHIC KERNEL
❑ The execution of the monolithic kernel is quite fast as the services such as memory management, file
management, process scheduling etc. are implemented under the same address space.
❑ A process runs completely in a single address space in the monolithic kernel.
❑ The monolithic kernel is a static single binary file.
S
DISADVANTAGES OF MONOLITHIC KERNEL
❑ If any service fails in the monolithic kernel, it leads to the failure of the entire system.
❑ To add any new service, the entire operating system needs to be modified by the user.
LAYERED OS ARCHITECTURE
❑ The modularity of layered operating systems allows the implementation of each layer to be modified
without requiring any modification to adjacent layers.
❑ It was created to improve the pre-existing structures like the Monolithic structure ( UNIX ) and the
Simple structure ( MS-DOS ).
❑ Example – The Windows NT operating system uses this layered approach as a part of it.
❑ The outermost layer must be the User Interface layer.
❑ The innermost layer must be the Hardware layer.
❑ A particular layer can access all the layers present below it but it cannot access the layers present above
it. That is layer n-1 can access all the layers from n-2 to 0 but it cannot access the nth layer.
S
LAYERED OS ARCHITECTURE
S
ADVANTAGES: LAYERED OS ARCHITECTURE
❑ Modularity : This design promotes modularity as each layer performs only the tasks it is scheduled to
perform.
❑ Easy debugging : As the layers are discrete so it is very easy to debug. Suppose an error occurs in the CPU
scheduling layer, so the developer can only search that particular layer to debug, unlike the Monolithic
system in which all the services are present together.
❑ Easy update : A modification made in a particular layer will not affect the other layers.
❑ No direct access to hardware : The hardware layer is the innermost layer present in the design. So a user
can use the services of hardware but cannot directly modify or access it, unlike the Simple system in which
the user had direct access to the hardware.
❑ Abstraction : Every layer is concerned with its own functions. So the functions and implementations of the
S
DISADVANTAGE: LAYERED OS ARCHITECTURE
❑ Complex and careful implementation: As a layer can access the services of the layers below it, so the
arrangement of the layers must be done carefully. For example, the backing storage layer uses the services
of the memory management layer. So it must be kept below the memory management layer. Thus with great
modularity comes complex implementation.
❑ Slower in execution: If a layer wants to interact with another layer, it requests to travel through all the
layers present between the two interacting layers. Thus it increases response time, unlike the Monolithic
system, which is faster than this. Thus an increase in the number of layers may lead to a very inefficient
design.
❑ Functionality: It is not always possible to divide the functionalities. Many times, they are interrelated and
can't be separated.
S
MICROKERNEL OS ARCHITECTURE
❑ A microkernel architecture includes only a very small number of services within the kernel in an attempt
to keep it small and scalable.
❑ The services typically include low-level memory management, inter-process communication and basic
process synchronisation to enable processes to cooperate.
❑ In microkernel designs, most operating system components, such as process management and device
management, execute outside the kernel with a lower level of system access.
❑ Microkernels are highly modular, making them extensible, portable and scalable. Operating system
components outside the kernel can fail without causing the operating system to fall over..
S
MICROKERNEL OS ARCHITECTURE
S
ADVANTAGES: MICROKERNEL OS ARCHITECTURE
❑ Microkernels are secure since only those parts are added, which might disturb the system's functionality.
❑ Microkernels are modular, and the various modules may be swapped, reloaded, and modified without
affecting the kernel.
❑ Microkernel architecture is compact and isolated, so it may perform better.
❑ The system expansion is more accessible, so it may be introduced to the system application without
disrupting the kernel.
❑ When compared to monolithic systems, microkernels have fewer system crashes. Furthermore, due to the
modular structure of microkernels, any crashes that do occur are simply handled.
❑ The microkernel interface helps in enforcing a more modular system structure.
❑ Server failure is treated the same as any other user program failure.
S
DISADVANTAGES: MICROKERNEL OS ARCHITECTURE
❑ When the drivers are implemented as procedures, a context switch or a function call is needed.
❑ In a microkernel system, providing services are more costly than in a traditional monolithic system.
❑ The performance of a microkernel system might be indifferent and cause issues.
S
LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING
LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING
VIRTUAL MACHINES
❑ A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating
system kernel as though they were all hardware.
❑ A virtual machine provides an interface identical to the underlying bare hardware.
❑ The operating system creates the illusion of multiple processes, each executing on its own processor with its
own (virtual) memory
❑ The resources of the physical computer are shared to create the virtual machines.
✦ CPU scheduling can create the appearance that users have their own processor.
✦ Spooling and a file system can provide virtual card readers and virtual line printers.
✦ A normal user time-sharing terminal serves as the virtual machine operator’s console.
S
VIRTUAL MACHINES
S
ADVANTAGES/DISADVANTAGES OFVIRTUAL
MACHINES
• The virtual-machine concept provides complete protection of system resources since each virtual machine is
isolated from all other virtual machines. This isolation, however, permits no direct sharing of resources.
• A virtual-machine system is a perfect vehicle for operating-systems research and development. System
development is done on the virtual machine, instead of on a physical machine and so does not disrupt normal
system operation.
• The virtual machine concept is difficult to implement due to the effort required to provide an exact duplicate to
the underlying machine.
S
EXOKERNEL
• Exokernel is an operating system developed at the MIT that provides application-level management of
hardware resources.
• This architecture is designed to separate resource protection from management to facilitate application-specific
customization.
S
EXOKERNEL
• Exokernel is an operating system developed at the MIT that provides application-level management of
hardware resources.
• This architecture is designed to separate resource protection from management to facilitate application-specific
customization.
S
PRINCIPLES OF EXOKERNELS
1. Separate protection and management : Resource management is restricted to functions necessary for protection.
2. Expose allocation : Applications allocate resources explicitly.
3. Expose name : Exokernels use physical names wherever possible.
4. Expose revocation : Exokernels let applications to choose which instance of a resource to give up.
5. Expose information : Exokernels expose all system information and collect data that applications cannot easily
derive locally.
S
ADVANTAGES OF EXOKERNELS
1. Significant performance increase.
2. Applications can make more efficient and intelligent use of hardware resources by being aware of resource
availability, revocation and allocation.
3. Ease development and testing of new operating system ideas. (New scheduling techniques, memory
management methods, etc)
S
DISADVANTAGES OF EXOKERNELS
1. Complexity in design of exokernel interfaces.
2. Less consistency.
THANKYOU
?

More Related Content

PPT
Os Ds Arch
PPTX
Operating system architecture
PPTX
Advanced Operating Systems- Multiprocessor OS
PPTX
Lecture 2.pptx ca field having brief updates on cs
PPT
2. microkernel new
PPTX
ITT Project Information Technology Basic
PPTX
13-kernels operating system introduction
PPTX
Operating system lect3 Autosaved.pptx
Os Ds Arch
Operating system architecture
Advanced Operating Systems- Multiprocessor OS
Lecture 2.pptx ca field having brief updates on cs
2. microkernel new
ITT Project Information Technology Basic
13-kernels operating system introduction
Operating system lect3 Autosaved.pptx

Similar to LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING (20)

PDF
Aayu Tiwari operating system presentation_240406_095037.pdf
PDF
OS-UNIT-1-Part-2.pdf
PPTX
System structure
PPTX
notes on operating systems OPERATING SYSTEMS 2.pptx
PPTX
Architecture of operating system
PDF
os_1.pdf
PPTX
Presentation . ppt.pptxpptxpptxpptxpptxll
PPTX
chapter 1 introduction to operating system
PPTX
OS Architectures and Different Kernel Approaches
PPTX
OS Structures.pptx1212121212121212121211
DOCX
In a monolithic kerne1
DOCX
In a monolithic kerne1
PPTX
Monolithic kernel vs. Microkernel
PPTX
Kernel (computing)
PPTX
Kernel (computing)
PPTX
StructuringMethod study of information and communication technoloy.pptx
PPTX
Kernels and its types
PPTX
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
PPT
Chapte2:structure and system call of OS.ppt
PPTX
Microkernel
Aayu Tiwari operating system presentation_240406_095037.pdf
OS-UNIT-1-Part-2.pdf
System structure
notes on operating systems OPERATING SYSTEMS 2.pptx
Architecture of operating system
os_1.pdf
Presentation . ppt.pptxpptxpptxpptxpptxll
chapter 1 introduction to operating system
OS Architectures and Different Kernel Approaches
OS Structures.pptx1212121212121212121211
In a monolithic kerne1
In a monolithic kerne1
Monolithic kernel vs. Microkernel
Kernel (computing)
Kernel (computing)
StructuringMethod study of information and communication technoloy.pptx
Kernels and its types
Riya Bepari_34700122020_Operating System_PCC-CS502.pptx
Chapte2:structure and system call of OS.ppt
Microkernel
Ad

Recently uploaded (20)

PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Sustainable Sites - Green Building Construction
DOCX
573137875-Attendance-Management-System-original
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PPT on Performance Review to get promotions
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
introduction to datamining and warehousing
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Mechanical Engineering MATERIALS Selection
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Construction Project Organization Group 2.pptx
bas. eng. economics group 4 presentation 1.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Sustainable Sites - Green Building Construction
573137875-Attendance-Management-System-original
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Automation-in-Manufacturing-Chapter-Introduction.pdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT on Performance Review to get promotions
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
introduction to datamining and warehousing
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mechanical Engineering MATERIALS Selection
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
additive manufacturing of ss316l using mig welding
Construction Project Organization Group 2.pptx
Ad

LECTURE 3 OPERATING SYSTEM PPT FOR ENGINEERING

  • 2. OPERATING SYSTEM ARCHITECTURE S ❑ An operating system is a program that acts as an interface between a user of a computer and the computer resources. The purpose of an operating system is to provide an environment in which a user may execute programs. ❑ Hardware: The hardware consists of the memory, CPU, arithmetic-logic unit, various bulk storage devices, I/O, peripheral devices and other physical devices.
  • 3. OPERATING SYSTEM ARCHITECTURE S ❑ Kernel: ❑ In computing, the kernel is the central component of most computer operating systems; ❑ it is a bridge between applications and the actual data processing done at the hardware level. ❑ It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls. ❑ Shell: ❑ A shell is a piece of software that provides an interface for users to an operating system which provides access to the services of a kernel. ❑ The name shell originates from shells being an outer layer of interface between the user and the innards of the operating system (the kernel) ❑ Operating system shells generally fall into one of two categories: command-line and graphical
  • 4. MONOLITHIC STRUCTURE OF OPERATING SYSTEM ❑ The monolithic operating system is a very basic operating system in which file management, memory management, device management, and process management are directly controlled within the kernel. ❑ Operating systems that use monolithic architecture were first time used in the 1970s. ❑ The monolithic operating system is also known as the monolithic kernel. ❑ A monolithic kernel is an operating system architecture where the entire operating system is working in kernel space. S
  • 5. MONOLITHIC SYSTEM ARCHITECTURE ❑ A monolithic design of the operating system architecture makes no special accommodation for the special nature of the operating system. ❑ Although the design follows the separation of concerns, no attempt is made to restrict the privileges granted to the individual parts of the operating system. ❑ The entire operating system executes with maximum privileges. The communication overhead inside the monolithic operating system is the same as that of any other software, considered relatively low. S
  • 6. ADVANTAGES OF MONOLITHIC KERNEL ❑ The execution of the monolithic kernel is quite fast as the services such as memory management, file management, process scheduling etc. are implemented under the same address space. ❑ A process runs completely in a single address space in the monolithic kernel. ❑ The monolithic kernel is a static single binary file. S DISADVANTAGES OF MONOLITHIC KERNEL ❑ If any service fails in the monolithic kernel, it leads to the failure of the entire system. ❑ To add any new service, the entire operating system needs to be modified by the user.
  • 7. LAYERED OS ARCHITECTURE ❑ The modularity of layered operating systems allows the implementation of each layer to be modified without requiring any modification to adjacent layers. ❑ It was created to improve the pre-existing structures like the Monolithic structure ( UNIX ) and the Simple structure ( MS-DOS ). ❑ Example – The Windows NT operating system uses this layered approach as a part of it. ❑ The outermost layer must be the User Interface layer. ❑ The innermost layer must be the Hardware layer. ❑ A particular layer can access all the layers present below it but it cannot access the layers present above it. That is layer n-1 can access all the layers from n-2 to 0 but it cannot access the nth layer. S
  • 9. ADVANTAGES: LAYERED OS ARCHITECTURE ❑ Modularity : This design promotes modularity as each layer performs only the tasks it is scheduled to perform. ❑ Easy debugging : As the layers are discrete so it is very easy to debug. Suppose an error occurs in the CPU scheduling layer, so the developer can only search that particular layer to debug, unlike the Monolithic system in which all the services are present together. ❑ Easy update : A modification made in a particular layer will not affect the other layers. ❑ No direct access to hardware : The hardware layer is the innermost layer present in the design. So a user can use the services of hardware but cannot directly modify or access it, unlike the Simple system in which the user had direct access to the hardware. ❑ Abstraction : Every layer is concerned with its own functions. So the functions and implementations of the S
  • 10. DISADVANTAGE: LAYERED OS ARCHITECTURE ❑ Complex and careful implementation: As a layer can access the services of the layers below it, so the arrangement of the layers must be done carefully. For example, the backing storage layer uses the services of the memory management layer. So it must be kept below the memory management layer. Thus with great modularity comes complex implementation. ❑ Slower in execution: If a layer wants to interact with another layer, it requests to travel through all the layers present between the two interacting layers. Thus it increases response time, unlike the Monolithic system, which is faster than this. Thus an increase in the number of layers may lead to a very inefficient design. ❑ Functionality: It is not always possible to divide the functionalities. Many times, they are interrelated and can't be separated. S
  • 11. MICROKERNEL OS ARCHITECTURE ❑ A microkernel architecture includes only a very small number of services within the kernel in an attempt to keep it small and scalable. ❑ The services typically include low-level memory management, inter-process communication and basic process synchronisation to enable processes to cooperate. ❑ In microkernel designs, most operating system components, such as process management and device management, execute outside the kernel with a lower level of system access. ❑ Microkernels are highly modular, making them extensible, portable and scalable. Operating system components outside the kernel can fail without causing the operating system to fall over.. S
  • 13. ADVANTAGES: MICROKERNEL OS ARCHITECTURE ❑ Microkernels are secure since only those parts are added, which might disturb the system's functionality. ❑ Microkernels are modular, and the various modules may be swapped, reloaded, and modified without affecting the kernel. ❑ Microkernel architecture is compact and isolated, so it may perform better. ❑ The system expansion is more accessible, so it may be introduced to the system application without disrupting the kernel. ❑ When compared to monolithic systems, microkernels have fewer system crashes. Furthermore, due to the modular structure of microkernels, any crashes that do occur are simply handled. ❑ The microkernel interface helps in enforcing a more modular system structure. ❑ Server failure is treated the same as any other user program failure. S
  • 14. DISADVANTAGES: MICROKERNEL OS ARCHITECTURE ❑ When the drivers are implemented as procedures, a context switch or a function call is needed. ❑ In a microkernel system, providing services are more costly than in a traditional monolithic system. ❑ The performance of a microkernel system might be indifferent and cause issues. S
  • 17. VIRTUAL MACHINES ❑ A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though they were all hardware. ❑ A virtual machine provides an interface identical to the underlying bare hardware. ❑ The operating system creates the illusion of multiple processes, each executing on its own processor with its own (virtual) memory ❑ The resources of the physical computer are shared to create the virtual machines. ✦ CPU scheduling can create the appearance that users have their own processor. ✦ Spooling and a file system can provide virtual card readers and virtual line printers. ✦ A normal user time-sharing terminal serves as the virtual machine operator’s console. S
  • 19. ADVANTAGES/DISADVANTAGES OFVIRTUAL MACHINES • The virtual-machine concept provides complete protection of system resources since each virtual machine is isolated from all other virtual machines. This isolation, however, permits no direct sharing of resources. • A virtual-machine system is a perfect vehicle for operating-systems research and development. System development is done on the virtual machine, instead of on a physical machine and so does not disrupt normal system operation. • The virtual machine concept is difficult to implement due to the effort required to provide an exact duplicate to the underlying machine. S
  • 20. EXOKERNEL • Exokernel is an operating system developed at the MIT that provides application-level management of hardware resources. • This architecture is designed to separate resource protection from management to facilitate application-specific customization. S
  • 21. EXOKERNEL • Exokernel is an operating system developed at the MIT that provides application-level management of hardware resources. • This architecture is designed to separate resource protection from management to facilitate application-specific customization. S
  • 22. PRINCIPLES OF EXOKERNELS 1. Separate protection and management : Resource management is restricted to functions necessary for protection. 2. Expose allocation : Applications allocate resources explicitly. 3. Expose name : Exokernels use physical names wherever possible. 4. Expose revocation : Exokernels let applications to choose which instance of a resource to give up. 5. Expose information : Exokernels expose all system information and collect data that applications cannot easily derive locally. S
  • 23. ADVANTAGES OF EXOKERNELS 1. Significant performance increase. 2. Applications can make more efficient and intelligent use of hardware resources by being aware of resource availability, revocation and allocation. 3. Ease development and testing of new operating system ideas. (New scheduling techniques, memory management methods, etc) S DISADVANTAGES OF EXOKERNELS 1. Complexity in design of exokernel interfaces. 2. Less consistency.