The invention discloses a
server-free
remote memory access performance optimization method based on cross-
process memory tracking, and belongs to the technical field of
computer memory management. The method comprises the following steps: designing a memory state table as a unified
perception layer for
remote memory access of homologous
server-free containers, and realizing cross-process tracking of memory page states among different containers; a memory state table query process is embedded into hardware
page table traversal, page state query is completed by
hardware acceleration, and extra overhead on a memory
access key path is eliminated; the
remote memory access is merged and optimized based on the memory state table, cached local memory pages are reused in the container creation stage, the same
remote memory access requests are merged in the operation stage, and the page missing exception frequency and the network bandwidth contention are reduced. According to the method, extra overhead caused by
remote memory access in a
server-free environment is effectively reduced, page missing abnormity and network bandwidth contention in a concurrent scene are greatly reduced, and the running performance and the
system expandability of memory-intensive server-free applications are remarkably improved.