|
Memory management is one of the most important factors that affect the overall efficiency in operating system. A lot of memory management algorithms have been presented. Each algorithm has its advantages and disadvantages, and may be suitable for only some particular application programs. Moreover, most operating systems only provide one or two kinds of different memory managements, so that they cannot satisfy all kinds of different applications, especially in embedded systems. If we would like to adopt different memory management from the other operating system, we might have to port the whole operating system on the hardware platform. It is time consuming and not economical. In order to solve this problem, we propose a memory interface for different operating systems and a configurable operating system to use different memory managements easily through the memory interface without modifying application programs. We also insert some code segments in the kernel to analyze memory performance. With the interface and analysis code segments, programmers can analyze memory performance using different memory managements, and objectively choose a memory management for best performance.
|