OS Design Patterns Flashcards
run OS as a single program in kernel mode
Monolithic
organize the OS in layers:
5: operator
4: user programs
3: input/output management
2: operator-process communication
1: memory and drum management
0: processor allocation and multi-programming
Layered OS systems
goal to achieve high reliability by splitting the OS into small modules. Only the ______ runs in kernel mode and the rest run as user processes
Microkernals
Has servers and clients. Communicates by passing messages. The service does the work and sends back the answer
Works the same over the network as locally with services
Client-Server model
- A timesharing system
- Has a virtual machine monitor, which runs on bare hardware and - does the multiprogramming and provides VMs to the next layer up
- CMS (Conversational Monitor System) for interactive timesharing users.
Virtual Machines
The __ _ ____ has an added kernel module to do some of the heavy lifting so the VM can make system calls. The __ _ ____ makes use of the host OS to perform kernel level tasks. Also has a guest operating system.
type 2 hypervisor
Downside of containers
it’s not possible to run a completely different OS. There is no strict resource partitioning.
The container may be restricted in what it may access on SSD or disk and how much CPU time it gets, but all containers still share the resources in the underlying host operating system.
Resources are process-level isolated so a container that messes with the stability of the underlying kernel will also affect other containers.