DOI QR코드

DOI QR Code

Implementation of Kernel Module for Shared Memory in Dual Bus System

듀얼 버스 시스템에서의 공유 메모리 커널 모듈 구현

  • 문지훈 (이니텍 보안개발2본부 DB보안팀) ;
  • 오재철 (순천대학교 컴퓨터과학과)
  • Received : 2015.03.18
  • Accepted : 2015.05.23
  • Published : 2015.05.31

Abstract

In this paper, shared memory feature was developed in multi-core system with different OS for different processor-specific bus, while conducting an experiment on shared memory feature between the two processors based on embedded Linux system. For the purpose of developing shared memory in dual bus structure, memory controller was used, while managing shared memory segment through list data structure. For AMP multi-core test, Linux OS was installed in 2 processor cores. In addition, it verified the creation and use of shared memory by using kernel module implemented to test shared memory.

본 논문에서는 프로세서별 서로 다른 버스에 서로 다른 운영체제를 갖는 멀티코어 시스템에서 공유 메모리 기능을 구현하고, 임베디드 리눅스 시스템을 통하여 두 프로세서 사이에서 공유 메모리 기능을 실험하였다. 듀얼 버스 구조에서 공유 메모리 구현을 위해 메모리 컨트롤러를 이용하였으며, 리스트 자료구조를 통하여 공유 메모리 세그먼트를 관리한다. AMP 멀티 코어 실험을 위하여 2개의 프로세서 코어에 리눅스 운영체제를 탑재하도록 하였다. 그리고 공유 메모리 테스트를 위하여 구현된 커널 모듈을 이용하여 공유 메모리 생성 및 이용이 가능함을 확인 하였다.

Keywords

References

  1. J. Moon and J. Oh, "Design of the Virtual SD Memory Card System on the Embedded Linux," J. of the Korea Institute of Electronic Communication Sciences, vol. 9, no. 1, 2014, pp. 77-82. https://doi.org/10.13067/JKIECS.2014.9.1.77
  2. J. Moon and J. Oh, "Design of Shared Memory Controller Device Driver in Embedded System," J. of the Korea Institute of Electronic Communication Sciences, vol. 9, no. 6, 2014, pp. 703-709. https://doi.org/10.13067/JKIECS.2014.9.6.703
  3. J. Moon and J. Oh, "Design of the SD Protocol Analyzer," J. of the Korea Institute of Electronic Communication Sciences, vol. 8, no. 11, 2013, pp. 1697-1706. https://doi.org/10.13067/JKIECS.2013.8.11.1697
  4. J. Jeong and C. Kim, "Improvement Method and Performance Analysis of Shared Memory in Dual Core Embedded Linux system," J. of the Korean Society for Internet Information, vol. 11, no. 4, pp. 95-106.
  5. J. Kim, J. Moon, G. Im, G. Jeong, and G. Choi, "A Study on Buffer and Shared Memory Optimization for Multi-Processor System," J. of the Korea Information Processing Society, vol. 9, no. 2, 2002, pp. 147-162.
  6. Hai Huang, Padmanabhan Pillai, and K. Shin, "Improving wait-free algorithms for interprocess communication in embedded real-time system," Proc. of the Usenix Annual Technical Conf., Monterey, CA, vol. 27, no. 5, Jun. 2002, pp. 303-316.
  7. Avi Siberschatz, Peter Baer Galvin, and Greg Gagne, Operating System Principles 7th edition. New York: John Wiley & Sons, 2006, pp. 87-105.
  8. J. Jeong, "Improvement Method and Performance Analysis of Shared Memory in Dual Core Embedded Linux System," Master's Thesis, KongJu National University, 2010.
  9. J. Jung, K. Lee, J. Kim, and C. Kim, "Performance Analysis on Dual-core Embedded System Using High Speed IPC Technique," Proc. of the Korea Information and Communication Society, Seoul, Korea, Nov. 2008, pp. 1494-1497.
  10. S. Jang, E. Choi, D. Kang, G. Lee, D. Kim, and J. Kim, "A Study of Performance Enhancement for the Shared Memory in the Linux O.S," Proc. of the Korea Institute of Information Scientists and Engineers Fall Conf., Busan, Korea, vol. 34, no. 2, Oct. 2007, pp. 324-329.