Documentation
¶
Overview ¶
Command shared-snapshot measures what N servers of the same published generation cost together, and what they would cost without the file.
The comparison is the whole point. A harness that measured only the mapped arm would report a resident size per process and prove nothing: a process counts every mapped page it touched as resident, so three servers reading one generation each report all of it, and the number goes up while the machine gets cheaper. Both arms therefore run the same binary over the same generation, and the only difference is whether the snapshot file is there.
The arm without it is not an older build. Hiding the file makes every server derive the graph from the canonical store, which is exactly what a server did before ADR 0045, and it isolates the one variable.