Metrics and Evaluation Flashcards

1
Q

What is latency?

A

The time to go from start to end

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

What is throughput?

A

The number of things done per second

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

What are benchmarks?

A

Programs and input data that everyone has agreed upon for performance measurements

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

What are the types of benchmarks?

A

Real apps, kernels, synthetic, and peak performance

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

What are the pros/cons of using real application benchmarks?

A

More representative, but harder to set up. Best for testing real machines

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

What is a kernel benchmark?

A

Find the most time-consuming part of an application and test that. Best for prototype testing.

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

What is a synthetic benchmark?

A

Similar to a kernel benchmark, but easier to compile. Best for design studies (when we are in an early stage of development)

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

What is a peak performance benchmark?

A

What is the best performance this machine can get? Usually only good for marketing, not a real indicator of performance. Does not use real code

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

How to compare the performance of two processors?

A

Compare average execution times - do not compute speedups and average them!

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

What is the Iron Law of Performance?

A

CPU Time=(# of instructions) ∗(cycles per instruction)∗(clock cycle time)

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

What is Amdahl’s Law?

A

Measure the speedup when an improvement is applied only to some part of a program

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

What is Lhadma’s Law?

A

Don’t make the uncommon case too slow

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