Memory Flashcards

1
Q

What is SRAM?

A

Static Random Access Memory - Retains data while power is supplied, but will lose it once power is lost. More expensive, but faster

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

What is DRAM?

A

Dynamic Random Access Memory - Loses data if we don’t constantly refresh it

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

Why is SRAM more expensive than DRAM?

A

It requires more than one transistor per bit of memory

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

What are SRAM and DRAM used for?

A

SRAM for caches and DRAM for MM

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

Describe a magnetic disk

A
  • Circular platters with 2 surfaces that can store data

- platters are stacked on top of each other around a spindle with an assembly head attached to each one

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

What is a track?

A

Each platter is divided into tracks - one rotation around the platter at a given distance

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

What is a cylinder?

A

All of the tracks from the same distance from the spindle

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

What is a sector?

A

Each track is divided into sectors - has header and checksum bits

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

What are the things that can slow down magnetic disk access?

A

Seek time (move head to correct cylinder), rotational latency, data read, controller time (check checksum), I/O bus time (send data back to mm), queuing delay

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

What are the slowest components of magnetic disk access?

A

Disk access time is dominated by the seek time and rotation speed

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

What is the main difference between optical disks and magnetic disks?

A

Use laser instead of assembly head ==> allows for optical disks to be portable

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

What is a con of optical disks?

A

They must be standardized because they are portable => slows rate of improvement

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

What is magnetic tape used for?

A

Backup storage

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

What are the pros/cons of magnetic tapes?

A

(+)Large capacity and easily replaceable
(-) sequential access
(-) expensive because no one is buying them

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

What is SSD?

A

Solid-state disk. Attempt to use benefits of DRAM for hard drive storage

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

What are the implementation options for SSD?

A
  1. DRAM + Battery
    - Fast, reliable, but very expensive and not good for archiving (remember DRAM is not persistent)
  2. Flash
    - Low power, faster than disks (but slower than DRAM)
    - But smaller capacity than disks (GBs vs TBs)
    - Keep data without power
17
Q

What is Hybrid Magnetic-Flash Storage?

A

tries to combine best of both worlds - use flash for cache for the disk, use magnetic disk for storage. Most frequent data is put in the cache. Both mediums are persistent, so power loss is not an issue

18
Q

Pros/cons of magnetic disks

A
(+) low cost / GB
(+) huge capacity
(-) eats power
(-) slow (must move mechanical head)
(-) sensitive to impacts while spinning (head can scratch disk and permanently damage it)
19
Q

Pros/cons of flash

A

(+) fast
(+) power efficient
(+) no moving parts