1) Scheduling of processes and threads
2) Creating/Deleting processes (system and user)
3) Suspending and Resuming processes
4) Process Synchronization
5) Process Communication
Back
UNIX vs LINUX
Front
Unix is a complete OS vs. Linux is just a kernel
Back
Containers
Front
Virtualization in or on-top of OS. Used to create full development environments
Back
Draw the components of a computer system
Front
I/O > System & Application Programs > OS > Hardware
Back
Von Neumann Architecture
Front
Memory holds both data & program. CPU must use bus as communication line between the two.
Back
What is the von Neumann bottleneck?
Front
CPU and Memory sit on opposite sides of a slow bus. Throughput is limited by bus speed
Back
MULTICS
Front
Precursor to Unix. First operating system to integrate securities in its core functions
Back
Asynchronous I/O
Front
Control returns to the user program without waiting for I/O completion
Back
What is the purpose of an OS?
Front
Provide an environment in which a user can execute programs in a convenient and/or efficient manner
Back
What is the kernel responsible for?
Front
1) memory management
2) process/task management
3) disk management
Back
Who built UNIX?
Front
Dennis Ritchie & Ken Thompson
Back
What are the goals of an OS?
Front
1) Execute user programs
2) Make the computer system convenient to use
3) Use computer hardware efficiently
Back
UNIX Definition (3 parts)
Front
1) Kernel
2) Shell
3) Core set of applications (editor, etc.)
Back
Batch Systems (punch-cards)
Front
Program has control over all of the system resources
Back
What does a program running within a Process need?
Front
1) CPU Execution Time (allocation)
2) Memory (for instructions and data)
3) Files
4) I/O Devices (network, keyboards etc.)
Back
To facilitate multi-programming the OS requires:
Front
1) Job scheduling
2) Memory management
Back
Who invented Linux?
Front
Linus Torvalds
Back
Show how a system call works
Front
Back
Definition of a File
Front
The logical unified view of information storage
Back
Virtualization
Front
Multiple OS images sharing the same hardware/computer system
Back
Synchronous I/O
Front
After I/O is requested, wait until I/O is done. Program will be idle.
Back
What does an OS act as?
Front
An intermediary between the user of a
computer and the computer hardware
Back
Multi-programming
Front
The technique of keeping multiple programs in main memory at the same time, competing for the CPU
Back
How can we fix the von nuemann bottleneck?
Front
Caches
Back
PC
Front
Single-user Computer System
Back
What is a process?
Front
the unit of work in a system
Back
A process can have 1 or more (concurrent) threads.
Front
1) Each thread has a program counter on a program sequence
2) Each thread is considered a separate execution sequence
Back
What is the kernel of an OS?
Front
- The core of the OS
- Connects the system hardware to the application software
- EVERY OS has a kernel!!!
Back
What does a File System do? (3)
Front
1) Controls access from multiple users (e.g. read, write, append)
2) Organizes the structure (e.g. directories / subdirectories of files)
3) Interacts with storage device drivers (abstracting details)
Back
Difference between a VM and Container?
Front
VM emulates the hardware and OS, containers just the OS