Friday, December 19, 2025

Operating system (OS) structure

Operating system (OS) structure refers to how different components of the system—such as the kernel, system calls, and device drivers—are organized and interconnected. Modern OS design breaks the system into smaller, manageable parts to improve stability, security, and maintenance.

Key Operating System Structures

Simple Structure

    • Description: Systems without a well-defined architecture, allowing direct program access to hardware.
    • Pros/Cons: Easy to develop but unstable.
    • Example: MS-DOS.
  1. Monolithic Structure
    • Description: The entire OS operates as a single large program in kernel space, bundling all core services.
    • Pros/Cons: High performance but difficult to maintain.
    • Example: Traditional UNIX, Linux.
  2. Layered Structure
    • Description: The OS is organized into hierarchical layers, with each layer using services from the one below it.
    • Pros/Cons: Easier to debug but can have performance overhead.
    • Example: Windows NT.
  3. Microkernel Structure
    • Description: A minimal kernel handles essential functions, while most services run as user-level processes.
    • Pros/Cons: Highly secure and reliable but can have communication overhead.
    • Example: Mach, Minix 3.
  4. Modular Structure
    • Description: Uses a core kernel with additional services added as loadable kernel modules.
    • Pros/Cons: Offers flexibility and better organization than monolithic kernels.
    • Example: Sun Solaris, modern Linux.
  5. Hybrid Structure
    • Description: Combines aspects of monolithic and microkernel architectures.
    • Example: Windows, macOS. 


Summary Table
Structure Key CharacteristicTypical Example
SimpleNo clear boundaries; direct HW accessMS-DOS
MonolithicAll services in one large kernelLinux, Unix
LayeredModular hierarchy (Layer 0 to N)Windows NT
MicrokernelMinimal kernel; services in user spaceMach, Minix
ModularDynamically loadable kernel modulesSun Solaris
HybridMix of monolithic & microkernelWindows, macOS

No comments:

Post a Comment