1/66
Looks like no tags are added yet.
Integrated circuit (IC)/Microchip/Chip
Combines dozens to millions of transistors
Kilobyte/KB
Thousand/10³
Megabyte/MB
Million/106
Gigabyte
Billion/109
Terrabyte/TB
Trillion/1012
Petabyte
Quadrillion/1015
Nanosecond/ns
10-9
1 GHz
1 × 10^9 cycles/sec; 1 ns/cycle
What is the instruction count set by?
Program, compiler, and ISA
What is the CPI set by?
Set by hardware organization and instruction mix
What is clock cycle time set by?
Set by hardware technology and clock design
Clock cycle time/Clock time/Clock period
Time for 1 clock period, measured in seconds/cycle (usually ns)
Clock rate/frequency
Cycles per second (measured in Hz)
What is the relationship between CPU clock cycle time/period and CPU clock rate/frequency?
Inverses; Clock cycle time = 1/Clock rate; Clock rate = 1/Clock cycle time.
A higher clock rate means what for the clock period?
A shorter/faster clock period.
Formula for number of CPU clock cycles
Instruction count x CPI
CPU time/execution time formula
Take num of clock cycles and either multiply by period or divide by rate
Execution time/response time
The total time required for the computer to complete a task, including disk accesses, memory accesses, I/O activities, operating system overhead, CPU execution time, and so on.
Throughput/bandwidth
Number of tasks completed per unit of time.
A faster processor has what effect on performance?
Decreased response time and increased throughput
Instruction mix
Measure of the dynamic frequency of instructions across one or many programs.
Amdahl’s Law
Possible performance enhancement is limited by how much the improved feature is actually used.
True or False: Computers at low utilization use little power.
False
What is the most critical resource of computer design?
Energy
Power limitations forced computer designers to do what?
To exploit parallelism to improve system performance.
“x is n times as fast as y” - What formula determines this?
(performance x / performance y) = (execution time y / execution time x) = n
Instruction set
Vocab of commands understood by a given architecture (eg LEGv8, Intel x86)
Register
Small, fast, intermediate storage unit in CPU; holds data during arithmetic operations
LEGv8 number of registers
32 (X0 - X30, XZR) (XZR always equals zero)
ADDIS
Add and set flags
LDUR
Load; Memory > register
STUR
Store; Register > memory
CBZ X1, #25
If (x1 == 0), go to PC + 4 + 100
CBNZ
If (x ≠ 0), go to PC + 4 + 100
B.cond #25
If (condition), go to PC + 4 + 100
B #2500
Go to PC + 4 + 100
BR X30
Go to X30
BL #2500
X30 = PC + 4; PC + 4 + 10000
LSL X1, X2, #10
X1 = X2 << 10
LSR X1, X2, #10
X1 = X2 >> 10
EOR
Exclusive OR; ^
ORR
Inclusive OR; |
More registers means what for clock frequency?
Slower clock frequency
Number of bytes in a doubleword
8
LDUR X1, [X22, 8] means…?
Put value of Memory[X22, #8] in register X1
STUR X1, [X22, #8] means…?
Put value of register X1 into Memory[X22, #8]
Least significant bit (LSB)
Rightmost bit in a doubleword
Most significant bit (MSB)
Leftmost bit
Binary values right to left
1 2 4 8 16 32 64 128
Hex letter values 10-15
10 = a, 11 = b, 12 = c, 13 = d, 14 = e, 15 = f
How do you convert to 2’s complement when the MSB (leftmost bit) is 1?
Flip, add one, then add minus sign
Bytes/bits in a word (LEGv8)
1 byte/8 bits
Bytes/bits in a doubleword (LEGv8)
8 bytes/64 bits
Adding additional processors to a system that uses multiple processors for separate tasks -- for example, searching the web -- has what effect? Assume that before adding processors, tasks do not wait to execute (tasks do not "queue up").
Increases throughput
Adding additional processors to a system that uses multiple processors for separate tasks -- for example, searching the web -- has what effect? Assume that before adding processors, tasks often must wait to execute due to another task executing (tasks "queue up").
Increases throughput and decreases response time
Elapsed time/response time/system performance
Total time to complete task (disk/memory access, I/O, everything); time experienced by user
CPU time
The actual time the CPU spends running instructions either of the task, or of the OS for the task
User CPU time/CPU performance
CPU time spent in a program itself/time running a task, excluding time waiting for I/O or other programs
System performance
Elapsed time
CPU performance
User CPU time
CPU clock cycles units should be…
cycles
CPU clock rate units should be…
cycles/second
An increased clock rate means what for clock cycle length?
Decreased clock cycle length
Opcode
The field that denotes the operation and format of an instruction.
Rm
The second register source operand.
Rn
The first register source operand.
Rd/Rt
The register donation operand. It gets the result of the operation.