[CRIU] [PATCH 0/11] Do not remap vmas when not needed (v2)

Pavel Emelyanov xemul at virtuozzo.com
Thu May 11 02:10:14 PDT 2017


Hi,

My recent experiment with restore performance showed that we spend too much
time remapping vmas that have been previously mapped into premap area. The
total remap time is on the top-2 list (the slowest time was pread restoring
7M of memory).

However, premapping vmas is only needed when we have several tasks and need
to cow pages. In all other cases memory can be tried to restored in-place.

This patch does so (sometimes).

v2: Fixed bugs found by travis run.

https://travis-ci.org/xemul/criu/builds/230944335

-- Pavel


More information about the CRIU mailing list