Lesson 2a Flashcards

1
Q

protection

A

protect hardware from user and users from each other

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

performance

A

perform task quickly then get out of the way

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

flexibility

A

extensible. not one size fits all

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

scalability

A

performance increases if hardware resources increase

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

agility

A

adapting to change in application needs and/or other resource availability

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

responsiveness

A

reacting to external events

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

Monolithic structure

A

apps are in user space and each app is in its own address space. The OS, services and device drivers are all in one protected address space above the hardware

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

DOS like

A

Good Performance, Bad Protection. No protection between the application and the OS

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

Benefit of monolithic

A

Reduces performance loss by consolidation

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

Disadvantage of monolithic

A

No customization. For example a gamer might want input from a controller to be higher priority. Whereas someone computing primes would want the CPU to be highest priority.

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

What happens during page fault

A

find page frame, move from virtual to physical page frame, update the page table, resume process

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

Micro kernel based os

A

Each app in its own address space, each service in own address space, services at user level. kernel is a simple abstraction in the protected address space above the hardware. services talk to the kernel and other services using IPC.

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

Benefit of Microkernel

A

Customization. Can easily have apps access different file systems for example.

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

Initial perceived downside to Microkernel

A

More border crossing (kernel traps) then a Monolithic kernel.

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

Border Crossing

A

Change in locality (address space). User space system space.

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

What impact does a change in locality have

A

the cpu cache may be cold

17
Q

Other cost associated with border crossing

A

May need to copy memory during the relocation

18
Q

Triangle of OS

A

Extensiblity, performance, protection performance (dos-like) extensibility. performance (monolithic) protection. Extensibility (Micro-kernel based) protection. We would like to have all three