GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER ORGANIZATION & ARCHITECTURE

Count DRAM refresh sweeps and overhead

2 questions solved the same way, newest first. Back to Computer Organization & Architecture

How these are solved

Multiply rows per chip by row-refresh time with corresponding chips refreshed in parallel. 2010 requests sweep duration;

1 mark · NAT
Report issue

DRAM refresh availability

Memory Organization & Address Translation

Question 23, GATE 2018: A 1 GB, 32-bit-wide memory uses 256M×4-bit DRAMs. Each chip has 2^14 rows; refreshing a row takes 50 ns and all rows must refresh every 2 ms. Find the nearest-integer percentage available for reads/writes.
Tap to enlarge
Answer & solution

Official answer: 59.0 to 60.0

Our answer: 59 percent

Method

Eight 4-bit chips operate in parallel to provide the 32-bit word. Since corresponding rows refresh together, the memory loses 16384 row-refresh slots per period, not eight times that number. Convert all durations to one unit: 2 ms=2000000 ns, and refresh consumes 819200 ns. Available time is 1180800 ns per period. Divide available time by total time, rather than reporting the refresh fraction.

Solution

The row refresh time per period is 214·50 ns=819200 ns=0.8192ms. The remaining fraction of the 2ms period is 1−0.8192/2=0.5904, or 59.04%, rounded 59%. The eight parallel 4-bit chips refresh a row together to form the 32-bit memory; their refresh times are not added serially.

Original paper, page 10 · Answer key

1 mark · MCQ
Report issue

Refreshing a bank of DRAM chips

Memory Organization & Address Translation

Question 7, GATE 2010: A 4-megabyte main memory is built from 1M×1-bit DRAM chips. Each chip has 1K rows with 1K cells in each row. One refresh operation takes 100 ns. How long does one complete refresh of all memory cells take?
Options: (A) 100 ns; (B) 100×2^10 ns; (C) 100×2^20 ns; (D) 3200×2^20 ns.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

A refresh operation refreshes one row in each chip in parallel. Each chip has 1K=2¹⁰ rows, requiring 2¹⁰ refresh operations to cover all its cells. At 100 ns each, the total is 100·2¹⁰ ns, B. The memory needs 32 chips for 4 MiB, but the standard parallel-bank refresh model does not multiply the refresh time by 32.

The row count, rather than the total cell count, determines the number of refresh commands: all 1024 cells on the selected row are refreshed together. Memory capacity determines how many chips are needed, but chips sharing refresh control perform that command concurrently in the model used here. Multiplying by 220 would incorrectly refresh individual cells separately.

Original paper, page 2