2: Types of Processor Flashcards

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

What is a processor instruction set?

A

Set of all instructions written in machine code that can be recognised and executed by a given processing unit/CPU

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

What happens if an instruction is read that doesn’t occur in the instruction set?

A

An error flag is produced and the computer halts that program tree.

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

RISC

A

-Reduced Instruction Set Computer
- Provides a fairly small and basic instruction set where in every operation cycle only one value is fetched or stored from/to memory

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

CISC

A

-Complex Instruction Set Computer
- The instruction set is much more varied and one instruction can do an entire sequence of operations across multiple clock cycles

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

GPU

A

-A specialised CPU designed for the manipulation of memory for the image or screen output of a computer.
- Also acts as a parallel processor to increase the performance of the system even in situations that do not involve 3D graphics

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

GPGPU

A
  • General-purpose graphics processing unit
  • Acts as a stream processor, a form of parallel processing where a steam (or flow) of data is fed through the processor to perform vector based calculations.
  • These are much faster than the conventional CPU and are beginning to be used as computational power in supercomputers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why would a GPU be better in an embedded system rather than a CPU?

A
  • Helps to process images and graphics on the system
  • Performance of machine would significantly decrease if CPU was used as it is not designed to specialise in this type of processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Advantage of GPGPU

A

the ability to parallel process in the background whilst the CPU continues to process other data.

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

Parallel Processing

A

The processing of program instructions by dividing them between multiple processors or processor cores

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

Aims of CISC

A

To complete the task in as few lines of assembly as possible

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

Aims of RISC

A

To use simple instructions that will be executed within a single machine/clock cycle.

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

How CISCs make use of the compiler

A

CISC instructions resemble the original command from a high-level language
- The compiler has to do very little work to translate the high level language statement into assembly

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

How RISCs make use of the compiler

A

There are more lines of code required in the assembly version of high level code
- The compiler has to do more conversion work

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

How are RISCs more efficient?

A

Require fewer transistors and less complex hardware, leaving more room for general-purpose registers and cache

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

What is a co-processor?

A

Any additional processor used for a specialised task

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

Purpose of a co-processor

A

To improve the overall speed of the computer by executing concurrently with the main CPU

17
Q

CPUs excel at … while GPUs excel at …

A
  • Complex operations on small data sets
  • Simple operations on large data sets
18
Q

What kinds of data must be assigned before GPUs can render graphics?

A
  • All segments of image given XYZ co-ordinates
  • Every segment would be assigned a texture/pattern
  • A light source would be assigned and given an angle, brightness and how it falls on the wire frame
  • A camera source would be chosen for the image
19
Q

What calculations are required to render graphics?

A
  • 3D arithmetic using XYZ co-ordinates
  • RGB calculations
  • XYZ positions are typically stored as floating point, so lots of floating point operations
20
Q

How do GPUs render graphics?

A

After calculations are completed, they are run through every pixel of the finished image from the camera’s perspective and generate the 2D representation of the 3D space

21
Q

Why are GPUs better at rendering graphics than CPUs

A
  • Huge number of calculations done in parallel
  • The result of one RGB calculation is not dependent on another
  • Mass calculations done in GPUs can take full advantage of parallel processing
  • A CPU may perform one floating point operation quicker than a typical GPU, but a GPU will be able to perform a thousand floating point operations much quicker due to the benefits of parallel processing
22
Q

Examples of computing tasks performed by GPUs

A
  • Oil exploration
  • Weather modelling
  • Machine learning
  • Linear algebra
  • Statistical analysis
  • Stock option predictions
  • Gravitational field theory
23
Q

What is a multicore processor?

A

Single chip containing two or more independent processing units/cores

24
Q

Factors that can further enhance the performance of multicore processors

A
  • On-chip shared cache
  • Inter-core communication
25
Q

Why doubling the number of cores does not double the performance

A
  • Overheads involved with inter-core communication
  • Some programs can’t make maximum use of all cores
26
Q

Objective of parallel processing

A

Run a program in less time

27
Q

How parallel processing could be achieved 1

A

Assigning separate processors or processor cores to the stages of the FDE cycle

28
Q

How parallel processing could be achieved 2

A

The processors or processing cores carrying out a single job split into tasks, with each task able to execute on any unit.