journal article·2020-04-03Open access

Execution Model to Reduce the Interference of Shared Memory in ARINC 653 Compliant Multicore RTOS

Sihyeong Park, Mi-Young Kwon, Hoon-Kyu Kim, Hyungshin Kim

Applied Sciences· Volume 10· Issue 7

Abstract

Multicore architecture is applied to contemporary avionics systems to deal with complex tasks. However, multicore architectures can cause interference by contention because the cores share hardware resources. This interference reduces the predictable execution time of safety-critical systems, such as avionics systems. To reduce this interference, methods of separating hardware resources or limiting capacity by core have been proposed. Existing studies have modified kernels to control hardware resources. Additionally, an execution model has been proposed that can reduce interference by adjusting the execution order of tasks without software modification. Avionics systems require several rigorous software verification procedures. Therefore, modifying existing software can be costly and time-consuming. In this work, we propose a method to apply execution models proposed in existing studies without modifying commercial real-time operating systems. We implemented the time-division multiple access (TDMA) and acquisition execution restitution (AER) execution models with pseudo-partition and message queuing on VxWorks 653. Moreover, we propose a multi-TDMA model considering the characteristics of the target hardware. For the interference analysis, we measured the L1 and L2 cache misses and the number of main memory requests. We demonstrated that the interference caused by memory sharing was reduced by at least 60% in the execution model. In particular, multi-TDMA doubled utilization compared to TDMA and also reduced the execution time by 20% compared to the AER model.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Real-Time Systems Scheduling · Radiation Effects in Electronics · Embedded Systems Design Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Engineering, Chungnam National University, Daejeon 34134, Korea

The 2nd R&D Institute, Agency for Defence Development (ADD), Seoul 138110, Korea

The Division of Computer Convergence, Chungnam National University, Daejeon 34134, Korea

Funding

Agency for Defense Development

References (47)

