1.1 The characteristics of contemporary processors, input, output and storage factors Flashcards
What are Von Neumann, Harvard, and contemporary processor architechtures?
(1.1.1)
Von Neumann: shared memory & data bus for both data & instructions
Harvard: physically separate memories for instructions & data, common in embedded, useful for different memory characteristics / optimisation
Contemporary: mixed, Von Neumann for data & instructions in RAM, Harvard for cache
What are RISC and CISC processors and how do they differ? (1.1.2)
RISC: small instruction set, 1 instruction per cycle
CISC: Large set, minimising assembly lines, more in embedded
Comparsion:
- More compiler work in RISC, translating high-level 🡆 assembly
- RISC more RAM needed
- Pipelining in RISC (as 1 cycle)
- CISC few instructions actually used
What factors affect processor performance and why? (1.1.1)
- Clock speed (synchronises / limits CPU operations)
- Number of cores (simultaneous processing)
- Cache (fast memory inside CPU, quicker than RAM, frequent instructions)
What is the function of the Arithmetic Logic Unit? (1.1.1)
Completes mathematical calculations & logical operations.
What is the function of the Control Unit? (1.1.1)
- Controls / coordinates CPU activities
- Manages data flow
- Decodes instructions
How is pipelining used to improve efficiency in a processor and what types of it exist? (1.1.1)
Allowing 3 separate instructions simulatenous fetch, decode, execute cycles, holding data in buffer. Reduces idle components in CPU.
Instruction pipelining: separating instructions
Arithmetic: breaking down operations
What are the function of all of the CPU’s registers? (1.1.1)
- PC: Holds next instruction’s address
- ACC: Stores calculation results
- MAR: Holds address of reading / writing location
- MDR: Temporarily stores read, or upcoming written, data
- CIR: Holds current instruction being executed, divided into operand / opcode
What is ROM? (1.1.3)
- Read-only
- Non-volatile
- Unmodifiable
- Stores fixed instruction sequences (e.g. computer startup routine)
What is the differences between multi-core and parallel systems? (1.1.2)
- Multicore: multiple independent cores, separately, faster for larger
- Parallel: single core with threading
What are the benefits and drawbacks of each of the 3 types of storage devices?
(1.1.3)
Magnetic:
- Benefits: high storage capacity, low cost per GB, suitable long-term
- Drawbacks: slower read/write, physical damage susceptibility, moving parts
Optical:
- Benefits: immune to environment, portable, suitable for distribution
- Drawbacks: lower capacity, slower read/write, easy to damage
Flash:
- Benefits: fast read/write, no moving, more durable, silent, portable
- Drawbacks: high cost per GB, finite RW cycle limit
What is virtual storage and what are its qualities? (1.1.3)
- Remote information storage (e.g. cloud/networked)
- Internet speeds 🡅, virtual storage 🡅
- Multiple drives acting as one
- High costs, internet-reliant
What are the functions of the buses? (1.1.1)
- Control: Bi-directional, transmit commands, timing, status, interrupts,
between components - Address: Transmits memory addresses for retrieving / sending
- Data: Bi-directional transporting data / instructions between components
What occurs in the FDE cycle? (1.1.1)
What is a GPU and what is it used for? (1.1.2)
Co-processor, instructions for common graphic operations & multiple data pieces
at once, highly multicore
Used for: image-processing, machine learning, data mining.
What is RAM? (1.1.3)
- Random-access
- Fast, volatile
- Stores currently used data / programs
- Speeds computer execution
- More expensive than secondary