You press the power button, the fans spin up, the screen stays black, and twenty, thirty or forty seconds pass before the motherboard logo appears. It is not the disk, nor Windows, nor the antivirus: on many modern machines that silence is the firmware negotiating with the memory modules. The process is called memory training, and it consists of measuring and adjusting thousands of electrical parameters before the CPU dares to read the first byte of the operating system.
DDR5 is not just “faster DDR4”
The previous generation talked to the processor over a single 64-bit-wide bus, with one clock signal and one channel per module. DDR5 splits each DIMM into two independent 32-bit subchannels. The access is still 64 bytes, but it is completed with two 32-byte bursts (burst length 16, twice as long as before). The practical consequence is that two cores can request data at the same time without fighting over the same bus, and that small accesses do not waste half a cache line.
The change is not only logical. On DDR4 the motherboard generated the memory voltages; on DDR5 each module carries its own PMIC (power management integrated circuit) that takes 5 volts and produces the 1.1 V core rail, the input/output voltage and the 1.8 V auxiliary rail on the board itself. And the old SPD chip, which stored the module’s specification table over a slow I²C bus, becomes a hub with an I3C bus, a temperature sensor and addressable registers. More intelligence inside the module, but also more things to calibrate.
The margin narrows: from 0.3 to 0.15 nanoseconds
At 4,800 MT/s each bit lasts about 0.2 nanoseconds; at 6,400 MT/s it drops to 0.156. Within that interval the receiver has to tell a one from a zero by looking at a signal that has crossed traces, connectors and solder joints. That margin is visualised with the eye diagram: if you overlay millions of transitions, the central opening closes up with noise, jitter and inter-symbol interference (ISI), which is the tail of the previous bit invading the next one.
Add the fly-by topology: the clock runs along the board through one module after another, so the signal reaches each chip with a different delay, measurable in picoseconds but enough to misalign the sampling window. There is no universal configuration that works: you have to find the one for this module, in this slot, on this board.
What exactly gets trained
- Write leveling: the firmware delays the write DQS strobe until it lines up with the clock for each memory rank, compensating for the fly-by skew.
- Read gate: decides when to open the receiver to capture the data coming back from the module, which arrives with a different delay.
- Read and write centring: the delay and the reference voltage (Vref) are swept until the sampling point sits in the middle of the eye. DDR5 does this bit by bit, with a digital-to-analogue converter per pin.
- Command and address training (CA): the same process for the control signals, with per-bit skew correction.
- DFE equalisation: the module’s receiver includes a four-tap decision feedback equaliser that subtracts the tail of the previous symbol.
- Impedances and slew rate: termination (ODT) and the slope of each output are adjusted so the signal does not bounce at the connector.
All of this is run by the MRC (memory reference code), a block of code inside the UEFI. For each parameter it writes a known pattern (0x55, 0xAA, pseudo-random sequences), reads it back and compares; it repeats with a binary search until it finds the centre of the margin. That is tens of thousands of combinations per module, hence the seconds of black screen.
Why the second boot is fast
The result is stored as trained variables in non-volatile memory and reused. AMD calls it Memory Context Restore; Intel, Memory Fast Boot. But the state lives in two places: the firmware and the registers of the memory chips themselves, which are lost when power is cut. That is why a warm reboot is quick and a cold boot, with the PSU unplugged, takes longer again: the modules have forgotten their configuration. Changing a DIMM, updating the BIOS or clearing CMOS invalidates the cache and forces the whole process to start over.
When something does not add up
If training does not converge, the firmware usually retries, drops to the JEDEC safety speed (4,800 MT/s) or halts with the DRAM LED lit and a diagnostic code. XMP and EXPO overclocking profiles push timings and voltages beyond what is guaranteed: the machine boots, but the margin can end up so tight that errors show up hours later, not in the first test. DDR5 includes on-die ECC that corrects single-bit errors inside each chip, but it does not replace bus parity or turn an unstable module into a reliable one.
What to do about those forty seconds
If the machine is stable, enabling fast memory boot is reasonable and cuts the wait by half or more. If boot times keep growing, the process repeats often or random hangs appear, test the modules one at a time in the primary slot and run a full night of MemTest86 instead of ten minutes of use. And if you have just built the PC, be patient with the first boot: that wait is, literally, the system checking that it can read and write without making a mistake.






