OS Design Patterns Flashcards

1
Q

run OS as a single program in kernel mode

A

Monolithic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Layered OS systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

Microkernals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

Client-Server model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • 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.
A

Virtual Machines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

type 2 hypervisor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Downside of containers

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly