Journal of Northeastern University ›› 2011, Vol. 32 ›› Issue (5): 654-657.DOI: -

• OriginalPaper • Previous Articles     Next Articles

Studies on the memory allocation algorithm of an AVR single chip real-time system

Wang, Jia-Liang (1); Zhao, Hai (1); Pan, Rong (1); Cai, Peng-Hua (1)   

  1. (1) School of Information Science and Engineering, Northeastern University, Shenyang 110819, China
  • Received:2013-06-19 Revised:2013-06-19 Published:2013-04-04
  • Contact: Wang, J.-L.
  • About author:-
  • Supported by:
    -

Abstract: Given the limited capacity of AVR single chip memory, memory allocation and utilization can directly affect entire system performance. Memory allocation testing of a self-designed embedded operating system iDCX 128 indicated that system memory-space utilization efficiency was low after numerous memory allocation events due to use of a first fit algorithm. The memory allocation algorithm was improved by altering the structure of tasks stored in the memory and the allocation mechanism was made into a best fit algorithm. Experimental results demonstrated that the improved algorithm caused a small number of wasted storage units with a corresponding increase in execution time. Nevertheless, overall memory utilization was greatly improved.

CLC Number: