Performance Items Flashcards

1
Q

What is CPU Frequency

A

cycles/second -
Clock rate- how many pauses are issues per second.
CPU cycle is the amount of time CPU preforms fetch, decode, excute.

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

CPU clock device

A

a device (hardware) that emits synchronization pauses. When such signal arrives to CPU component, CPU component does one unit of work

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

CPU Cycle

A

time between two synchronization pulses

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

What is the measurement unit of CPU frequency? What exactly does it measure?

A

the frequency of synchronization pulses in the CPU. cycles per second.

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

Does CPU frequency affect the computer performance?

A

The higher the frequency, the higher the computer performance. More instructions are done pers second.

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

Name other factors that define computer performance

A

number of cores, CPU architecture, RAM performance, cache efficiency and speed

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

What are the software factors that affect execution speed?

A

program efficiency, compiler efficiency

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

What hurts program execution speed more: weak hardware or inefficient program code?

A

Inefficent Program Code

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

What is the most reliable way to compare performance of different computers?

A

Benchmarks

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

Benchmark Suites

A

fixed program that is used by different computers to compare computer performance.
Set of benchmarks to get a well-rounded performance effiency-Different benchmarks stress different components, like CPU, memory, and storage.

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

Prefixes k, M, G, ki, Mi, Gi, p, n.

A

K = 1000 = 10^3
M = 1,000,000 = 10^6
G = 1,000,000,000 = 10^9

p(pico = 10^-12
n= 10^-9
micro = 10^-6
mili=10^3

KB = 2^10 = 1024
MB = 2^20= 1,000,000+
GB = 2^30

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

How do you compare execution times of two programs?

A

no running time difference, only ratio

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

Avergae CPI

A

average_CPI = total_number_of_cycles /dynamic_intsr_count

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

What is dynamic instruction count? What is the measurement unit dynamic instruction count?

A

Actual number of instructions for CPU to finihs the whole program.

UNIT: Instruction:

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

Equations that connect execution time, total number of cycles, CPU frequency (also known as clock rate), cycle duration, average CPI, dynamic instruction count.

A

LOOK AT NOTION

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

Powerwall

A

powerwall is about the physical limitations that prevent engineers from raising CPU frequency

17
Q

Why do we want to raise CPU frequency

A

The higher the frequency, the higher the computer performance, but the more heat the CPU is generating

18
Q

What prevents engineers from raising CPU frequency?

A

more heat the CPU is generating. CPU stops functioning corrrectly.

19
Q

What are the advantages of using lower voltage?

A

lower heat generation
longer battery life
lower electricity bills

20
Q

Transistor

A

small CPU components

21
Q

What is transistor leakage?

A

transistor imperfection that doesn’t allow to use transistors with a very low voltage

22
Q

Formula for

A

CPU time = Total CPU clock cyles/clock rate (cycle/sec)

23
Q

CPI

A

Cycles per Instruction

24
Q

Total Cycles

A

Average
CPI (cylcer/instr) * instruction_Count