IEEE Access (Jan 2023)

Page-Size Aware Buddy Allocator With Unaligned Range Supports for TLB Coalescing

  • Tran Dai Duong,
  • Jae Young Hur

DOI
https://doi.org/10.1109/ACCESS.2023.3308591
Journal volume & issue
Vol. 11
pp. 91850 – 91860

Abstract

Read online

It is well known that the traditional page-based address translation scheme has limited translation look-aside buffer (TLB) reach and page-table walk overheads. A TLB coalescing scheme reduces these problems by representing an address range in a TLB entry. However, the conventional physical memory allocator has the power-of-2 block size and the address alignment restrictions. As a result, it is difficult to utilize diverse contiguities in memory and exploit the capability of TLB coalescing. To alleviate these issues, in the context of eager paging for I/O devices, we propose the flexible physical memory allocator that can represent unaligned ranges within the page sizes defined in the machine architecture. Combined with TLB coalescing, the presented scheme can efficiently utilize the contiguity in memory and reduce page-table walks. Considering the binary buddy allocator as a baseline, we present an algorithm, a design, analyses, a case study, an implementation, and evaluations. The experimental results indicate the presented scheme can improve memory utilization, TLB performance, and system performance.

Keywords