1.1.2 types of processor Flashcards
What is an instruction set and what are the 2 types?
- Set of all instructions written in machine code that can be recognised and executed by a given processing unit/CPU
- CISC AND RISC
What is RISC
- Reduced Instruction Set Computing
- Instruction set made up of a small number of simple, fixed-length instructions/commands
- 1 instruction executed per clock cycle (designed to process simple instructions quickly)
RISC examples of manufacturers
- ARM processors
Where are RISC processors suitable for use and why?
- tablets, smartphones, and embedded systems, where it is not necessary to carry out complex instructions.
Advantages of RISC
- simpler instruction design (all instructions are uniform in terms of execution time) makes pipelining easier to implement –> increases performance of RISC.
- simpler instructions mean programs run faster
- require less circuitry (fewer transistors) –> cheaper to design and produce, give off less heat, consume less power and leaves more room for general purpose registers and cache
-lower energy requirements
Disadvantages of RISC
- several instructions needed therefore low-level programs for RISC processors are longer and take up more memory.
- Uses a lot RAM to store assembly instructions (more lines of code required). Can cause system bottlenecks if RAM is limited
- Emphasises software over hardware: high-level compilers that simplify and translate programmers code do more work
- larger code sizes (lower cycles per second)
- fewer addressing modes available
What is CISC
- Complex Instruction Set Computing
- large number of complex instructions of variable length each taking multiple cycles to carry out
Uses of CISC and examples of manufacturers
- most desktops computer and laptops
- Intel (x86) and AMD
CISC advantages
- simpler software (compiler does less work as emphasis is on hardware)
- larger instruction set = work better with more intensive tasks (executes complex instructions and carry out a number of low-level operations as part of a single instruction)
- more specialised instructions means low-level programs for CISC processors take up less space in memory and are easier to translate to machine code.
- small code sizes, higher cycles per second
-makes more efficient use of RAM (CISC requires less to store instructions)
-multiple addressing modes available
CISC disadvantages
- More circuitry (transistors) needed to execute complex tasks as it aims to complete in as few lines of assembly as possible. (expensive)
-greater energy consumption, gives off more heat - instructions can take multiple machine/clock cycles to execute —> makes pipelining difficult therefore CISC processing used for specialist computer systems
what is a co processor?
- any additional processor used for a specialised task
- why did co processors emerge?
- what do they do?
- tech advanced —> demand increase on single CPU
- improve overall speed of computer by executing concurrently with main CPU, aided by a highly bespoke set of electronics
outline the 2 key differences between CPU and GPU
- central processing unit is more general purpose in contrast to graphics processing unit which is highly specialised
- CPU excels at performing complex operations on small data sets but GPU excels at performing simple operations on larger data sets
What is the GPU’s bespoke design useful for (PP). And what applications can have improved performance from use of this
- Parallel Processing
- improves performance of video/graphic-intensive applications
Which contemporary architecture does it make use of and why. SIMD, MIMD or Distributed Computing?
- SIMD
- because mass calculation associated to graphics processing take full advantage of parallel processing
what does SIMD stand for
- Simple Instruction Multiple Data
What does the contemporary architecture SIMD allow for
- parallel processing when a processor carries out single instruction on multiple data items at the same time
give some uses of GPU’S
- weather modelling
- data mining
- machine learning
- linear algebra
- statistical analysis
- cryptocurrency to mine bitcoins
- graphics rendering
what is memory mapped output
- facility for producing some form of basic visual output by mapping values in memory to pixels on a screen
what is the benefit of a separate, dedicated processor for a computer running applications that require video/graphic-intensive applications?
- this design frees up main processor to handle other tasks.
what do graphics cards contain
- own set of RAM and processor (GPU)
Although GPUs best known for use in gaming, what other specialised purposes can they be used for (hint: ML) and why?
- machine learning applications.
- GPUs with 1000’s of cores = optimised to parallel process calculations, required for machine learning algorithms (usually good for one task)
give an example of machine learning
- training a neural network
why are operations such as 3D graphics rendering divided across multiple cores?
- as each core performs a small part of the whole operation.