Show source-provided references
1. Huyck, P. (2012, January 4–18). ARINC 653 and multi-core microprocessors—Considerations and potential impacts. Proceedings of the 2012 IEEE/AIAA 31st Digital Avionics Systems Conference (DASC), Williamsburg, VA, USA.10.1109/DASC.2012.6382387 ↗
2. Agrou, H., Sainrat, P., Gatti, M., and Toillon, P. (2012, January 4–18). Mastering the behavior of multi-core systems to match avionics requirements. Proceedings of the 2012 IEEE/AIAA 31st Digital Avionics Systems Conference (DASC), Williamsburg, VA, USA.10.1109/DASC.2012.6383083 ↗
3. Liedtke, J., Hartig, H., and Hohmuth, M. (1997, January 9–11). OS-controlled cache predictability for real-time systems. Proceedings of the Third IEEE Real-Time Technology and Applications Symposium, Montreal, QC, Canada.
4. A survey of techniques for cache locking10.1145/2858792 ↗
5. Yun, H., Yao, G., Pellizzoni, R., Caccamo, M., and Sha, L. (2013, January 9–11). Memguard: Memory bandwidth reservation system for efficient performance isolation in multi-core platforms. Proceedings of the 2013 IEEE 19th Real-Time and Embedded Technology and Applications Symposium (RTAS), Philadelphia, PA, USA.
6. Awan, M.A., Souto, P.F., Bletsas, K., Akesson, B., and Tovar, E. (2018, January 19–23). Mixed-criticality scheduling with memory bandwidth regulation. Proceedings of the 2018 Design, Automation & Test in Europe Conference & Exhibition (DATE), Dresden, Germany.10.23919/DATE.2018.8342211 ↗
7. Pellizzoni, R., Betti, E., Bak, S., Yao, G., Criswell, J., Caccamo, M., and Kegley, R. (2011, January 11–14). A predictable execution model for COTS-based embedded systems. Proceedings of the 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium, Chicago, IL, USA.10.1109/RTAS.2011.33 ↗
8. Memory-centric scheduling for multicore hard real-time systems10.1007/s11241-012-9158-9 ↗
9. Durrieu, G., Faugère, M., Girbal, S., Gracia Pérez, D., Pagetti, C., and Puffitsch, W. (2014, January 5–7). Predictable Flight Management System Implementation on a Multicore Processor. Proceedings of the Embedded Real Time Software (ERTS’14), Toulouse, France.
10. Melani, A., Bertogna, M., Bonifaci, V., Marchetti-Spaccamela, A., and Buttazzo, G. (2015, January 4–6). Memory-processor co-scheduling in fixed priority systems. Proceedings of the 23rd International Conference on Real Time and Networks Systems, Lille, France.10.1145/2834848.2834854 ↗
11. El-Sayed, N., Mukkara, A., Tsai, P.A., Kasture, H., Ma, X., and Sanchez, D. (2018, January 24–28). KPart: A hybrid cache partitioning-sharing technique for commodity multicores. Proceedings of the 2018 IEEE International Symposium on High Performance Computer Architecture (HPCA), Vienna, Austria.10.1109/HPCA.2018.00019 ↗
12. Yun, H., Mancuso, R., Wu, Z.P., and Pellizzoni, R. (2014, January 15–17). PALLOC: DRAM bank-aware memory allocator for performance isolation on multicore platforms. Proceedings of the 2014 IEEE 19th Real-Time and Embedded Technology and Applications Symposium (RTAS), Berlin, Germany.10.1109/RTAS.2014.6925999 ↗
13. Diniz, N., and Rufino, J. (June, January 30). ARINC 653 in space. Proceedings of the DASIA 2005—Data Systems in Aerospace, Edinburgh, Scotland.
14. Schranzhofer, A., Chen, J.J., and Thiele, L. (2010, January 12–15). Timing analysis for TDMA arbitration in resource sharing systems. Proceedings of the 2010 16th IEEE Real-Time and Embedded Technology and Applications Symposium, Stockholm, Sweden.10.1109/RTAS.2010.24 ↗
15. Park, S., Song, D., Jang, H., Kwon, M.Y., Lee, S.H., Kim, H.K., and Kim, H. (2019, January 8–12). Interference Analysis of Multicore Shared Resources with a Commercial Avionics RTOS. Proceedings of the 2019 IEEE/AIAA 38th Digital Avionics Systems Conference (DASC), San Diego, CA, USA.10.1109/DASC43569.2019.9081704 ↗
16. Guthaus, M.R., Ringenberg, J.S., Ernst, D., Austin, T.M., Mudge, T., and Brown, R.B. (2001, January 2). MiBench: A free, commercially representative embedded benchmark suite. Proceedings of the Fourth Annual IEEE International Workshop on Workload Characterization. WWC-4 (Cat. No.01EX538), Austin, TX, USA.
17. Watkins, C.B., and Walter, R. (2007, January 21–25). Transitioning from federated avionics architectures to integrated modular avionics. Proceedings of the 2007 IEEE/AIAA 26th Digital Avionics Systems Conference, Dallas, TX, USA.10.1109/DASC.2007.4391842 ↗
18. Littlefield-Lawwill, J., and Kinnan, L. (2008, January 26–30). System considerations for robust time and space partitioning in integrated modular avionics. Proceedings of the 2008 IEEE/AIAA 27th Digital Avionics Systems Conference, St. Paul, MN, USA.10.1109/DASC.2008.4702751 ↗
19. New Challenges for Future Avionic Architectures
20. VanderLeest, S.H. (2010, January 3–7). ARINC 653 hypervisor. Proceedings of the 29th Digital Avionics Systems Conference, Salt Lake City, UT, USA.10.1109/DASC.2010.5655298 ↗
21. Gaska, T., Werner, B., and Flagg, D. (2010, January 3–7). Applying virtualization to avionics systems—The integration challenges. Proceedings of the 29th Digital Avionics Systems Conference, Salt Lake City, UT, USA.10.1109/DASC.2010.5655297 ↗
22. Prehofer, C., Horst, O., Dodi, R., Geven, A., Kornaros, G., Montanari, E., and Paolino, M. (2016, January 11). Towards Trusted Apps platforms for open CPS. Proceedings of the 2016 3rd International Workshop on Emerging Ideas and Trends in Engineering of Cyber-Physical Systems (EITEC), Vienna, Austria.10.1109/EITEC.2016.7503692 ↗
23. Girbal, S., Jean, X., Le Rhun, J., Pérez, D.G., and Gatti, M. (2015, January 13–17). Deterministic platform software for hard real-time systems using multi-core COTS. Proceedings of the 2015 IEEE/AIAA 34th Digital Avionics Systems Conference (DASC), Prague, Czech Republic.10.1109/DASC.2015.7311481 ↗
24. Jean, X., Gatti, M., Faura, D., Pautet, L., and Robert, T. (2013, January 5–10). A software approach for managing shared resources in multicore IMA systems. Proceedings of the 2013 IEEE/AIAA 32nd Digital Avionics Systems Conference (DASC), East Syracuse, NY, USA.10.1109/DASC.2013.6719724 ↗
25. Löfwenmark, A., and Nadjm-Tehrani, S. (2014, January 3–6). Challenges in future avionic systems on multi-core platforms. Proceedings of the 2014 IEEE International Symposium on Software Reliability Engineering Workshops, Naples, Italy.10.1109/ISSREW.2014.70 ↗
26. Jean, X., Faura, D., Gatti, M., Pautet, L., and Robert, T. (2012, January 4–18). Ensuring robust partitioning in multicore platforms for ima systems. Proceedings of the 2012 IEEE/AIAA 31st Digital Avionics Systems Conference (DASC), Williamsburg, VA, USA.10.1109/DASC.2012.6382408 ↗
27. Strunk, E.A., Knight, J.C., and Aiello, M.A. (2004, January 28). Distributed reconfigurable avionics architectures. Proceedings of the 23rd Digital Avionics Systems Conference (IEEE Cat. No. 04CH37576), Salt Lake City, UT, USA.
28. Andrei, A., Eles, P., Peng, Z., and Rosen, J. (2008, January 4–8). Predictable implementation of real-time applications on multiprocessor systems-on-chip. Proceedings of the 21st International Conference on VLSI Design (VLSID 2008), Hyderabad, India.10.1109/VLSI.2008.33 ↗
29. Maia, C., Nogueira, L., Pinho, L.M., and Pérez, D.G. (2016, January 6–9). A closer look into the aer model. Proceedings of the 2016 IEEE 21st International Conference on Emerging Technologies and Factory Automation (ETFA), Berlin, Germany.10.1109/ETFA.2016.7733567 ↗
30. Maia, C., Nelissen, G., Nogueira, L., Pinho, L.M., and Pérez, D.G. (2017, January 16–18). Schedulability analysis for global fixed-priority scheduling of the 3-phase task model. Proceedings of the 2017 IEEE 23rd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA), Hsinchu, Taiwan.10.1109/RTCSA.2017.8046313 ↗
31. Safety-critical software development for integrated modular avionics
32. Suhendra, V., and Mitra, T. (2008, January 8–13). Exploring locking & partitioning for predictable shared caches on multi-cores. Proceedings of the 45th annual Design Automation Conference, Anaheim, CA, USA.10.1145/1391469.1391545 ↗
33. Ding, H., Liang, Y., and Mitra, T. (2014, January 24–28). WCET-centric dynamic instruction cache locking. Proceedings of the 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE), Dresden, Germany.10.7873/DATE.2014.040 ↗
34. Puaut, I., and Decotigny, D. (2002, January 3–5). Low-complexity algorithms for static cache locking in multitasking hard real-time systems. Proceedings of the 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002, Austin, TX, USA.
35. Cache locking content selection algorithms for ARINC-653 compliant RTOS10.1145/3358196 ↗
36. Vera, X., Lisper, B., and Xue, J. (2007). Data Cache Locking for Tight Timing Calculations. ACM Trans. Embed. Comput. Syst., 7.10.1145/1324969.1324973 ↗
37. Gracioli, G., Alhammad, A., Mancuso, R., Fröhlich, A.A., and Pellizzoni, R. (2015). A Survey on Cache Management Mechanisms for Real-Time Embedded Systems. ACM Comput. Surv., 48.10.1145/2830555 ↗
38. Ye, Y., West, R., Cheng, Z., and Li, Y. (2014, January 24–27). COLORIS: A dynamic cache partitioning system using page coloring. Proceedings of the 2014 23rd International Conference on Parallel Architecture and Compilation Techniques (PACT), Edmonton, AB, Canada.10.1145/2628071.2628104 ↗
39. Pak, E., Lim, D., Ha, Y.M., and Kim, T. (2017, January 14). Shared Resource Partitioning in an RTOS. Proceedings of the 13th International Workshop on Operating Systems Platforms for Embedded Real-Time Applications (OSPERT), Dubrovnik, Croatia.
40. Alhammad, A., Wasly, S., and Pellizzoni, R. (2015, January 13–16). Memory efficient global scheduling of real-time tasks. Proceedings of the 21st IEEE Real-Time and Embedded Technology and Applications Symposium, Seattle, WA, USA.10.1109/RTAS.2015.7108452 ↗
41. Rivas, J.M., Goossens, J., Poczekajlo, X., and Paolillo, A. (2019, January 9–12). Implementation of Memory Centric Scheduling for COTS Multi-Core Real-Time Systems. Proceedings of the 31st Euromicro Conference on Real-Time Systems (ECRTS 2019). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, Stuttgart, Germany.
42. Mancuso, R., Dudko, R., and Caccamo, M. (2014, January 20–22). Light-PREM: Automated software refactoring for predictable execution on COTS embedded systems. Proceedings of the 2014 IEEE 20th International Conference on Embedded and Real-Time Computing Systems and Applications, Chongqing, China.10.1109/RTCSA.2014.6910515 ↗
43. Fort, F., and Forget, J. (2019, January 18–21). Code generation for multi-phase tasks on a multi-core distributed memory platform. Proceedings of the 2019 IEEE 25th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA), Hangzhou, China.10.1109/RTCSA.2019.8864558 ↗
44. Girbal, S., Pérez, D.G., Le Rhun, J., Faugère, M., Pagetti, C., and Durrieu, G. (2015, January 13–17). A complete toolchain for an interference-free deployment of avionic applications on multi-core systems. Proceedings of the 2015 IEEE/AIAA 34th Digital Avionics Systems Conference (DASC), Prague, Czech Republic.10.1109/DASC.2015.7311460 ↗
45. Perret, Q., Maurere, P., Noulard, E., Pagetti, C., Sainrat, P., and Triquet, B. (2016, January 11–14). Temporal isolation of hard real-time applications on many-core processors. Proceedings of the 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), Vienna, Austria.10.1109/RTAS.2016.7461363 ↗
46. Yun, H., Pellizzon, R., and Valsan, P.K. (2015, January 7–10). Parallelism-aware memory interference delay analysis for COTS multicore systems. Proceedings of the 2015 27th Euromicro Conference on Real-Time Systems, Lund, Sweden.10.1109/ECRTS.2015.24 ↗
47. Agrawal, A., Fohler, G., Freitag, J., Nowotsch, J., Uhrig, S., and Paulitsch, M. (2017, January 27–30). Contention-aware dynamic memory bandwidth isolation with predictability in cots multicores: An avionics case study. Proceedings of the 29th Euromicro Conference on Real-Time Systems (ECRTS 2017), Dubrovnik, Croatia.