Making DRAM refresh predictable

被引:17
作者
Bhat, Balasubramanya [1 ]
Mueller, Frank [1 ]
机构
[1] N Carolina State Univ, Dept Comp Sci, Raleigh, NC 27695 USA
基金
美国国家科学基金会;
关键词
Real-time systems; DRAM; Worst-case execution time; Timing analysis; DRAM refresh; Timing predictability; CMOS TEMPERATURE SENSOR; RING OSCILLATOR; EFFICIENT; ENERGY;
D O I
10.1007/s11241-011-9129-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Embedded control systems with hard real-time constraints require that deadlines are met at all times or the system may malfunction with potentially catastrophic consequences. Schedulability theory can assure deadlines for a given task set when periods and worst-case execution times (WCETs) of tasks are known. While periods are generally derived from the problem specification, a task's code needs to be statically analyzed to derive safe and tight bounds on its WCET. Such static timing analysis abstracts from program input and considers loop bounds and architectural features, such as pipelining and caching. However, unpredictability due to dynamic memory (DRAM) refresh cannot be accounted for by such analysis, which limits its applicability to systems with static memory (SRAM). In this paper, we assess the impact of DRAM refresh on task execution times and demonstrate how predictability is adversely affected leading to unsafe hard real-time system design. We subsequently contribute a novel and effective approach to overcome this problem through software-initiated DRAM refresh. We develop (1) a pure software and (2) a hybrid hardware/software refresh scheme. Both schemes provide predictable timings and fully replace the classical hardware auto-refresh. We discuss implementation details based on this design for multiple concrete embedded platforms and experimentally assess the benefits of different schemes on these platforms. We further formalize the integration of variable latency memory references into a data-flow framework suitable for static timing analysis to bound a task's memory latencies with regard to their WCET. The resulting predictable execution behavior in the presence of DRAM refresh combined with the additional benefit of reduced access delays is unprecedented, to the best of our knowledge.
引用
收藏
页码:430 / 453
页数:24
相关论文
共 29 条
[1]  
Akesson B., 2007, 2007 5th IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS), P251
[2]  
[Anonymous], 2001, P IEEE INT WORKSH AP
[3]   Efficient and precise cache behavior prediction for real-time systems [J].
Ferdinand, C ;
Wilhelm, R .
REAL-TIME SYSTEMS, 1999, 17 (2-3) :131-181
[4]   Smart refresh: An enhanced memory controller design for reducing energy in conventional and 3D die-stacked DRAMs [J].
Ghosh, Mrinmoy ;
Lee, Hsien-Hsin S. .
MICRO-40: PROCEEDINGS OF THE 40TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, 2007, :134-+
[5]   Error detecting refreshment for embedded DRAMs [J].
Hellebrand, S ;
Wunderlich, HJ ;
Ivaniuk, A ;
Klimets, Y ;
Yarmolik, VN .
17TH IEEE VLSI TEST SYMPOSIUM, PROCEEDINGS, 1999, :384-390
[6]  
Katayama Y., 1999, Proceedings 1999 IEEE International Symposium on Defect and Fault Tolerance in VLSI Systems (EFT'99), P311, DOI 10.1109/DFTVS.1999.802898
[7]   CMOS temperature sensor with ring oscillator for mobile DRAM self-refresh control [J].
Kim, Chan-Kyung ;
Lee, Jae-Goo ;
Jun, Young-Hyun ;
Lee, Chil-Gee ;
Kong, Bai-Sun .
MICROELECTRONICS JOURNAL, 2007, 38 (10-11) :1042-1049
[8]   CMOS temperature sensor with ring oscillator for mobile DRAM self-refresh control [J].
Kim, Chan-Kyung ;
Kong, Bai-Sun ;
Lee, Chil-Gee ;
Jun, Young-Hyun .
PROCEEDINGS OF 2008 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-10, 2008, :3094-+
[9]  
Labrosse J., 1998, MICRO C OS 2
[10]  
LEE C, 1996, IEEE REAL TIM SYST S