SlideShare a Scribd company logo
2
Most read
4
Most read
9
Most read
STRUCTURE OF AN
OPERATING SYSTEM
BY SIVANI M
An operating system has a complex structure, so we need a well-defined
structure to assist us in applying it to our unique requirements. Just as we
break down a big problem into smaller, easier-to-solve subproblems,
designing an operating system in parts is a simpler approach to do it. And each
section is an Operating System component. The approach of interconnecting
and integrating multiple operating system components into the kernel can be
described as an operating system structure. As mentioned below, various sorts
of structures are used to implement operating systems.
Different structures
•Simple Structure
•Monolithic Structure
•Layered Approach Structure
•Micro-kernel Structure
Simple Structure
It is the simplest Operating System Structure and is not well defined; It can only be used for small
and limited systems. In this structure, the interfaces and levels of functionality are well separated;
hence programs can access I/O routines which can cause unauthorized access to I/O routines.
This structure is implemented in MS-DOS operating system:
•The MS-DOS operating System is made up of various layers, each with its own set of functions.
•These layers are:
• Application Program
• System Program
• MS-DOS device drivers
• ROM BIOS device drivers
•Layering has an advantage in the MS-DOS operating system since all the levels can be defined
separately and can interact with each other when needed.
•It is easier to design, maintain, and update the system if it is made in layers. So that's why limited
systems with less complexity can be constructed easily using Simple Structure.
•If one user program fails, the entire operating system gets crashed.
•The abstraction level in MS-DOS systems is low, so programs and I/O routines are visible to the
end-user, so the user can have unauthorized access.
Layering in simple structure is shown below
Monolithic Structure
The Monolithic operating System in which the kernel acts as a manager by managing all things
like file management, memory management, device management, and operational processes of the
Operating System.
The kernel is the heart of a computer operating system (OS). Kernel delivers basic services to all
other elements of the System. It serves as the primary interface between the Operating System and
the hardware.
In monolithic systems, kernels can directly access all the resources of the operating System
like physical hardware, exp Keyboard, Mouse etc.
The monolithic kernel is another name for the monolithic operating system. Batch
processing and time-sharing maximize the usability of a processor by multiprogramming. The
monolithic kernel functions as a virtual machine by working on top of the Operating System and
controlling all hardware components. This is an outdated operating system that was used in banks
to accomplish minor activities such as batch processing and time-sharing, which enables many
people at various terminals to access the Operating System.
A Diagram of the Monolithic structure is shown
below:
Layered Approach
In this type of structure, OS is divided into layers or levels. The hardware is on the bottom layer (layer 0),
while the user interface is on the top layer (layer N). These layers are arranged in a hierarchical way in
which the top-level layers use the functionalities of their lower-level levels.
In this approach, functionalities of each layer are isolated, and abstraction is also available. In layered
structure, debugging is easier as it is a hierarchical model, so all lower-level layered is debugged, and then
the upper layer is checked. So all the lower layers are already checked, and the current layer is to be
checked only.
Micro-kernel
Micro-Kernel structure designs the Operating System by removing all non-essential components of
the kernel. These non-essential components of kernels are implemented as systems and user programs.
Hence these implemented systems are called as Micro-Kernels.
Each Micro-Kernel is made independently and is isolated from other Micro-Kernels. So this makes the
system more secure and reliable. If any Micro-Kernel fails, then the remaining operating System remains
untouched and works fine.
Operating System Debugging
Debugging is the process of finding the problems in a computer system and solving them. There are many
different ways in which operating systems perform debugging. Some of these are −
Log Files
The log files record all the events that occur in an operating system. This is done by writing all the
messages into a log file. There are different types of log files. Some of these are given as follows −
Event Logs
These stores the records of all the events that occur in the execution of a system. This is done so
that the activities of all the events can be understood to diagnose problems.
Transaction Logs
The transaction logs store the changes to the data so that the system can recover from crashes
and other errors. These logs are readable by a human.
Message Logs
These logs store both the public and private messages between the users. They are mostly plain
text files, but in some cases they may be HTML files.
Core Dump Files
The core dump files contain the memory address space of a process that terminates unexpectedly. The
creation of the core dump is triggered in response to program crashes by the kernel. The core dump files
are used by the developers to find the program’s state at the time of its termination so that they can find
out why the termination occurred.
The automatic creation of the core dump files can be disabled by the users. This may be done to improve
performance, clear disk space or increase security.
Crash Dump Files
In the event of a total system failure, the information about the state of the operating system
is captured in crash dump files. There are three types of dump that can be captured when a
system crashes. These are −
Complete Memory Dump
The whole contents of the physical memory at the time of the system crash are captured in the
complete memory dump. This is the default setting on the Windows Server System.
Kernel Memory Dump
Only the kernel mode read and write pages that are present in the main memory at the time of
the system crash are stored in the kernel memory dump.
Small Memory Dump
This memory dump contains the list of device drivers, stop code, process and thread information, kernel
stack etc.
Trace Listings
The trace listing record information about a program execution using logging. This information is used
by programmers for debugging. System administrators and technical personnel can use the trace listings
to find the common problems with software using software monitoring tools.
Profiling
This is a type of program analysis that measures various parameters in a program such as space and time
complexity, frequency and duration of function calls, usage of specific instructions etc. Profiling is done
by monitoring the source code of the required system program using a code profiler.
SYSTEM BOOT
• The BIOS, operating system and hardware components of a computer system should all be working
correctly for it to boot. If any of these elements fail, it leads to a failed boot seq.
System boot process
The following diagram demonstrates the steps involved in a system boot process −
•The CPU initializes itself after the power in the computer is first turned on. This is done by
triggering a series of clock ticks that are generated by the system clock.
•After this, the CPU looks for the system’s ROM BIOS to obtain the first instruction in the start-up
program. This first instruction is stored in the ROM BIOS and it instructs the system to run POST
(Power On Self Test) in a memory address that is predetermined.
•POST first checks the BIOS chip and then the CMOS RAM. If there is no battery failure detected
by POST, then it continues to initialize the CPU.
•POST also checks the hardware devices, secondary storage devices such as hard drives, ports etc.
And other hardware devices such as the mouse and keyboard. This is done to make sure they are
working properly.
•After POST makes sure that all the components are working properly, then the BIOS finds an
operating system to load.
•In most computer system’s, the operating system loads from the C drive onto the hard drive. The
CMOS chip typically tells the BIOS where the operating system is found.
•The order of the different drives that CMOS looks at while finding the operating system is known
as the boot sequence. This sequence can be changed by changing the CMOS setup.
•After finding the appropriate boot drive, the BIOS first finds the boot record which tells it to find
the beginning of the operating system.
•After the initialization of the operating system, the BIOS copies the files into the memory. Then the
operating system controls the boot process.
•In the end, the operating system does a final inventory of the system memory and loads the device
drivers needed to control the peripheral devices.
•The users can access the system applications to perform various tasks.
Without the system boot process, the computer users would have to download all the software
components, including the ones not frequently required. With the system boot, only those software
components need to be downloaded that are legitimately required and all extraneous components are
not required. This process frees up a lot of space in the memory and consequently saves a lot of time.

