Memory Flashcards

1
Q

What is primary memory ?

A

Lives in the system bus address space directly accessible from the CPU

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

What is secondary memory ?

A

Hard drives, Solid State Drives, All data must be transferred to the primary memory

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

What is tertiary memory ?

A

Recent versions of Offline storage

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

What is offline memory ?

A

Storage connected externally, via the I/O or manual insertion.

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

What is primary storage made up of ?

A

consists of many storage cells, each cell can hold 1 bit. Each memory location can hold 1 word (16 bits).

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

What are the three types of RAM?

A

RAM, Static RAM, Dynamic RAM

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

What is Static RAM ?

A

bits stored in flip flops, fast, retains state, complex instructions, high cost. Used in registers and cache

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

What is dynamic RAM ?

A

Bits stored in charge capacitors, slower than Static, discharges after some time, structurally simple, Low cost, used as the main bulk of the RAM

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

What is a memory controller ?

A

Maps system addresses to one RAM module

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

What is ECC RAM ?

A

Used for more confidence in RAM errors. Usually stores extra copies of data. Not commonly used as DRAM is good enough

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

What is LP-DDR RAM ?

A

Low power, can shut down parts of the RAM that are not in use. Used in phones and laptops

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

What is ROM ?

A

Limited number of write / erase cycles, non-volatile. used to store firmware

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

What is the Cache ?

A

small amount of fast memory between the CPU and the DRAM

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

What types of locality are there ?

A

Temporal locality – values tend to be accessed repeated at nearby time

Sequential locality – same sequences tend to be re-accessed

Spatial locality – memory addresses close to each other tend to be accessed together

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

What types of the cache are there ?

A

Instruction cache and data cache

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

What is the translation look aside buffer ?

A

A cache that stores the recent translations of virtual memory to physical memory

17
Q

What is a memory tag ?

A

Addresses or IDs that describe what memory is located on the block

18
Q

What is a block ?

A

sequence of bytes or bits

19
Q

What is a dirty bit ?

A

Tracks whether the block has bit modified

20
Q

What is hit / miss and vitcims ?

A

Hit / miss is whether the data is found or not
victim is the part of the cache which will be erased

21
Q

What is a hash function ?

A

Used to map data of arbritrary size to fixed size positions

22
Q

What makes up a hard disk ?

A

one or more rigid disks coated with magnetic material. magnetic heads mounted on moving arms for read / write.
platter spins at high speeds, each platter has tracks, each track into sections. data stored in the sectors.

23
Q

What is RAID architecture ?

A

More reliable way of using hard disks. RAID 1 = copy data across multiple disks. RAID 5 = Split file across multiple disks

24
Q
A