Operating Systems — Assignment 1
OS in the Real World: Operating Systems Behind Smart Devices
Assignment Objective: To research and analyze the Operating Systems powering four smart real-world devices, providing rigorous architectural justifications based on resource constraints, deterministic latency deadlines, and mission-critical fail-safe requirements.
1. Required Answer Format: Summary Comparison Table
| Device | OS Used / Likely OS | OS Type | Why Required? | Important OS Function | What if OS Fails / Is Slow? |
|---|---|---|---|---|---|
| Tesla / EV Dashboard | Custom Ubuntu/Linux derivative (Qt/QML UI framework) | General-Purpose Embedded / Multi-Tasking OS Multi-Tasking | Handles heavy multimedia rendering, complex navigation, cellular connectivity, and modular apps requiring broad driver support. | Process & Thread Management; GPU Driver pipelines; Secure OTA Network Stacks. | Screen freezes or reboots. While propulsion microcontrollers are isolated, losing the dashboard removes the speedometer, reverse camera, and climate controls, compromising safety. |
| Smartwatch | watchOS (Apple) / Wear OS (Google/Samsung) | Resource-Constrained Mobile / Lightweight Embedded OS Low-Power | Strict physical battery limits (250–500 mAh) demand aggressive idle power down while maintaining continuous biometrics and Bluetooth links. | Dynamic Power & Sleep Scaling; Strict Out-Of-Memory Process Killing; Sensor I/O Frameworks. | UI stutter, dropped alerts, corrupted health/step statistics, failure to trigger emergency fall/cardiac notifications, and rapid battery depletion causing unexpected shutdown. |
| Drone | FreeRTOS / NuttX (Flight Controller); Linux (Companion) | Hard Real-Time Operating System (RTOS) Deterministic | Quadcopters are aerodynamically unstable. Flight stabilization loops must execute at 100–400 Hz with deterministic microsecond predictability. | Deterministic Priority Preemption; Low-Latency Interrupt Servicing (IMUs); PWM/DShot Motor Timers. | A delay of even a few milliseconds in adjusting motor RPM causes loss of balance, uncontrollable drift, aerodynamic stall, and an immediate catastrophic crash. |
| Hospital Patient Monitor | QNX Neutrino RTOS / VxWorks | Hard Real-Time, Safety-Critical Microkernel RTOS Safety-Critical | Continuous life-critical patient monitoring (ECG, SpO2). Microkernel architecture isolates peripherals so non-critical faults never crash vital telemetry loops. | Microkernel Address Isolation; Zero-Jitter Real-Time Scheduling; Priority-Inheritance Alarm Dispatch. | Missed vital alarms during cardiac arrest or oxygen desaturation. Frozen telemetry leads medical staff to delayed or incorrect medical interventions, risking patient life. |