More Related Content

PPT
Process Management.ppt
PDF
OS-Process Management
PPTX
services and system calls of operating system
PDF
Operating System Lecture Notes
PPT
Structure of operating system
PPTX
Operating System Operations ppt.pptx
PPTX
IO hardware
PPTX
Operating System Unit 1
Process Management.ppt
OS-Process Management
services and system calls of operating system
Operating System Lecture Notes
Structure of operating system
Operating System Operations ppt.pptx
IO hardware
Operating System Unit 1

What's hot (20)

PPTX
Kernel. Operating System
PPTX
Structure of operating system
PPTX
Computer Architecture and Organization.pptx
PPTX
cpu scheduling
PPT
multiprocessors and multicomputers
PPT
Silberschatz / OS Concepts
PPT
Os Threads
PPTX
Context switching
PPTX
Page replacement algorithms
PPT
Ch 4 95
PDF
operating system structure
PPTX
Paging & segmentation; advantages and disadvantage
PPT
Chapter 8 - Main Memory
DOCX
Operating System Process Synchronization
PPT
Mutual exclusion and sync
PPTX
Multi Processors And Multi Computers
PPTX
Memory Management in OS
PPTX
Unit 5 lect-3-multiprocessor
PPTX
Virtual memory management in Operating System
Kernel. Operating System
Structure of operating system
Computer Architecture and Organization.pptx
cpu scheduling
multiprocessors and multicomputers
Silberschatz / OS Concepts
Os Threads
Context switching
Page replacement algorithms
Ch 4 95
operating system structure
Paging & segmentation; advantages and disadvantage
Chapter 8 - Main Memory
Operating System Process Synchronization
Mutual exclusion and sync
Multi Processors And Multi Computers
Memory Management in OS
Unit 5 lect-3-multiprocessor
Virtual memory management in Operating System
Ad

