Assessing & Understanding Performance Flashcards

1
Q

What is the key factor that determines the effectiveness of a computer system?

A

Hardware performance

Hardware performance is crucial for the effectiveness of both hardware and software.

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

What are the major performance parameters in computer systems?

A

Response time (execution time)
Throughput (bandwidth)

Response time refers to the time taken to complete a task, while throughput refers to the amount of work done in a given time.

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

What is response time also known as?

A

Execution time

Response time indicates how long it takes for a job to run.

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

What does throughput measure?

A

Total amount of work done in a given time

Throughput is also referred to as bandwidth.

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

How is machine clock rate expressed?

A

In MHz or GHz

The clock rate is the inverse of clock cycle time.

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

What is the relationship between clock cycles and execution time?

A

Execution time = # CPU clock cycles x clock cycle time

Execution time can also be calculated using clock rate.

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

What is CPU execution time?

A

Time the CPU spends working on a task

It does not include time spent waiting for I/O or running other programs.

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

What counts in elapsed time?

A

Disk and memory accesses, I/O, etc.

Elapsed time includes all operations, making it useful but not ideal for comparisons.

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

How do you improve performance?

A

Decrease the # of required cycles for a program
Decrease the clock cycle time
Increase the clock rate

These adjustments can lead to improved performance.

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

What is CPI?

A

Clock cycles per instruction

CPI represents the average number of clock cycles each instruction takes to execute.

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

What is the formula for overall effective CPI?

A

Effective CPI = Σ (CPIi x ICi)

Where ICi is the instruction count for instruction class i.

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

What does Amdahl’s Law state?

A

Performance enhancement is limited by the amount that the improved feature is used

It helps to understand the impact of improvements on program execution time.

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

What is the arithmetic mean used for in performance measurement?

A

To summarize performance for a benchmark set with a single number

A smaller mean indicates better performance.

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

How do you calculate CPU execution time?

A

CPU execution time = # CPU clock cycles for a program x clock cycle time

This calculation helps determine the total time a program takes to execute.

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

What is the formula for calculating performance?

A

CPU time = Instruction count x CPI x clock cycle time

This equation helps assess the performance of a program on a specific machine.

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

What does Amdahl’s Law describe?

A

The theoretical speedup of a task when only part of it is improved

Amdahl’s Law helps to understand the limitations of performance improvement based on the proportion of the task that can be enhanced.

17
Q

In Amdahl’s Law, what does the variable ‘n’ represent?

A

Amount of Improvement

‘n’ is used to quantify how much faster a specific part of a task needs to be in order to achieve the desired overall speedup.

18
Q

If trying to increase the entire execution time by a factor of 5, what is the outcome?

A

Cannot be done

The calculations show that with the given parameters, it is impossible to achieve the desired speedup.

19
Q

List three benchmarks from the SPEC CPU2000.

A
  • perl
  • bzip2
  • gcc

These benchmarks are used to measure the performance of processors.

20
Q

What is the most important metric for power-limited applications?

A

Energy efficiency

Energy efficiency is crucial, especially in embedded systems where battery life is a major concern.

21
Q

What are static metrics in evaluating ISAs?

A
  • Memory occupancy
  • Instruction count

Static metrics provide a snapshot of resource usage without executing the program.

22
Q

What is the best metric for evaluating the performance of a program?

A

Time to execute the program

Execution time offers a direct measure of performance effectiveness.

23
Q

What factors can lead to performance increases in a given architecture?

A
  • Increases in clock rate
  • Improvements in processor organization
  • Compiler enhancements
  • Algorithm/Language choices

These factors contribute to the overall efficiency and speed of a processor.

24
Q

True or False: Performance is specific to a particular program.

A

True

Performance can vary significantly depending on the program being executed.

25
Fill in the blank: Total execution time is a consistent summary of _______.
performance ## Footnote This emphasizes the importance of total execution time in assessing system efficiency.
26
What is the Clock Cycle formula?
27
What does elapsed time count?
Everything
28
What does: #CPU clock cycles / clock rate equal?
CPU execution time
29
What is the CPI formula?