Types of Processors Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Instruction Set

A

The list of all instructions the processor understands

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

CISC

A

Complex Instruction Set Computing

If you want to multiply two numbers x * y
there is an instruction set which will do the multiplication
- MULT x, y

When the complier sees a multiplication in the code it will convert it into a single machine code instruction

However to complete this instruction it might take multiple clock cycles, this requires complex circuitry

So trade off complex hardware but simpler coding

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

Examples of CISC

A

Desktop and laptop computers

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

RISC

A

Reduced Instruction Set Computing

If you want to multiply two numbers x * y, in RISC the complier will need to generate multiple lines of low-level machine code
- LOAD x from memory register 1
- LOAD y from memory register 2
- PROD register1, register2
- STORE into memory location

this is an increase of instructions from 1 to 4 compared to CISC
we can use pipelining to help increase efficiency
means we can have simpler hardware

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

Example of RISC

A

used in mobile phones

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

CISC VS RISC (there’s 7)

A

CISC is used in laptops and desktops computers, made by Intel or AMD
RISC is used in smartphone and tablets, based around ARM processor

CISC has more complex hardware
RISC has simpler hardware

CISC has multiple machine cycles per instructions
RISC has a single machine cycle per instruction

CISC has physically larger in size and require more silicon to make thus more expensive
RISC is smaller in size as less complex circuitry required, less silicon needed to make thus cheaper

CISC has greater energy consumption
RISC has lower energy requirements, and can go into “sleep mode” when not actively processing

More intensive tasks will do better with CISC
RISC runs at a lower clock speed, but can perform simpler tasks more quickly than CISC

CISC cannot support pipelining
RISC can support pipelining

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

Co processors

A

A co-processor is any other processor used for a specific task e.g.
I/O interfacing or encryption, string processing, floating-point arithmetic
they help to improve the performance of the computer but carrying out the instructions in parallel with the main CPU

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

GPUs

A

Graphics Processing Units

used for rendering Graphics
they have a large number of cores
this means they can process many streams of parallel data at the same time
each of the GPU processor streams (100s or 1000s) run at a lower speed than a CPU

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

GPU and CPU

A

CPUs - Good at complex operation on small data sets
GPUs - Good at simple operations on large data sets

GPUs are like a special type of CPU that can execute a single instruction over a large amount of data in parallel

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

GPU uses

A

Artificial intelligence/deep learning systems
breaking encryption schemes
scientific modelling of physical systems, such as modelling the formation of a hurricane
real time signal processing, such as handling satellite imagery

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

Sequential Processing - what is it

A

Sequential processing is when instructions are carried out, one at a time, in the order in which they were received

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

Sequential Processing - how it works

A

A sequential processor would examine each pixel one at a time and apply the processing instruction

it cannot change every pixel at the same time

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

Multicore systems

A

Multicore - A single chip (Chip Multiprocessor CMP) with multiple processing units on it; cores (Dual, Quad)

Each core can execute CPU instructions on their own: ADD, STORE, LOAD

Cores may share a local cache or inter-core communication

Doubling the number of cores DOES NOT MEAN double the performance

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

Parallel Processing systems

A

Working alongside multiple cores

the processing of program instructions by dividing them amongst multiple processors / processor cores

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

Parallell Processing example

A

In a normal processing, each core takes on a separate part of the FDE cycle

Parallel processing with pipelines, a single job is split into tasks. Main processing fetches and decodes the instruction and farms off parts to be executed

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

Types of Parallel Processing - SIMD

A

An array processor has several ALUs. this allows several elements of an array to be processed at the same time rather than in a sequence

Single Instruction Multiple Data (SIMD)
A single instruction is issued by a control unit and that instruction is applied to a number of data sets at the same time

Games consoles and graphics cards make heavy use of array processors to shift those pixels about

-ve = This architecture relies on the fact that the data sets are all acting on a single instruction. However, if these data sets somehow rely on each other than you cannot apply parallel processing

16
Q

Types of Parallel Processing - MIMD

A

The next level of parallel processing is to have multiple instructions acting upon multiple data sets. this is called MIMD or Multiple Instruction Multiple Data

Focuses the efforts of multiple CPUs to a single task, with each CPU carrying out only part of the overall task. A program called ‘Job Scheduler’ is responsible for assigning these parts to each core

-ve = Dependent on task being able to cut a problem down into chunks that can be processed independently. But not many problems can be broken down this way

Programmers also have to write specific code to make use of the multi-core CPU. This is actually quite difficult and even now most applications running on a multi-core CPU will not be making full use of all the cores

17
Q

Advantages of Parallel Processing

A
  • Faster than one processor when handling lots of data, with each component of data requiring the same processing
  • Not limited by bus transfer rate
  • Can make maximum use of CPU despite bottlenecks
18
Q

Disadvantages of Parallel Processing

A
  • Only certain types of problems are suitable, a problem where its component parts depend on each other cannot be parallel processed
  • More costly as more processing blocks are needed
  • Software is harder to write and a complex OS is required to communicate with multiple processors
19
Q
A