Expanded Types of OS and Architectures
Expanded Types of OS and Architectures
Architectures
Types of Operating Systems
• Hard Real-Time OS: These systems guarantee that critical tasks will be completed
within a specified time limit. They are used in safety-critical systems such as pacemakers,
aircraft control systems, and industrial robots.
• Soft Real-Time OS: These can tolerate some amount of deadline misses. They are used
in applications such as video streaming, online gaming, and VoIP.
Key Features:
- Deterministic response time
- Task prioritization
- Minimal interrupt latency
Key Features:
- Personal use
- Dedicated resources
- Simplified security model
Types:
• Distributed OS: Resources and tasks are distributed over multiple systems that
communicate through a network.
• Time-Sliced OS: Uses time-quantum scheduling to serve multiple users.
• Multiprocessor OS: Employs multiple CPUs for concurrent task execution.
Types:
• Preemptive Multitasking: OS can interrupt tasks to assign CPU to another process.
• Non-Preemptive Multitasking: Tasks voluntarily release the CPU.
Key Features:
- Context switching
- Thread management
- Efficient CPU utilization
Types:
- Symmetric Multiprocessing (SMP): Equal access to memory and resources.
- Asymmetric Multiprocessing (AMP): Master-slave CPU configuration.
- Massively Parallel Processing (MPP): Large number of independent processors working
together.
Types of OS Architectures
1. Simple Architecture
This architecture consists of basic and flat structure without much modularity. All
functionality is tightly coupled.
Example: MS-DOS
Advantages:
- Simple to develop and implement
- Low overhead, hence better performance
Disadvantages:
- Difficult to maintain
- System crashes frequently due to tight coupling
2. Monolithic Architecture
All services run in a single kernel space. This architecture is fast and direct but lacks
modularity.
Advantages:
- High performance
- All components can communicate directly
Disadvantages:
- A single bug can crash the entire system
- Difficult to update or modify
3. Microkernel Architecture
Only essential services are part of the kernel. Other services run in user mode to increase
system stability.
Advantages:
- Fault isolation
- More secure and maintainable
Disadvantages:
- Complex design and communication overhead
4. Layered Architecture
Organizes OS into a hierarchy of layers, each built on the one below it. Lower layers
serve higher ones.
Advantages:
- Better maintainability and modularity
- Easy testing and debugging
Disadvantages:
- Requires careful planning
- Slower due to restricted access paths
5. Modular Architecture
The core kernel provides minimal services, and other functionalities are added as
loadable modules.
Example: Solaris
Advantages:
- Dynamic loading/unloading of features
- Easier to upgrade and maintain
Disadvantages:
- Increased complexity compared to monolithic systems