by nubinetwork · 2w ago · 0 comments
(Honestly, it spends more time in uefi preboot than it does to actually boot the system.)
DDR5 training is a huge (UX) issues wrt. boot times (mainly on desktop systems).
sure only "once" if your system is correctly setup, but I have seen too many cases of buggy motherboards not properly handling this
and the biggest issue is the transparency, i.e. you don't see that it does DDR5 "training"/"parameter self adaption". It looks like it's "just stuck" in early EFI.
Nope, training just took minutes, with nothing but a black screen.
Also the soldered ram couldn't have changed from last boot, so reuse the last training? That's exactly what I mean.
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)
So even if it can change, starting out with a simple "Are the same modules still installed?" check saves a lot of time.
except this should only happen _once_ (until you remove/replace components, reset the BIOS etc.). Which is why it normally doesn't happen for laptops, it was run once in the factory and DDR being soldered one mean they can just "fixed" disable the retraining avoiding bugs in the "retraining needed" detection
but yes, there are pretty bad motherboards out there, like the one I have turned out to be a complete shit show with multiple sever design issues I unluckily "lucked out of not running into" in the first 2 years of usage making a return unlikely and a replacement is useless as this is are fundamental issue affecting all models AFIK.
> it took them 12 seconds from initrd to fully loaded
Looks like they intentionally slow it down. Look at service names > my laptop boots so fast, those 12 seconds are like two seconds
From cold boot or warm? Fwiw my desktop warm boots fast enough that I don't see anything. Cold boots in about 5s and I guarantee I have more devices to mount than your laptop does.If you want fast boots with systemd you usually have to do a little tuning (nothing serious unless you want to go sub 2s cold boot). Some things could probably be automated but it is understandable why they are not. For example, do you wait for a disk to mount, how many retries, how long before timeout, or do you lazy load? In a laptop it's easier to make a decision. But if you don't know if the machine is a laptop, a desktop, or a server, then what is the best default choice? I'd agree that the safe choice is best
Though if it suddenly starts taking a lot longer, perhaps this sort of display could help in finding a clue as to why?