Memory Organisation Flashcards

1
Q

What is the goal of the memory hierarchy?

A

To create a memory system that gives the illusion of being large, cheap, and fast most of the time

Achieved through hierarchy and parallelism

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

What are the two types of locality in memory access?

A
  • Temporal locality
  • Spatial locality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is ‘hit’ in the context of memory hierarchy?

A

Data requested is in the upper level

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

What is ‘miss’ in the context of memory hierarchy?

A

Data requested is not in the upper level

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

What does SRAM stand for?

A

Static Random Access Memory

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

What does DRAM stand for?

A

Dynamic Random Access Memory

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

What is the minimum unit of data in memory hierarchy called?

A

Block

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

What is the term for the time to access one word in memory?

A

Latency

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

What does ‘bandwidth’ refer to in memory performance metrics?

A

How much data from the memory can be supplied to the processor per unit time

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

What are the two main types of memory based on volatility?

A

Volatile memory
Nonvolatile memory

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

What is the difference between volatile and nonvolatile memory?

A

Volatile: Information is lost when power is off
Nonvolatile: Information remains without power

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

What is a key disadvantage of read-only memory (ROM)?

A

No room for error, if one bit is wrong, the entire batch must be discarded

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

What is the main purpose of cache memory?

A

To reduce average access time by storing frequently accessed data

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

What does ‘valid bit’ indicate in cache memory?

A

Whether the data in the cache is valid

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

What is the principle of locality in cache memory?

A

If a memory reference to address A occurs, the next reference is likely to be near A

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

What is the access time of SRAM compared to cycle time?

A

SRAM access time is very close to cycle time

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

What is the refresh requirement for DRAM?

A

Needs to be refreshed regularly

Every 8 ms

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

What technology does flash memory fall under?

A

Electrically erasable programmable read-only memory (EEPROM)

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

What is the primary advantage of using a memory hierarchy?

A

To exploit the trade-off among capacity, access time, and cost

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

What is the function of a disk cache?

A

To temporarily hold data to be read out to disk for faster access

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

What are the three techniques for mapping main memory blocks into cache lines?

A

Basic direct-mapped cache
Associative cache
Set-associative cache

22
Q

What does DDR stand for in memory technology?

A

Double Data Rate

23
Q

What advantage does DDR memory have over traditional SDRAM?

A

Transfers data on both the rising and falling edges of the clock

24
Q

What is the typical structure of a DRAM cell?

A

Cells that store data as charge on capacitors

25
What is the primary use of SRAM?
For cache memory ## Footnote Both on and off chip
26
True or False: Flash memory is generally faster than SRAM & DRAM
False
27
What is the main disadvantage of PROM?
Can be written into only once
28
What is the purpose of a cache read operation?
To retrieve data from cache before checking main memory
29
What are the two types of semiconductor memory?
Static RAM (SRAM) Dynamic RAM (DRAM)
30
What is the primary characteristic of nonerasable memory?
Cannot be altered, except by destroying the storage unit
31
What is the term for a memory cell that requires periodic refreshing?
Dynamic RAM (DRAM)
32
What does the term 'memory performance metrics' include? ## Footnote 4 Answers
Latency Access time Cycle time Bandwidth
33
What is the typical use of a unified cache?
To balance loads of instruction and data fetches automatically
34
What is a key feature of split caches?
Eliminates contention between instruction fetch and execution units
35
What type of memory is characterized by being nonvolatile?
Flash memory, magnetic disks
36
What is the JEDEC?
JEDEC Solid State Technology Association ## Footnote It is the semiconductor-engineering-standardization body of the Electronic Industries Alliance.
37
What is DDR used for?
Widely used in desktop computers and servers
38
How does DDR achieve higher data rates?
By three methods: * Synchronized data transfer to both rising and falling edges of the clock * Higher clock rate on the bus * Buffering scheme
39
What are the key characteristics of DDR?
Higher data rates through synchronization, clock rate, and buffering
40
What is a byte?
8 bits
41
What does temporal locality mean?
It will tend to be referenced again soon
42
What does spatial locality mean?
Nearby items will tend to be referenced soon
43
What is 'block' in the context of memory hierarchy?
A minimum unit of data
44
What is cheaper? SRAM | DRAM
DRAM ## Footnote Cheaper = Slower
45
How do magnetic disks work?
1. Metal platters covered with magnetic recording materials on both sides 2. The platters rotate 3. Moveable arm read & writes
46
What is the order of memory hierarchy?
1. Registers 2. Cache 3. Main memory 4. Magnetic disk / SSD 5. Tape / Optical disk
47
What other terms is non-volatile memory called?
Secondary memory Auxiliary memory
48
Name 4 methods of accessing units of data
Sequential access Direct access Random access Associative
49
Describe tags
They are added cachetag containing address information to identify a word
50
Are SRAM& DRAM volatile or non-volatile?
Volatile