IEEE Access (Jan 2023)

High-Performance Memory Allocation on FPGA With Reduced Internal Fragmentation

  • Mohamad Mehdi Sadeghi,
  • Somayeh Timarchi,
  • Mahmood Fazlali

DOI
https://doi.org/10.1109/ACCESS.2023.3290100
Journal volume & issue
Vol. 11
pp. 66672 – 66681

Abstract

Read online

In this paper, we present two distinct hardware dynamic memory allocation schemes that are based on the binary buddy system algorithm. Our aim is to mitigate internal fragmentation without impacting the area and performance of the system. The first scheme introduces a parallel design for calculating the addresses of free blocks, which results in a decrease in allocation latency while maintaining acceptable resource utilization. This scheme is particularly well-suited for managing a limited number of minimum allocable units (MAU). On the other hand, the second allocator can handle a large number of MAUs due to its innovative searching mechanism. This allocator exhibits lower resource consumption and operates with an acceptable allocation latency. Furthermore, to decrease internal fragmentation, we develop a novel update mechanism for allocating information data structures in both methods. By employing these two allocator schemes, we can improve the efficiency and resource management of dynamic memory allocation for hardware systems. Experimental results demonstrate that the first and second proposed schemes achieve a minimum allocation speed-up of $\times 2$ and $\times 1.8$ compared to their counterparts. At the same time, they achieve a reduction of at least 78% and %88 in resource utilization, respectively. The results show that the total fragmentation is reduced by at least 14% due to the lower internal fragmentation.

Keywords