User view and system view
System layers and the two perspectives, with a quick concept test.
Module 1
Session 1.1
Lesson 2 of 6
Operating System Concepts & Architecture
An interactive guide for students and teachers to explore system layers and dual perspectives
user
End Users: Humans, automated clients, or external network devices interacting with software to accomplish tasks.
Think: How does a user command travel all the way down to physical silicon chips?
↕
application programs
(compilers, web browsers, development kits, etc.)
Software Layer: Programs designed for user productivity. They cannot access hardware directly without system calls.
Think: Browsers and compilers belong here, not inside the kernel.
↕ ↕ ↕
operating system
System Software Layer: The crucial mediator between high-level user apps and low-level physical machine hardware.
Think: The OS provides safety—it keeps user apps from crashing the machine hardware.
↕ ↕ ↕
computer hardware
(CPU, memory, I/O devices, etc.)
Physical Layer: Electronic components executing instructions and storing bits (CPU, RAM, Disks, GPUs).
Think: Hardware only understands binary voltages (0s and 1s).
The User View
Convenience and Ease of Use:
Designed primarily to maximize work efficiency and simplify human interaction with hardware.
Hides hardware complexities with intuitive graphical interfaces, touch controls, and single-click commands.
Think: Typing raw hex to play an audio file vs double-clicking an MP3.
Single-User Systems:
Monopolizes all machine resources for a single individual to deliver instantaneous, responsive feedback.
Optimized for PC/Laptop responsiveness where one user expects 100% immediate interaction priority.
Think: PCs prioritize screen refresh rate and mouse click response over background batch throughput.
Shared Terminals:
Provides dedicated user spaces on mainframes or servers, balancing performance with active connection limits.
Distributes compute resources fairly among dozens or hundreds of concurrent remote logins.
Think: Cloud servers and campus machines that host hundreds of SSH sessions at once.
The System View
Resource Allocator:
Acts as a manager deciding how to assign CPU time, memory space, file storage, and I/O devices fairly.
Arbitrates conflicting resource requests from multiple processes to avoid starvation and deadlock.
Think: How does the OS decide which app gets RAM when physical memory runs low?
Control Program:
Manages execution of user applications to prevent errors, conflicts, and unauthorized hardware access.
Monitors system calls and enforces user privilege levels (Ring 0 vs. Ring 3 execution modes).
Think: The OS halts buggy programs without taking down the entire operating system.
Efficiency Optimizer:
Operates continuously in the background to maximize raw throughput, minimize latency, and protect hardware.
Keeps hardware busy (high CPU utilization) while keeping latency minimal and power usage optimal.
Think: Modern OSes throttle CPU clock speeds to balance battery life and performance.
✏️ Quick Check: Concept Test
When an OS arbitrates conflicting memory requests between a web browser and a video editor, which OS perspective is it acting under?
A) User View - Convenience & Ease of Use
B) System View - Resource Allocator
C) User View - Shared Terminals
D) Architecture View - Application Program