os designs Flashcards

1
Q

what is the monolithic os and how has it developed today

A

applications kernel and hardware initially with no real separation
but now hardware forces this separation via user and system space

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

+ monolithic os

A

protects against things going wrong in user space; apps going wrong wont affect the rest of the system
efficient call structure

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

what is the call structure of a monolithic os

A

directly passing references to memory

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

– monolithic os

A

difficult to maintain due to the call structure as there could be lots of references to different parts of the system
difficult to impose security and protection

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

layered approach; multics rings/onion skin model

A

further into it the more privileges and control you have
every time you go through a ring level you add more security checks and can track access

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

– layered approach

A

not v efficient as the security checks take time and prevent you from simply passing over the memory reference

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

microkernel

A

v small kernel that doesnt do a lot
services usually part of the kernel now run as user level services

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

+ microkernel

A

as services are running at user level (min amount of code running at system level) they cant impact the system if something goes wrong
more secure
few system dependencies so more extensible
easy for message passing over a network

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

inter-process communication is inefficient as you would have to copy the data probably multiple times
more overhead

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

how does a microkernel transfer data

A

using inter-process communication; sending messages rather than memory references

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

modular os

A

has system and user space and the kernel has a set of interfaces that you can add extensions (modules) to

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

+ modular os

A

modules can be inserted and removed at runtime allowing the os to only have to load code required at that point in time
rely on APIs (more controlled method of passing memory) so more robust

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

uni-kernels

A

small kernel and applications carry most of the functionality of the os/kernel with them
the kernel provides the framework and everything else needed as a library

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