Research Article Open Access

ROBUST MEMORY MANAGEMENT USING REAL TIME CONCEPTS

V. Karthikeyan1, S. Ravi1 and M. Anand1
  • 1 , India

Abstract

Memory fragmentation is the development of a large number of separate free areas. Memory management in embedded systems demand effective implementation schemes to avoid fragmentation problem. Existing dynamic memory allocation methods fail to suit real time system requirements. Execution times need to be deterministic and this motivates the need for allocation and deallocation to be done in constant time with the help of API's. In μC/OS-II, memory allocation is semi-dynamic and a buddy allocator dynamic memory allocation algorithm is commonly used. Programmer must statically allocate a memory and partition the region using μC/OS-II Kernel API. Tasks can only request pre-partitioned fixed-size memory space from μC/OS-II. Memory allocation times are influenced by the ratio of memory allocation to the stack size of the task. In this research work memory management in LPC 1768 environment using RTOS μC/OS-II is proposed. Effective sharing of memory blocks among tasks co exists with partition. The captured results shows that the memory allocation and deallocation suits real time. The implication of the work is that, the necessity to reserve a static set of locations ahead of time is eliminated so that memory can be allocated at compile or design time.

Journal of Computer Science
Volume 10 No. 8, 2014, 1480-1487

DOI: https://doi.org/10.3844/jcssp.2014.1480.1487

Submitted On: 14 February 2014 Published On: 1 April 2014

How to Cite: Karthikeyan, V., Ravi, S. & Anand, M. (2014). ROBUST MEMORY MANAGEMENT USING REAL TIME CONCEPTS. Journal of Computer Science, 10(8), 1480-1487. https://doi.org/10.3844/jcssp.2014.1480.1487

  • 2,953 Views
  • 2,794 Downloads
  • 0 Citations

Download

Keywords

  • Memory Allocation
  • RTOS
  • µC/OS
  • Embedded Systems
  • LPC1768
  • Fragmentation