Changes

Jump to navigation Jump to search
1,149 bytes added ,  13:31, 25 August 2020
The article has been updated to include the performance impact of the changes made as part of GSoC 2020.
Line 41: Line 41:     
To explicitly use only the file size check all the time, the following command-line option can be used: <code>--file-validation filesize</code> (This is the fastest and least intensive check).
 
To explicitly use only the file size check all the time, the following command-line option can be used: <code>--file-validation filesize</code> (This is the fastest and least intensive check).
 +
 +
== Performance impact ==
 +
The values shown below are the average times it took to finish the ZDTM tests over multiple runs, and are only to indicate the impact each method has in general.
 +
 +
Each test has 3 files (Of sizes: 0.09 MB, 2 MB and 0.17 MB approximately) and each test is run 3 times (In Host, Namespace and User Namespace). For each file the checksum/build-ID is obtained twice (During dump and restore) therefore the function to find checksum/build-ID is called 18 times overall per test.
 +
 +
For reference, these tests were run on tmpfs (To remove any disk latency) and on an undervolted i5 4800H.
 +
 +
{| class="wikitable"
 +
|+zdtm/transition/shmem:
 +
|-
 +
|File Size
 +
|3.782s
 +
|-
 +
|Build-ID
 +
|4.153s (~9% increase)
 +
|-
 +
|Checksum (First 1024 bytes)
 +
|4.465s (~18% increase)
 +
|-
 +
|Checksum (Entire File)
 +
|4.722s (~24% increase)
 +
|-
 +
|Checksum (Every 1024th byte)
 +
|4.498s (~19% increase)
 +
|}
 +
 +
{| class="wikitable"
 +
|+zdtm/static/maps04:
 +
|-
 +
|File Size
 +
|35.317s
 +
|-
 +
|Build-ID
 +
|35.720s (~1% increase)
 +
|-
 +
|Checksum (First 1024 bytes)
 +
|35.919s (~2% increase)
 +
|-
 +
|Checksum (Entire File)
 +
|36.679s (~4% increase)
 +
|-
 +
|Checksum (Every 1024th byte)
 +
|36.476s (~3% increase)
 +
|}
    
== Scope for improvement and future work ==
 
== Scope for improvement and future work ==

Navigation menu