[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Timing effects of DDR memory systems in hard real-time multicore architectures: Issues and solutions

Published: 29 March 2013 Publication History

Abstract

Multicore processors are an effective solution to cope with the performance requirements of real-time embedded systems due to their good performance-per-watt ratio and high performance capabilities. Unfortunately, their use in integrated architectures such as IMA or AUTOSAR is limited by the fact that multicores do not guarantee a time composable behavior for the applications: the WCET of a task depends on inter-task interferences introduced by other tasks running simultaneously.
This article focuses on the off-chip memory system: the hardware shared resource with the highest impact on the WCET and hence the main impediment for the use of multicores in integrated architectures. We present an analytical model that computes the worst-case delay, also known as Upper Bound Delay (UBD), that a memory request can suffer due to memory interferences generated by other co-running tasks. By considering the UBD in the WCET analysis, the resulting WCET estimation is independent from the other tasks, hence ensuring the time composability property and enabling the use of multicores in integrated architectures. We propose a memory controller for hard real-time multicores compliant with the analytical model that implements extra hardware features to deal with refresh operations and interferences generated by co-running non hard real-time tasks.

References

[1]
Akesson, B. 2010. Predictable and composable system-on-chip memory controllers. Ph.D. thesis, Eindhoven University of Technology.
[2]
Akesson, B., Goossens, K., and Ringhofer, M. 2007. Predator: A predictable SDRAM memory controller. In Proceedings of the 5th IEEE/ACM International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS'07). ACM, New York, NY, 251--256.
[3]
Akesson, B., Hansson, A., and Goossens, K. 2009. Composable resource sharing based on latency-rate servers. In Proceedings of the 12th Euromicro Conference on Digital System Design, Architectures, Methods and Tools (DSD'09). IEEE Computer Society, Los Alamitos, CA, 547--555.
[4]
Andrei, A., Eles, P., Peng, Z., and Rosen, J. 2008. Predictable implementation of real-time applications on multiprocessor systems-on-chip. In Proceedings of the 21st International Conference on VLSI Design (VLSID'08). IEEE Computer Society, Los Alamitos, CA, 103--110.
[5]
ARINC. 1997. Specification 651: Design Guide for Integrated Modular Avionics. Aeronautical Radio, Inc.
[6]
AUTOSAR. 2006. Technical overview V2.0.1.
[7]
Bernat, G., Colin, A., and Petters, S. M. 2002. WCET analysis of probabilistic hard real-time systems. In Proceedings of the 23rd IEEE Real-Time Systems Symposium (RTSS'02). IEEE Computer Society, Los Alamitos, CA, 279.
[8]
Bhat, B. and Mueller, F. 2010. Making dram refresh predictable. In Proceedings of the 22nd Euromicro Conference on Real-Time Systems (ECRTS'10). IEEE Computer Society, Los Alamitos, CA, 145--154.
[9]
Burger, D., Goodman, J. R., and Kägi, A. 1996. Memory bandwidth limitations of future microprocessors. In Proceedings of the 23rd Annual International Symposium on Computer Architecture (ISCA'96). ACM, New York, NY, 78--89.
[10]
Cullmann, C., Ferdinand1, C., Gebhard, G., Grund, D., Maiza, C., Reineke, J., Triquet, B., and Wilhelm, R. 2010. Predictability considerations in the design of multi-core embedded systems. In Proceedings of ERTS.
[11]
El-Haj-Mahmoud, A. and Rotenberg, E. 2004. Safely exploiting multithreaded processors to tolerate memory latency in real-time systems. In Proceedings of the International Conference on Compilers, Architecture, and Synthesis for Embedded Systems (CASES'04). ACM, New York, NY, 2--13.
[12]
Hansson, A., Goossens, K., Bekooij, M., and Huisken, J. 2009. Compsoc: A template for composable and predictable multi-processor system on chips. ACM Trans. Des. Autom. Electron. Syst. 14, 1, 2:1--2:24.
[13]
Hur, I. and Lin, C. 2006. Adaptive history-based memory schedulers for modern processors. IEEE Micro 26, 1, 22--29.
[14]
Jacob, B., Ng, S. W., and Wang, D. T. 2008. Memory Systems: Cache, DRAM, Disk. Morgan Kaufmann.
[15]
JEDEC. 2008. DDR2 SDRAM Specification JEDEC Standard No. JESD79-2E.
[16]
Lee, K.-B., Lin, T.-C., and Jen, C.-W. 2005. An efficient quality-aware memory controller for multimedia platform soc. IEEE Trans. Circuits Syst. Video 15, 5, 620--633.
[17]
Lickly, B., Liu, I., Kim, S., Patel, H. D., Edwards, S. A., and Lee, E. A. 2008. Predictable programming on a precision timed architecture. In Proceedings of the International Conference on Compilers, Architectures and Synthesis for Embedded Systems (CASES'08). ACM, New York, NY, 137--146.
[18]
Lundqvist, T. and Stenström, P. 1999. Timing anomalies in dynamically scheduled microprocessors. In Proceedings of the 20th IEEE Real-Time Systems Symposium (RTSS'99). IEEE Computer Society, Los Alamitos, CA, 12.
[19]
MERASA. 2007. EU-FP7 project. www.merasa.org.
[20]
Nesbit, K. J., Aggarwal, N., Laudon, J., and Smith, J. E. 2006. Fair queuing memory systems. In Proceedings of the 39th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO 39). IEEE Computer Society, Los Alamitos, CA, 208--222.
[21]
Obermaisser, R., El Salloum, C., Huber, B., and Kopetz, H. 2009. From a federated to an integrated automotive architecture. Trans. Comp.-Aided Des. Integ. Cir. Sys. 28, 7, 956--965.
[22]
Paolieri, M., Quiñones, E., Cazorla, F. J., Bernat, G., and Valero, M. 2009. Hardware support for WCET analysis of hard real-time multicore systems. In Proceedings of the 36th Annual International Symposium on Computer Architecture (ISCA'09). ACM, New York, NY, 57--68.
[23]
Pellizzoni, R., Schranzhofer, A., Chen, J.-J., Caccamo, M., and Thiele, L. 2010. Worst case delay analysis for memory interference in multicore systems. In Proceedings of the Conference on Design, Automation and Test in Europe (DATE'10). European Design and Automation Association, Belgium, 741--746.
[24]
Pitter, C. 2007. Time predictable cpu and dma shared memory access. In Proceedings of the International Conference on Field-Programmable Logic and its Applications (FPL'07).
[25]
Pitter, C. and Schoeberl, M. 2007. Towards a java multiprocessor. In Proceedings of the 5th International Workshop on Java Technologies for Real-Time and Embedded Systems (JTRES'07). ACM, New York, NY, 144--151.
[26]
Pitter, C. and Schoeberl, M. 2010. A real-time java chip-multiprocessor. ACM Trans. Embed. Comput. Syst. 10, 9:1--9:34.
[27]
Poovey, J. 2007. Characterization of the EEMBC Benchmark Suite. North Carolina State University.
[28]
RapiTime. 2008. www.rapitasystems.com.
[29]
Reineke, J., Liu, I., Patel, H. D., Kim, S., and Lee, E. A. 2011. Pret dram controller: Bank privatization for predictability and temporal isolation. In Proceedings of the 7th IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS'11). ACM, 99--108.
[30]
Rixner, S. 2004. Memory controller optimizations for web servers. In Proceedings of the 37th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO 37). IEEE Computer Society, Los Alamitos, CA, 355--366.
[31]
Rixner, S., Dally, W. J., Kapasi, U. J., Mattson, P., and Owens, J. D. 2000. Memory access scheduling. In Proceedings of the 27th Annual International Symposium on Computer Architecture (ISCA'00). ACM, New York, NY, 128--138.
[32]
Rosen, J., Andrei, A., Eles, P., and Peng, Z. 2007. Bus access optimization for predictable implementation of real-time applications on multiprocessor systems-on-chip. In Proceedings of the 28th IEEE International Real-Time Systems Symposium (RTSS'07). IEEE Computer Society, Los Alamitos, CA, 49--60.
[33]
Staschulat, J. and Ernst, R. 2004. Multiple process execution in cache related preemption delay analysis. In Proceedings of the 4th ACM International Conference on Embedded Software (EMSOFT'04). ACM, New York, NY, 278--286.
[34]
Thiele, L. and Wilhelm, R. 2004. Design for time-predictability. In Design of Systems with Predictable Behaviour.
[35]
Uhrig, S., Maier, S., and Ungerer, T. 2005. Toward a processor core for real-time capable autonomic systems. In Proceedings of ISSPIT.
[36]
Ungerer, T., Cazorla, F., Sainrat, P., Bernat, G., Petrov, Z., Rochange, C., Quinones, E., Gerdes, M., Paolieri, M., Wolf, J., Casse, H., Uhrig, S., Guliashvili, I., Houston, M., Kluge, F., Metzlaff, S., and Mische, J. 2010. Merasa: Multicore execution of hard real-time applications supporting analyzability. IEEE Micro 30, 66--75.
[37]
Verghese, B., Gupta, A., and Rosenblum, M. 1998. Performance isolation: sharing and isolation in shared-memory multiprocessors. In Proceedings of the 8th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS-VIII). ACM, New York, NY, 181--192.
[38]
Wang, D., Ganesh, B., Tuaycharoen, N., Baynes, K., Jaleel, A., and Jacob, B. 2005. Dramsim: a memory system simulator. SIGARCH Comput. Archit. News 33, 4, 100--107.
[39]
Wenzel, I., Kirner, R., Puschner, P., and Rieder, B. 2005. Principles of timing anomalies in superscalar processors. In Proceedings of the 5th International Conference on Quality Software (QSIC'05). IEEE Computer Society, Los Alamitos, CA, 295--306.
[40]
Wolf, W. 2007. High-Performance Embedded Computing. Morgan Kaufmann.

Cited By

View all
  • (2022)Sim-D: A SIMD Accelerator for Hard Real-Time SystemsIEEE Transactions on Computers10.1109/TC.2021.306429071:4(851-865)Online publication date: 1-Apr-2022
  • (2020)Work-conserving dynamic time-division multiplexing for multi-criticality systemsReal-Time Systems10.1007/s11241-019-09336-w56:2(124-170)Online publication date: 1-Apr-2020
  • (2019)High performance and predictable memory controller for multicore mixed-criticality real-time systemsIET Computers & Digital Techniques10.1049/iet-cdt.2018.5031Online publication date: 12-Jun-2019
  • Show More Cited By

Index Terms

  1. Timing effects of DDR memory systems in hard real-time multicore architectures: Issues and solutions

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Transactions on Embedded Computing Systems
      ACM Transactions on Embedded Computing Systems  Volume 12, Issue 1s
      Special section on ESTIMedia'12, LCTES'11, rigorous embedded systems design, and multiprocessor system-on-chip for cyber-physical systems
      March 2013
      701 pages
      ISSN:1539-9087
      EISSN:1558-3465
      DOI:10.1145/2435227
      Issue’s Table of Contents
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Journal Family

      Publication History

      Published: 29 March 2013
      Accepted: 01 May 2012
      Revised: 01 March 2012
      Received: 01 November 2011
      Published in TECS Volume 12, Issue 1s

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Multicore
      2. SDRAM
      3. WCET
      4. hard real-time
      5. memory controller

      Qualifiers

      • Research-article
      • Research
      • Refereed

      Funding Sources

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)7
      • Downloads (Last 6 weeks)1
      Reflects downloads up to 18 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2022)Sim-D: A SIMD Accelerator for Hard Real-Time SystemsIEEE Transactions on Computers10.1109/TC.2021.306429071:4(851-865)Online publication date: 1-Apr-2022
      • (2020)Work-conserving dynamic time-division multiplexing for multi-criticality systemsReal-Time Systems10.1007/s11241-019-09336-w56:2(124-170)Online publication date: 1-Apr-2020
      • (2019)High performance and predictable memory controller for multicore mixed-criticality real-time systemsIET Computers & Digital Techniques10.1049/iet-cdt.2018.5031Online publication date: 12-Jun-2019
      • (2018)Shedding the Shackles of Time-Division Multiplexing2018 IEEE Real-Time Systems Symposium (RTSS)10.1109/RTSS.2018.00059(456-468)Online publication date: Dec-2018
      • (2017)Performance impacts and limitations of hardware memory access trace collectionProceedings of the Conference on Design, Automation & Test in Europe10.5555/3130379.3130496(506-511)Online publication date: 27-Mar-2017
      • (2017)Performance impacts and limitations of hardware memory access trace collectionDesign, Automation & Test in Europe Conference & Exhibition (DATE), 201710.23919/DATE.2017.7927041(506-511)Online publication date: Mar-2017
      • (2017)Computing Safe Contention Bounds for Multicore Resources with Round-Robin and FIFO ArbitrationIEEE Transactions on Computers10.1109/TC.2016.261630766:4(586-600)Online publication date: 1-Apr-2017
      • (2017)A Globally Arbitrated Memory Tree for Mixed-Time-Criticality SystemsIEEE Transactions on Computers10.1109/TC.2016.259558166:2(212-225)Online publication date: 1-Feb-2017
      • (2017)A new memory scheduling policy for real time systems2017 7th International Symposium on Embedded Computing and System Design (ISED)10.1109/ISED.2017.8303916(1-4)Online publication date: Dec-2017
      • (2016)SupertaskProceedings of the 2016 Conference on Design, Automation & Test in Europe10.5555/2971808.2971815(25-30)Online publication date: 14-Mar-2016
      • Show More Cited By

      View Options

      Login options

      Full Access

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media