Hardware - CPU Performance Flashcards

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

what is the function of the clock speed

A

determines number of fetch-execute-decode cycles per second
- every action in CPU happens within a tick of the clock / clock cycle

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

what is clock speed measure in

A

Hertz (Hz)

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

how many cycles would a 3.8 GHz processor have

A

3.7 billions times per second

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

what is Cache size

A

temporary storage of copies of data + instructions being ** read to + written from** the main memory

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

what are the advantages of the speed of cache memory

A
  • operates must faster than main memory –> data transferred in and out of cache memory quicker
  • much quicker to access than RAM –> makes CPU more efficient –> since less time waiting for data to be transferred
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

why are copies of data and instructions stored in Cache

A
  • want to avoid retrieving data / instructions from the main memory as much as possible –> takes more time
  • save time by have cache memory* already in the processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is the system cache uses to optimise speed

A
  • there are 2 or 3 levels of cache
  • *fastest cache** = smallest capacity = Level 1 cache
  • CPU will optimise use of fastest cache before using next level , or RAM , to improve performance speed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

describe the difference type of levels within cache

A

L1:
- fastest , but smallest in size
- hold most frequently use instructions / data
L2:
- bigger capacity, but slower in speed
- holds less frequently used instructions + data

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

what is a core

A

a processor (complete copy of CPU)

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

what is the function of different numbers of cores

A
  • 1 core can process one operation per clock cycle
  • dual-core = 2 operations simultaneously
  • quad-core = 4 operations simultaneously
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

does doubling the number of cores simply double the overall speed?

A

No
- core communicate with each other –> takes time + efficiency
- many programs are not designed for multiple core –> will not work

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

what are the factors that will affect the speed of the CPU

A
  • cache size
  • clock speed
  • number of cores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is an instruction set

A

a processors list ofall its specific commands, written in machine code that can be processed + executed by a CPU

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

what is each command associated with

A

machine code

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

what is a mnemonic

A

mnemonics represent assembly language instructions / machine code to make it easier for humans to understand

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

what is a embedded system

A
  • a smaller computer system with a dedicated function within a larger system, device or machine.
17
Q

what is the purpose of embedded systems

A

control the device and to allow a user to interact with it.

18
Q

do embedded systems need a full operating system and why?

A

NO
- only perform limited + very specific tasks
- their input is frequently controlled by a button press / switch

19
Q

give 5 examples of ab embedded system

A
  • domestic appliances - dishwashes, TV
  • cars
  • security systems
    -central heating system
  • vending machines
20
Q

advantages of embedded systems compared to general-purpose computers include:

A
  • limited number of functions = they are cheaper to design and build.
  • smaller
  • require less power –>some devices run from batteries
  • low cost per unit –> can be built using cheaper, less powerful processors
    .
21
Q

what are the limitations of embedded systems

A
  • limited processing resources = more difficult to program + interact with
22
Q

why must embedded systems be reliable

A

cannot be modified once manufactured –> the program that controls it is held in the Read Only Memory (ROM)