Design of Digital Circuits (252-0028-00L), Spring 2019 Optional HW 1: DRAM Refresh
Design of Digital Circuits (252-0028-00L), Spring 2019 Optional HW 1: DRAM Refresh
1 DRAM Refresh
A new supercomputer has a DRAM-based memory system with the following configuration:
• The total capacity is 1 ExaByte (EB).
(a) How many DRAM rows does the memory system have?
(c) What is the power consumption of DRAM refresh? (Hint: you will need to figure out how much current
the DRAM device draws during refresh operations. You can find useful information in the technical
note by Micron https://safari.ethz.ch/digitaltechnik/spring2019/lib/exe/fetch.php?media=
tn4704.pdf. Use the current (IDD) numbers specified in the datasheet posted on the website https:
//safari.ethz.ch/digitaltechnik/spring2019/lib/exe/fetch.php?media=1gb_ddr3_sdram.pdf.
Clearly state all the assumptions and show how you derive the power numbers. You are welcome to use
other data sheets as well. Make sure you specify how you obtain the power numbers and show your
calculations and thought process.)
1/3
(d) What is the total energy consumption of DRAM refresh during a refresh cycle? And during a day?
2/3
2 Main Memory Potpourri
A machine has a 4 GB DRAM main memory system. Each row is refreshed every 64 ms.
(a) The machine’s designer runs two applications A and B (each run alone) on the machine. Although
applications A and B have a similar number of memory requests, application A spends a surprisingly
larger fraction of cycles stalling for memory than application B does? What might be the reasons for
this?
(b) Application A also consumes a much larger amount of memory energy than application B does. What
might be the reasons for this?
(c) When applications A and B are run together on the machine, application A’s performance degrades
significantly, while application B’s performance does not degrade as much. Why might this happen?
(d) The designer decides to use a smarter policy to refresh the memory. A row is refreshed only if it has not
been accessed in the past 64 ms. Do you think this is a good idea? Why or why not?
(e) When this new refresh policy is applied, the refresh energy consumption drops significantly during a run
of application B. In contrast, during a run of application A, the refresh energy consumption reduces only
slightly. Is this possible? Why or why not?
3/3