upvote
Surely that could run in parallel with initializing everything else, with the amount of CPU cache modern CPUs have?

Also the soldered ram couldn't have changed from last boot, so reuse the last training? That's exactly what I mean.

reply
The memory training happens before UEFI is initialized proper, though it provides a minimal framework for handling such parts - it's mainly so that every bit of very early code can properly pass information later on.

As for reusing the training, that's what normally happens, but there are various things that can trigger retraining beyond swapping anything in memory modules, and it's perfectly possible the vendor somehow managed to write an add-on that triggers that on every boot (just like intel managed to wreck NVRAM on every netboot, for example)

reply
The training reuse is already happening on machines with regular user-replaceable DIMM modules. It's why there is such a scary long wait on the first boot of a newly-assembled system, but not subsequent ones.

So even if it can change, starting out with a simple "Are the same modules still installed?" check saves a lot of time.

reply