Operating System and Kernel Flashcards

1
Q

Operating system definition and objectives

A

A program that controls the execution of application programs and acts as an interface between applications and hardware

Objective:
Convenience
Efficient
Ability to evolve

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

Monolithic kernel

A

All services are in the kernel, everything is connected to everything, all new features are added to the kernel

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

Benefit of a monolithic kernel

A

Fast communication

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

Cons of the monolithic kernel

A

Hard to understand and modify
Lacks security

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

Layered kernel

A

Each layer can only communicate with the layer directly above or below it, any given layer only needs to be able to communicate with the adjacent layer

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

Benefit of a layered kernel

A

Easy to debug

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

Cons of a layered kernel

A

poor performance as it must traverse each layer in order to reach the desired service

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

Micro kernel

A

services are implemented by “servers” and a small kernel which delivers messages between the servers

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

Benefit of a micro kernel

A

Secure and reliable

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

Con of a microkernel

A

Poor performance as there are lots of system functions

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

Modular structured kernel

A

Starts with the smallest possible kernel and loads any required services into the kernel via modules

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

Benefits of a modular structure kernel

A

No unnecessary services so is fast
Modules can each communicate directly so is fast

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

Con of a modular structure kernel

A

As more modules are loaded it becomes similar to the monolithic kernel

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