Architecture Flashcards
Carlos Reano
What is computer architecture?
Science + art of selecting + interconnecting hardware components to create comp that meets functional, performance + cost goals.
What is below a program?
Application software written in HLL, system software & the hardware with the processor, memory + I/O controllers.
What is system software?
Compiler translates HLL code into machine code + operating system with service code deals with input/output, manages memory + storage, schedules tasks + shares resources.
What are the different levels of program code?
High level language, assembly language (textual rep of instructions + hardware representation (bits, encoded instructions + data)
What is HLL code?
High level language. Level of abstraction closer to problem domain + provides for productivity + portability.
What is an ISA?
Instruction set architecture. Describes aspects of comp architecture visible to low level programmer, including native datatypes, registers, instructions, addressing modes, memory architecture, interrupt + exception handling + I/O organisation.
What are the levels of computer architecture?
Abstraction, which helps us deal with complexity by hiding lower level details. ISA (hardware/software interface) then application binary interface (ISA + system software interface) + implementation (details underlying interface)
What is the Von Neumann model?
Shows components for all comps. Input, output, memory, datapath + control (sometimes combined as CPU/processor) Transistors found in processor, called chips.
What does the datapath do?
Performs operations on data.
What does the control do?
Sequences datapath + memory.
What does input/output include?
Network adapters for communicating with other comps.
What is the processor made up of?
Transistors made of silicon which is a semiconductor + materials added to it to transform its properties. They make up memory.
What is yield?
Proportion of working dies per wafer.
What is Moore’s Law?
Predicted that num of transistors that can be integrated on die would double every 1.5 to 2 years.
What is the memory wall?
Processor performance becomes faster than memory performance. Processing elements become fast + need more data to process but memory speed doesn’t improve as fast.
How do we overcome the power wall?
Can improve clock rate without increasing power by using muliprocessors/multicore processors. This means we have multiple processors on each chip. Requires explicitly parallel programming. Compare with instruction level parallelism, hardware executes multiple instructions at once, hidden from programmer. Hard to do as need high performance, load balancing, optimised comms + synchronisation.
What is response time?
How long it takes to do a task.
What is throughput?
Total work done per unit time.
What is the performance equation (n times faster)?
Performance = 1/execution time e.g. performance(x)/performance(y) = execution time(y)/execution time (x) = n times faster
What is the percentage change equation?
Percentage change = ((new – old)/old)*100. Positive result indicates increase whilst negative result indicates decrease.
What is elapsed time?
AKA system performance, total response time, including processing, I/O, OS overhead, idle time etc.
What is CPU time?
AKA CPU performance, time spent processing given job (discounts I/O time, other jobs’ shares). Comprises user CPU time + system CPU time. Diff programs affected differently by CPU + system performance.
What is a clock cycle?
Clock period/cycle = duration of clock cycle (in ps) 1/clock rate. Operation of digital hardware is governed by constant rate clock. 1 ms = 10-3 s, 1 us = 10-6 s, 1 ns = 10-9 s, 1 ps = 10-12 s