Lesson 2c (Exokernel) Flashcards

1
Q

What is the main structure of Exokernel

A

Kernel exposes hardware directly. Libraries needing access to the hardware are given a key and secure binding

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

How are calls to the hardware secure

A

The exokernel will generate keys. Through secure binding it will also validate keys when hardware calls are made.

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

How is exokernel fast

A

Services are structured to minimize border crossing and key validation.

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

Where does address translation take place

A

This functionality is provided by a library.

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

How would packet filtering avoid border crossing.

A

The lib os sends filters to the kernel (key check crossing) then the kernel checks on packet arrival (no key checks, no crossing)

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

Methods provided by exo

A

hardware mechanism, software caching, download code into kernel

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

How is a page fault handled

A

The libOS presents mappings. The exokernel installs mappings in the TLB. When the CPU generates a page fault the exokernel issues an up call through handler and the library services the fault.

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

Security implication

A

Need to restrict users that can send code to the kernel

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

What happens the the TLB during context switch

A

The TLB is store in a software tlb (stlb) associated with the library OS

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

How is cpu scheduling handled

A

a linear vector of time slots with a being and end that represent a time quantum. Each libos is given a time quantum and the exokernel alternates between them. A libos will be penalized on the next run if it goes over the quantum.

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

Speed

A

100x faster than the UNIX (monolithic) they tested against

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

vmem and IPC speed

A

40x faster

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

Visible revocation

A

Inform lib os when resource is freed

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

lrpc

A

local rpc

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

Where does most of the os run

A

in user land (app address space) this reduces border crossing

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

Which OS gets called when a handler completes IO for instance?

A

Depends on the code currently downloaded

17
Q

Performace compared

A

Exceed mach and do as well as monolithic when dealing with system calls