Browse > Article

Automatic Detection of Memory Subsystem Parameters for Embedded Systems  

Ha, Tae-Jun (Tmax Soft 연구소)
Seo, Sang-Min (서울대학교 컴퓨터공학부)
Chun, Po-Sung (서울대학교 컴퓨터공학부)
Lee, Jae-Jin (서울대학교 컴퓨터공학부)
Abstract
To optimize the performance of software programs, it is important to know certain hardware parameters such as the CPU speed, the cache size, the number of TLB entries, and the parameters of the memory subsystem. There exist several ways to obtain the values of various hardware parameters. Firstly. the values can be taken from the hardware manual. Secondly, the parameters can be obtained by calling functions provided by the operating systems. Finally, hardware detection programs can find the desired values. Such programs are usually executed on PC or server systems and report the CPU speed, the cache size, the number of TLB entries, and so on. However, they do not sufficiently detect the parameters of one of the most important parts of the computer concerning performance, namely the memory bank layout in the memory subsystem. In this paper, we present an algorithm to detect the memory bank parameters. We run an implementation of our algorithm on various embedded systems and compare the detected values with the real hardware parameters. The results show that the presented algorithm detects the cache size, the number of TLB entries, and the memory bank layout with high accuracy.
Keywords
embedded system; memory bank; hardware parameter detection;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Rafael H. Saavedra-Barrera, "CPU Performance Evaluation and Execution Time Prediction Using Narrow Spectrum Benchmarking," Ph.D Thesis, UC Berkeley, Tech. Rept. No. UCB/CSD-92-684, Feb. 1992
2 J. Gee and A.J. Smith, "TLB performance of the SPEC benchmark suite," paper in preparation, draft of Jan. 1992
3 Rafael H. Saavedra-Barrea, "Measuring Cache and TLB Performance and Their Effect on Bench-mark Run Times," UC Berkeley, Tech. Rept. No. UCB/CSD-93-767, Aug. 1993
4 Kamen Yotov, Keshav Pingali, and Paul Stodghill, "X-Ray: Automatic Measurement of Hardware Parameters," Cornell Univ., Tech. Rept. TR2004-1966, Oct. 2004