1/56
Exam Reviewer for Advanced Operating System and Networking
Operating System
is the software layer between applications and hardware
Operating System
Manages hardware and provides services to applications.
Operating System
It manages hardware resources, provides services to applications, creates useful abstractions, and controls access to protected resources.
Application
Programs used by the user, such as browsers or editors.
Hardware
Physical CPU, memory, storage, network devices, and other devices.
Early systems
Manual operation and batch processing.
Multiprogramming
Several jobs share the CPU to improve utilization.
Time-sharing
Interactive users receive CPU time slices.
Personal computing
Graphical interfaces and broad hardware support
Networked / distributed systems
Communication and shared services across systems.
Modern systems
Virtualization, multicore processors, containers, and cloud computing.
Kernel Architecture
It manages CPU scheduling, memory, processes, devices, filesystems, networking, and protection.
kernel
The _____ is the privileged core of the operating system
Kernel Architecture
Applications normally request these services through system calls.
system calls
Applications normally request these services through _________.
Linux
uses a monolithic kernel design with extensive modularity
kernel space
Core kernel functions operate in ____
process management, memory management, virtual filesystems, networking, and device drivers
Major subsystems include
Process
is a running instance of a program with its own execution context and resources
Process
have identifiers (PIDs), memory mappings, open files, credentials, and scheduling state
Process
multiple programs can appear to run concurrently
Process
_____ isolation helps prevent one application from directly corrupting another
Thread
is an execution path within a process
Thread
in the same process share resources such as address space and open files
Thread
has its own execution state, including a stack and CPU context
Thread
can improve responsiveness and exploit multicore processors.
Thread
Shared resources introduce synchronization and concurrency challenges
Process
stronger isolation, separate address space, and generally higher creation/context-management cost
Thread
lighter-weight execution unit, shared process resources, and easier data sharing
Process
communicate using such as pipes, sockets, and shared memory
Threads
communicate naturally through shared memory—but require synchronization
Concurrency
means multiple activities make progress during overlapping periods
Parallelism
means multiple activities execute simultaneously on multiple processing units
Concurrency
Can happen even on a single-core CPU through scheduling/context switching.
Parallelism
Requires multiple processing units/cores for actual simultaneous execution.
User Space
is where ordinary applications and many services execute with restricted privileges
Kernel Space
is where the OS kernel executes with privileged access to hardware and protected resources
System Calls
is a controlled interface through which a program requests a kernel service
System Calls
Examples include opening files, creating processes, allocating memory, and communicating over networks.
System Calls
The kernel validates the request and performs the privileged operation
Conceptual Flow of System Calls
Application → Library/API → System Call → Kernel → Resource.
Security, Stability, Resource control, Abstraction
Why the Separation Matters
Linux as an Enterprise OS
Supports servers, cloud infrastructure, containers, databases, networking, and high performance workloads
Linux as an Enterprise OS
Strong networking and filesystem capabilities
Linux as an Enterprise OS
Multiuser architecture with permissions and privilege controls
Linux as an Enterprise OS
Automation through shell tools, scripting, package management, and system services
Linux as an Enterprise OS
Large ecosystem and broad hardware/software support.
Virtualization
____ allows workloads to share physical infrastructure
Monolithic Kernel
Many OS services run in kernel space.
Monolithic Kernel
Usually less communication overhead between kernel services.
Monolithic Kernel
A faulty kernel component can have wider impact.
Monolithic Kernel
Performance and tightly integrated kernel services.
Microkernel
Keeps only essential functions in the kernel; more services run in user space.
Microkernel
May have more communication/message-passing overhead.
Microkernel
Stronger separation can improve fault isolation.
Microkernel
Isolation, modularity, and smaller privileged core.
Microkernel
a contrasting architecture concept.