Pagemap cache

Revision as of 09:17, 23 May 2024 by Radostin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Checkpointing processes with large number of small virtual memory areas (VMAs) can lead to significant performance overhead. This overhead is primarily due to the frequent reading of VMA information from /proc/[pid]/pagemap, as described in Memory dumps. To mitigate this problem, CRIU uses a pagemap cache (pmc) to reduce the frequency of pread calls by caching information about VMAs.