[CRIU] [PATCH 2/2] mem: Use pagemap cache

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 11 11:08:44 PST 2014


To test pagemap cache I run a small program which creates 1024 close
laying VMAs. Results are:

before
------

dump: {
	freezing_time: 274
	frozen_time: 41629
	memdump_time: 4659
	memwrite_time: 394
	pages_scanned: 13487
	pages_skipped_parent: 0
	pages_written: 63
	irmap_resolve: 0
}

after
-----

dump: {
	freezing_time: 202
	frozen_time: 32847
	memdump_time: 1366
	memwrite_time: 386
	pages_scanned: 13487
	pages_skipped_parent: 0
	pages_written: 63
	irmap_resolve: 0
}

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 mem.c | 66 ++++++++++++++++++++++++++++++------------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mem-Use-pagemap-cache.patch
Type: text/x-patch
Size: 4174 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140211/1b490572/attachment-0001.bin>


More information about the CRIU mailing list