The Optimization of Embedded Linux Memory Management
YU Guolong;CUI Zhongwei;ZUO Yu;School of Mathematics and Computer Science,Guizhou Normal College;Guizhou Province University Industrial Networking Engineering Technology Research Center,Guizhou Normal College;
Memory management is a key factor to impact the instantaneity of embedded Linux. In order to improve the instantaneity of embedded Linux,its memory management is optimized. At first,the important task in the system is assigned a dedicated memory area,so that important task will not be swapped out when the memory is lacking,which can protect the important task precedence; Then through the method that use the system idle time to scan the system RAM,to reduce the frequency of missing page interrupt in the task execution,thereby the system instantaneity is improved. Last,the missing page interrupts numbers and the task deadline miss ratios of OPT optimization algorithm,LRU algorithm and optimized LUR algorithm are compared through experiment,and it is found that the missing page interrupts number and the task deadline miss ratio of optimized LUR algorithm is the least among the three algorithms,which indicates that the instantaneity of embedded Linux is improved through the above described memory optimization method.