Difference between revisions of "Statistics"

From CRIU
Jump to navigation Jump to search
(Created page with "CRIU generates a set of <code>stats-<type></code> files that contain statistics about how dump/restore went. == Dump/Pre-dump stats == These are in <code>stats-dump</code> f...")
 
(Add info how to read stats file)
Line 1: Line 1:
CRIU generates a set of <code>stats-<type></code> files that contain statistics about how dump/restore went.
+
CRIU generates a set of <code>stats-<type></code> files that contain statistics about how dump/restore went. These files are in google-protocol-buffers format, just like the [[images]] are, and can be viewed using the <code>criu show -f [FILE]</code> command.
  
 
== Dump/Pre-dump stats ==
 
== Dump/Pre-dump stats ==

Revision as of 11:59, 15 May 2013

CRIU generates a set of stats-<type> files that contain statistics about how dump/restore went. These files are in google-protocol-buffers format, just like the images are, and can be viewed using the criu show -f [FILE] command.

Dump/Pre-dump stats

These are in stats-dump file. Fields are:

freezing_time
Time it took criu to freeze the process tree
frozen_time
Time tasks were in frozen state
memdump_time
Time criu spent grabbing required pages out of processes. This time does not include the next time
memwrite_time
Time criu spend transferring memory pages into image files (locally or on page-server)

All the above times are in microseconds.

pages_scanned
The number of pages criu looked at to decide whether or not to dump them
pages_skipped_parent
The number of pages criu skipped due to they were found in parent images (read about memory changes tracking)
pages_written
The total number of pages criu put into image files