Chapter 1 - Part 2 Flashcards

1
Q

Why was Posix created, and by whom?

A

Multiple different Unix systems were competing at the time, and were starting to develop different standards. Posix was created by the Institute for Electrical and Electronics Engineers (IEEE) to help set forth a set of standards for compatibility reasons.

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

What was the name and company of the operating system Unix was derived from, in what year was it named ‘Unix’, and when was it first released?

A

Honeywell’s Multics OS, it was named by Brian Kernighan in 1970, and it was released in 1974.

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

What is the mechanism for interleaving instructions from multiple processes on a single processor called?

A

context switching

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

What is the OS abstraction for giving a program the illusion that it has exclusive access to the CPU, memory, and I/O devices?

A

processes

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

What is a context in terms of an OS process?

A

All state information that process needs to run.

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

What is a system call?

A

When a process passes control to the operating system.

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

What is the kernel in an OS?

A

The part of the OS that is always resident in memory.

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

Is the kernel of an OS a process?

A

No, it is a collection of code and data used to manage processes.

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

How is a thread different from an OS process?

A

Threads are an execution unit within a process, processes are controlled and managed by the OS. Threads share memory, processes do not.

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

Summarize Amdahl’s law.

A

When one portion of a system is sped up, its effect on the overall speed of the system depends on how significant it was and by how much it was sped up.

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

If a component is doing 40% of the work in a system, and it receives a speedup of 5 times, write the equation that represents this speedup using Amdahl’s law (using bc).

A

scale=10; 1 / ((1 - .4) + .4 / 5)

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

What formula describes the ratio of performance improvement?

A

t-old / t-new

Improving from a time of 10 hours to a time of 5 hours is 10/5, a 2 times speedup.

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