Files
6gbvram---16gb-ram/crates
readmet3xt-labandClaude Opus 5.5 769fe52887 VICTORY_SYNC_IN_PLACE=1: the heaps' records read where they are and compared as read
Ported from Belobug/VIctory-Belobug-AMD 15ab94e (and the test's type from
8822ed4; that commit's turning it on by default is not taken).

The round of the heaps' records (descriptor::sync_heaps) read each changed
page through the kernel into a copy, then compared the copy with the
records last seen: two passes over every page. With the switch each
record of 32 bytes is read in place once by the fault-safe copy code
(safecopy::changed, AVX2), compared with the one last seen, and put over
it where it differs; a page the title unmaps meanwhile fails the read as
the kernel's read failed, the records before it taken as read. Measured
there: copy 7.4 and compare 5.3 ms a frame of six threads for 35 MB. Here
the round's reading and comparing was 2.6-3.1 ms a frame (release run
233354), and the submitting thread waits 2.7-5.8 ms a frame for rounds.

Changes nothing of what is mirrored (the same records found changed);
reads title memory in place instead of through the kernel. Off by
default. With it on, the frame line "the heaps' records read where they
are" counts pages and those not all there; the heaps' records line's
"reading and comparing" and "ms waited for" show the gain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 01:11:02 +05:30
..