Computer Memory Overview
- 36Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the primary role of an SSD in a computer?
Long-term storage of programs and data; data is copied to DRAM when needed for use.
Or swipe the card
36 cards
What is the primary role of an SSD in a computer?
Long-term storage of programs and data; data is copied to DRAM when needed for use.
What is the primary role of DRAM?
Working memory (main memory) that temporarily stores data for the CPU to access quickly.
Compare the access times of SSD and DRAM.
SSD: ~50 microseconds; DRAM: ~17 nanoseconds. DRAM is about 3000 times faster.
Compare typical capacities of an SSD and a DRAM stick.
An SSD can hold terabytes (e.g., 2 TB) while a DRAM stick typically holds gigabytes (e.g., 16 GB). SSD capacity is over 100 times that of DRAM.
Why is DRAM considered volatile memory?
It requires continuous power to retain data; capacitors leak charge and must be refreshed periodically.
List the memory hierarchy from fastest to largest capacity.
Registers > Cache > DRAM > SSD/HDD.
What is prefetching in the context of memory management?
Moving data from SSD to DRAM before it is needed, to reduce waiting time.
What does DIMM stand for and what is it?
Dual Inline Memory Module; it is the physical stick of DRAM containing multiple memory chips.
How are DDR5 memory channels organized on a DIMM?
Each memory channel is divided into two 32-bit sub-channels (Channel A and Channel B), each with 32 data wires, plus address and control wires.
How many DRAM chips on a channel work in parallel during a transfer?
All 4 chips on the channel work in parallel, sharing the address/control wires but each chip reading/writing 8 bits (one byte) independently.
Describe the internal organization of a DDR5 DRAM die.
A die contains 8 bank groups, each with 4 banks, totaling 32 banks. Each bank has 65,536 rows and 8,192 columns of memory cells.
How many bits are transferred per DRAM chip per access?
8 bits (one byte) per chip per access, because columns are grouped by 8.
What is the 31-bit address breakdown for selecting a group of 8 memory cells?
3 bits for bank group, 2 bits for bank, 16 bits for row, and 10 bits for column.
Why does DDR5 have 32 banks instead of fewer?
More banks allow multiple rows to be open at the same time, increasing row hit probability and reducing average access latency. Also allows refreshing one bank per group while others are active.
What does SDRAM stand for?
Synchronous Dynamic Random Access Memory; it is synchronized with the system clock.
What is a 1T1C memory cell?
A DRAM memory cell consisting of one transistor and one capacitor.
How is a binary 1 stored in a DRAM capacitor?
The capacitor is charged to a voltage of approximately 1V (1.1V for DDR5), representing a logical '1'.
How is a binary 0 stored in a DRAM capacitor?
The capacitor has no charge (0V), representing a logical '0'.
What are the functions of wordlines and bitlines in a DRAM array?
Wordlines activate rows (connect to transistor gates); bitlines connect to capacitors through transistors for reading/writing.
Describe the steps to read data from a DRAM cell.
- Precharge bitlines to 0.5V. 2) Activate the wordline (open row). 3) Sense amplifiers detect voltage changes and drive bitlines to 1V or 0V. 4) Column multiplexer selects 8 bitlines. 5) Data sent to CPU.
How does writing data to DRAM differ from reading?
After opening the row, the write driver overrides the bitline voltages with new data (stronger than sense amplifier), forcing the capacitors to the desired values.
Why does DRAM need periodic refresh?
Transistors are tiny and leak current, causing capacitors to lose charge. Refresh restores charge before data corruption.
How often is each DRAM bank refreshed?
Every 64 milliseconds; rows within a bank are refreshed sequentially.
How long does it take to refresh a single row?
About 50 nanoseconds.
What is a row hit (page hit) in DRAM?
When the CPU requests data from a row that is already open (active), only the column address is needed, skipping row activation steps.
What is a row miss in DRAM?
When the CPU requests data from a different row than the one currently open; requires closing the current row, precharging, and opening the new row.
Explain the DRAM timing parameters: CL, tRCD, tRP, and tRAS.
CL: CAS latency (time from column address to data). tRCD: row address to column address delay (time to open a row). tRP: row precharge time. tRAS: minimum active to precharge time.
What does DDR stand for in DDR5?
Double Data Rate – data is transferred on both the rising and falling edges of the clock signal, doubling the data rate relative to the clock frequency.
What is the burst buffer in DRAM?
A 128-bit temporary storage that loads 128 memory cells at once; column address splits into 6 bits for multiplexer selection and 4 bits for burst sequence.
Why are large DRAM banks divided into subarrays?
To reduce wordline and bitline lengths, decreasing capacitive load and allowing smaller capacitors; typical subarray size is 1024x1024.
What is folded DRAM architecture?
Each sense amplifier connects to two bitlines (active and passive), with alternating rows using one or the other; creates a differential pair with cross-coupled inverters.
List three benefits of folded DRAM architecture.
- Easier precharge (connect two bitlines to average 0.5V). 2) Noise immunity due to differential signaling. 3) Reduced parasitic capacitance on bitlines.
What is the role of a sense amplifier in DRAM?
To detect small voltage changes on bitlines and amplify them to full logic levels (1V or 0V).
How does a cross-coupled inverter in a sense amplifier work?
It forces the two bitlines (active and passive) to opposite values. When active is 1, passive becomes 0, and vice versa.
How does GPU DRAM (VRAM) differ from regular DRAM?
VRAM has larger bandwidth, can read and write simultaneously, and operates at lower frequency.
How does smartphone DRAM differ from regular desktop DRAM?
Smartphone DRAM is stacked on top of the CPU (PoP) and is optimized for small packaging and low power consumption.

Ask anything
We've read this whole study set, so questions about it get the best answers.