Sample Midterm Solutions Flashcards

1
Q

How is a new process created?

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

Is there a benefit of multithreading on 1 CPU?

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

If the kernel cannot see user-level signal masks, then how is a signal delivered to a user-level thread (where the signal can be handled)?

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

What is a flash server?

A

The Flash Web server combines the

high performance of single-process event-driven servers

on cached workloads with the performance of multi-

process and multi-threaded servers on disk-bound work-

loads.

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

What is (AMPED)

A

the event-driven approach of the SPED architecture

with multiple helper processes (or threads) that handle

blocking disk I/O operations.

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

Difference between MT and MP

A

The primary difference between the MP and the MT

architecture, however, is that all threads can share global

variables. The use of a single shared address space lends

itself easily to optimizations that rely on shared state.

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

Advantage of AMPED to SPED

A

The AMPED architecture strives to preserve the effi-

ciency of the SPED architecture on operations other than

disk reads, but avoids the performance problems suffered

by SPED due to inappropriate support for asynchronous

disk reads in many operating systems. AMPED achieves

this using only support that is widely available in modern

operating systems.

I

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

What are helpers in AMPED

A

.

The helper processes are responsible for performing

pathname translations and for bringing disk blocks into

memory. These processes a

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

Conclusions of Flash paper

A
  • Flash nearly matches the performance of SPED servers

on cached workloads while simultaneously matching or

exceeding the performance of MP and MT servers on

disk-intensive workloads.

  • Results also show that the Flash server’s performance

exceeds that of the Zeus Web server by up to 30%, and

it exceeds the performance of Apache by up to 50% on

real workloads. F

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

Bandwith results

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

Bandwidth results 2

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

Optimizations results

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