Similar to Structure of an operating system.pptx (20)

PPT
Introduction and fundamentals of Operating System.ppt
PPTX
BIOS AND OS
PPT
OS-20210426203801.ppt
PPT
OS-20210426203801 introduction to os.ppt
PPT
OS-20210426203801.ppt
PPT
OS-20210426203801.ppt
PPT
OS-20210426203801.ppt
PPT
Introduction to Oerating System By Vinod.ppt
PPT
OS full chapter.ppt
PPT
Windows 1Fundaments.ppt
PPT
Operating systems, complete information.ppt
PPT
Operating system overview and explaination.ppt
PPT
OS-deadlock detection and recovery with additional features.ppt
PPTX
Operating system.pptx
PPTX
Operating system.pptx
PPT
Abhishek_OSC_ompimization_cyber_cocnpts.ppt
PDF
operating system1.pdf
PPTX
Basic operating systems in computer and it's uses
PDF
1. What is the value of requiring the OS to provide status informati.pdf
PPTX
Week1_Introduction to_Operating System - Part 1.pptx
Introduction and fundamentals of Operating System.ppt
BIOS AND OS
OS-20210426203801.ppt
OS-20210426203801 introduction to os.ppt
OS-20210426203801.ppt
OS-20210426203801.ppt
OS-20210426203801.ppt
Introduction to Oerating System By Vinod.ppt
OS full chapter.ppt
Windows 1Fundaments.ppt
Operating systems, complete information.ppt
Operating system overview and explaination.ppt
OS-deadlock detection and recovery with additional features.ppt
Operating system.pptx
Operating system.pptx
Abhishek_OSC_ompimization_cyber_cocnpts.ppt
operating system1.pdf
Basic operating systems in computer and it's uses
1. What is the value of requiring the OS to provide status informati.pdf
Week1_Introduction to_Operating System - Part 1.pptx
Ad

More from MSivani (9)

