2 ms·
That makes sense for first boot. But does it really have to do some variant of that every time the system boots up?
by josephg 4y ago
That makes sense for first boot. But does it really have to do some variant of that every time the system boots up?
- jalbertoni 4y agoHow would it know if you haven't changed your RAM? Consider that using the same settings with different parts might lead to subtle instability, not a full on-boot crash.
- mnd999 4y agoSurely it can know that. Don’t ram chips identify with vendor / serial number etc?
- sgtnoodle 4y agoSerial numbers that are supposed to be unique aren't necessarily unique. I would guess that the BIOS talk to an EEPROM on the RAM modules rather than to the memory chips themselves. It would be very easy for a manufacturer to flash identical contents to every EEPROM in a batch, or with a sequentially increasing serial, rather than bother with a database.
- zaarn 4y agoWhat if you reinsert the same RAM stick into the same slot? Minute differences in insertion force and direction can lead to the frequency response of the RAM stick changing. Data paths might now be a micrometer long and require the BIOS to retrain the communication controller to compensate for that. DDR5 tops out somewhere around 8 Gigahertz clock speed, which means the data signals travel 3 centimeters before the next clock signal arrives. At those time scales it means you're going to have to align those data signals down to the micrometer if you want them to be properly received.
- mnd999 4y agoThat sounds awfully fragile to me. Any kind of bump to the case could cause problems?
- zaarn 4y agoIt could. Probably not for most minor bumps but reinsertion in the slot is more likely to cause issues than small bumps once insertion forces are being applied constantly. Hence the BIOS has to check.
- zerocrates 4y agoI don't have one of these systems, but my laptop does a quite slow training process on cleared CMOS or new memory, and it definitely doesn't do it every time. I would imagine they only rerun this kind of thing if the SPD doesn't match the one from the stored training, or something along those lines.
- sgtnoodle 4y agoWhy wouldn't it run a subset of tests on each boot? It seems like it would be silly not to. That's probably one of the mechanisms by which the bios will automatically revert to "safe" settings after a botched overclock. You could do an experiment. Remove some of the RAM modules and see if the 20 second boot time decreases.
- zaarn 4y agoOn some level, the BIOS has to determine if new chips have appeared on the bus. But also check that conditions haven't changed. If you took out a RAM stick and inserted it into the same slot, the conditions (due to dust, moisture, difference in seating) could be enough to throw off the reliability of the training data. So at minimum it has to verify the settings to be correct.