Re:Apple’s big test of data integrity
by w-m on Tuesday May 30, 2023 @06:41PM
(#36132087)
Don’t these machines have read speeds of like 5000 MB/s? So just read the 9 GB blockwise and apply a super simple hash. Should be done in two seconds.
[ Parent
| on HN ]
If I include the fs overhead, I can shasum a single 23GB file (likely not fragmented) in 46s.
That's uncached, so it's not that quick at boot. 9GB would take ~19s then. Block would go faster, but not an order of magnitude faster.
Single threaded or in parallel?
It's a Merkle tree, apparently, so parallelizing the checksum should be trivial.