Difference between revisions of "Pagemap cache"

From CRIU
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
[[Category:Empty articles]]
+
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 <code>/proc/[pid]/pagemap</code>, as described in [[Memory dumps]]. To mitigate this problem, CRIU uses a pagemap cache (pmc) to reduce the frequency of <code>pread</code> calls by caching information about VMAs.
 +
 
 
[[Category:Under the hood]]
 
[[Category:Under the hood]]
 
[[Category:Memory]]
 
[[Category:Memory]]

Latest revision as of 09:17, 23 May 2024

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.