PPTX
User and operating system interface.pptx
PPTX
Communication in client server system.pptx
PPTX
Process scheduling.pptx
PPTX
REST library.pptx
PPTX
Smart materials.pptx
PPTX
PROJECT LOON.pptx
PPTX
How to Install and Set up Android Studio.pptx
PPTX
Computing Environments.pptx
PPTX
ppt for phase-1 review-2.pptx
User and operating system interface.pptx
Communication in client server system.pptx
Process scheduling.pptx
REST library.pptx
Smart materials.pptx
PROJECT LOON.pptx
How to Install and Set up Android Studio.pptx
Computing Environments.pptx
ppt for phase-1 review-2.pptx

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Lecture Notes Electrical Wiring System Components
PDF
PPT on Performance Review to get promotions
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Digital Logic Computer Design lecture notes
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
DOCX
573137875-Attendance-Management-System-original
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Lecture Notes Electrical Wiring System Components
PPT on Performance Review to get promotions
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Lesson 3_Tessellation.pptx finite Mathematics
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Construction Project Organization Group 2.pptx
bas. eng. economics group 4 presentation 1.pptx
Arduino robotics embedded978-1-4302-3184-4.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Geodesy 1.pptx...............................................
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Digital Logic Computer Design lecture notes
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Strings in CPP - Strings in C++ are sequences of characters used to store and...
573137875-Attendance-Management-System-original
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Structure of an operating system.pptx

  • 1. STRUCTURE OF AN OPERATING SYSTEM BY SIVANI M
  • 2. An operating system has a complex structure, so we need a well-defined structure to assist us in applying it to our unique requirements. Just as we break down a big problem into smaller, easier-to-solve subproblems, designing an operating system in parts is a simpler approach to do it. And each section is an Operating System component. The approach of interconnecting and integrating multiple operating system components into the kernel can be described as an operating system structure. As mentioned below, various sorts of structures are used to implement operating systems. Different structures •Simple Structure •Monolithic Structure •Layered Approach Structure •Micro-kernel Structure
  • 3. Simple Structure It is the simplest Operating System Structure and is not well defined; It can only be used for small and limited systems. In this structure, the interfaces and levels of functionality are well separated; hence programs can access I/O routines which can cause unauthorized access to I/O routines. This structure is implemented in MS-DOS operating system: •The MS-DOS operating System is made up of various layers, each with its own set of functions. •These layers are: • Application Program • System Program • MS-DOS device drivers • ROM BIOS device drivers •Layering has an advantage in the MS-DOS operating system since all the levels can be defined separately and can interact with each other when needed. •It is easier to design, maintain, and update the system if it is made in layers. So that's why limited systems with less complexity can be constructed easily using Simple Structure. •If one user program fails, the entire operating system gets crashed. •The abstraction level in MS-DOS systems is low, so programs and I/O routines are visible to the end-user, so the user can have unauthorized access.
  • 4. Layering in simple structure is shown below
  • 5. Monolithic Structure The Monolithic operating System in which the kernel acts as a manager by managing all things like file management, memory management, device management, and operational processes of the Operating System. The kernel is the heart of a computer operating system (OS). Kernel delivers basic services to all other elements of the System. It serves as the primary interface between the Operating System and the hardware. In monolithic systems, kernels can directly access all the resources of the operating System like physical hardware, exp Keyboard, Mouse etc. The monolithic kernel is another name for the monolithic operating system. Batch processing and time-sharing maximize the usability of a processor by multiprogramming. The monolithic kernel functions as a virtual machine by working on top of the Operating System and controlling all hardware components. This is an outdated operating system that was used in banks to accomplish minor activities such as batch processing and time-sharing, which enables many people at various terminals to access the Operating System.
  • 6. A Diagram of the Monolithic structure is shown below:
  • 7. Layered Approach In this type of structure, OS is divided into layers or levels. The hardware is on the bottom layer (layer 0), while the user interface is on the top layer (layer N). These layers are arranged in a hierarchical way in which the top-level layers use the functionalities of their lower-level levels. In this approach, functionalities of each layer are isolated, and abstraction is also available. In layered structure, debugging is easier as it is a hierarchical model, so all lower-level layered is debugged, and then the upper layer is checked. So all the lower layers are already checked, and the current layer is to be checked only.
  • 8. Micro-kernel Micro-Kernel structure designs the Operating System by removing all non-essential components of the kernel. These non-essential components of kernels are implemented as systems and user programs. Hence these implemented systems are called as Micro-Kernels. Each Micro-Kernel is made independently and is isolated from other Micro-Kernels. So this makes the system more secure and reliable. If any Micro-Kernel fails, then the remaining operating System remains untouched and works fine.
  • 9. Operating System Debugging Debugging is the process of finding the problems in a computer system and solving them. There are many different ways in which operating systems perform debugging. Some of these are − Log Files The log files record all the events that occur in an operating system. This is done by writing all the messages into a log file. There are different types of log files. Some of these are given as follows − Event Logs These stores the records of all the events that occur in the execution of a system. This is done so that the activities of all the events can be understood to diagnose problems. Transaction Logs The transaction logs store the changes to the data so that the system can recover from crashes and other errors. These logs are readable by a human. Message Logs These logs store both the public and private messages between the users. They are mostly plain text files, but in some cases they may be HTML files.
  • 10. Core Dump Files The core dump files contain the memory address space of a process that terminates unexpectedly. The creation of the core dump is triggered in response to program crashes by the kernel. The core dump files are used by the developers to find the program’s state at the time of its termination so that they can find out why the termination occurred. The automatic creation of the core dump files can be disabled by the users. This may be done to improve performance, clear disk space or increase security. Crash Dump Files In the event of a total system failure, the information about the state of the operating system is captured in crash dump files. There are three types of dump that can be captured when a system crashes. These are − Complete Memory Dump The whole contents of the physical memory at the time of the system crash are captured in the complete memory dump. This is the default setting on the Windows Server System. Kernel Memory Dump Only the kernel mode read and write pages that are present in the main memory at the time of the system crash are stored in the kernel memory dump.
  • 11. Small Memory Dump This memory dump contains the list of device drivers, stop code, process and thread information, kernel stack etc. Trace Listings The trace listing record information about a program execution using logging. This information is used by programmers for debugging. System administrators and technical personnel can use the trace listings to find the common problems with software using software monitoring tools. Profiling This is a type of program analysis that measures various parameters in a program such as space and time complexity, frequency and duration of function calls, usage of specific instructions etc. Profiling is done by monitoring the source code of the required system program using a code profiler.
  • 12. SYSTEM BOOT • The BIOS, operating system and hardware components of a computer system should all be working correctly for it to boot. If any of these elements fail, it leads to a failed boot seq. System boot process The following diagram demonstrates the steps involved in a system boot process −
  • 13. •The CPU initializes itself after the power in the computer is first turned on. This is done by triggering a series of clock ticks that are generated by the system clock. •After this, the CPU looks for the system’s ROM BIOS to obtain the first instruction in the start-up program. This first instruction is stored in the ROM BIOS and it instructs the system to run POST (Power On Self Test) in a memory address that is predetermined. •POST first checks the BIOS chip and then the CMOS RAM. If there is no battery failure detected by POST, then it continues to initialize the CPU. •POST also checks the hardware devices, secondary storage devices such as hard drives, ports etc. And other hardware devices such as the mouse and keyboard. This is done to make sure they are working properly. •After POST makes sure that all the components are working properly, then the BIOS finds an operating system to load. •In most computer system’s, the operating system loads from the C drive onto the hard drive. The CMOS chip typically tells the BIOS where the operating system is found. •The order of the different drives that CMOS looks at while finding the operating system is known as the boot sequence. This sequence can be changed by changing the CMOS setup. •After finding the appropriate boot drive, the BIOS first finds the boot record which tells it to find the beginning of the operating system.
  • 14. •After the initialization of the operating system, the BIOS copies the files into the memory. Then the operating system controls the boot process. •In the end, the operating system does a final inventory of the system memory and loads the device drivers needed to control the peripheral devices. •The users can access the system applications to perform various tasks. Without the system boot process, the computer users would have to download all the software components, including the ones not frequently required. With the system boot, only those software components need to be downloaded that are legitimately required and all extraneous components are not required. This process frees up a lot of space in the memory and consequently saves a lot of time.