Bootchart2 - Gentoo wiki oh boy it’s an entire process. Fortunately once this setup runs, it runs faster than the previous one.
Yup, you then run as init process instead of what you run normally for the measured boot. Its should give some data, at least for reference sake only.
If your boot device (e.g. SATA controller) driver is compiled as a module, you very much need the initrd.
Alright. For clarity, this is on my workstation, the one with AM5, downclocks, downvolts and unhinged overclocking disabled. The result is slightly bigger and longer because I typed my LUKS password incorrectly on first try.
Unfortunately no. I tested the whole setup barebones before putting it in the chassis. By barebones I mean that the only things connected were the CPU, RAM and PSU. The POST is unaffected by the addition of other devices and it makes sense especially if you read any (because there are multiple) documentation on POST processes - they’re supposed to make sure that the CPU and RAM are healthy so that they reliably continue to execute the rest of the BIOS. That rest, is then responsible for more advanced checks, like count how much RAM you have, list ATA devices, allocate IRQs, and finally execute the drive designated for boot.
Could you upload original unresized output? Details are unreadable on my end.
Systemd-analyze still has somegood thing to implement, those io+mem+cputime corelation chart were good damn idea.
What i can read from it, neither cpu or io are bottlenecks here.
It seems to me it is still training memory on each boot, so MCR is not working properly. On my system it only retrains memory if I kill power to the system (physically unplug/use switch on PSU), update BIOS or change memory-related settings in BIOS. The linux boot sequence has nothing to do with memory training, that is a lower level thing done by the CPU memory controller before even the UEFI loads.
Does your board have any LEDs/display codes? What does it show? E.g. on my Asus board the orange light indicates RAM. It will be on for a while when training (but only like 10 sec since I have 96GB ram in 2 sticks – which is much easier on the memory controller).
You have not been scammed. EXPO/XMP speeds only apply when using ONE kit. There are no 6000MTs 128GB kits available. Manufacturers are pretty clear on EXPO/XMP only applying to a single kit, not when combining kits. I’m also confused why you want 6000MTs RAM but are downclocking the CPU by 1GHz. For most applications you give up more performance by downclocking the CPU vs. the RAM.
BTW, what speeds is your memory actually running at? You say you have EXPO disabled, but are memory speeds at AUTO? As well as all voltages? Which speeds is the motherboard defaulting to?
Which is stated absolutely nowhere where the customers can see before making a purchase ![]()
I bought my memories here, and I’ve proof-read it right now: https://www.proshop.pl/RAM/GSkill-Trident-Z5-Neo-DDR5-6000-32GB-CL30-Dual-Channel-2-sztuk-AMD-EXPO-Czarny/3110538
UOKiK is going to have a field day with this one. Not including this info in a place where customers can see it before making a purchase constitutes a violation of Poland’s law, Criminal Codex article 286 paragraph 1. Usually companies don’t go to jail over this, but UOKiK can make this offence cost the bottomline at least 10 000 PLN per offence.
Very much the same. It needs to retrain only if it overheats or I change BIOS settings. And I mean it very literally, because it did retrain my memory just because I enabled SATA hotplug which is completely unrelated to RAM.
By now I have written this a million times so next time someone asks I’m going to ignore. It’s a MSI X670E Tomahawk. The debug LEDs are useless. When retraining is happening, they indicate a CPU and RAM fault, which made me waste 6-8 hours refitting the CPU and RAM over and over again like a moron. It’s only because I needed to take a shit that I found out it’s working - I turned on the damn thing after yet another refit, I felt a rumble in my tummy and rushed to the toilet. When I was back, the system was up and asking if it should go with default settings or should I go into BIOS.
How do I do that? I uploaded the original file to this forum. You mean we have to put it on a 3rd-party host?
In any case GSkill themselves are pretty clear on it:
They do state “Maximum memory speed and system stability depends on the capability of the motherboard & CPU.” If you just run each of the kits separately they could run 6000MT so in that sense they’re correct…
As are AMD on only supporting 3600 (5200 with 2 dimms).
Reviewers (mostly gaming-related) acting like 6000 MT is the ‘default’ are talking out of their ass and have confused a lot of people IMO. If you’re not willing to at least stability test after enabling EXPO and perhaps do some manual tweaking, I would not recommend friends/family to run at 6000 MT.
Overheats?? Does it crash? Perhaps your undervolt/underclock is unstable. I would highly recommend running stock until you’re sure the system is stable BEFORE undervolting. And then test for stability again…
You also still did not say what your memory settings are in bios (except disabling EXPO, which is disabled by default any way).
How are you exactly undervolting? If you are undervolting VSOC that could affect memory training and stability.
What happens if you run everything COMPLETELY stock? If the “OC” bothers you, just enable the eco mode in bios, but keep everything else stock/auto. There is no sense debugging your boot times when possibly your undervolt is not stable.
I’m terribly sorry for the surprise and confusion I’ve caused to you. It is what I can see from your reaction. You see, I wanted to update mine and my wife’s computers to twin AM5 setups. Knowing that Ryzen 7900 has a TDP of 65W I believed our trusty and reliably NoFan CR-80EHs will suffice. However the upgrade from 100% fanless AM4 to 100% fanless AM5 has been a very bumpy road to say the least. From my experience, which I’ve reported on in detail in another thread, I’ve established a completely stable, reliable, passively cooled Ryzen 7900 if these conditions are met:
- the cooler is a Noctua NH-P1
- the CPU clock is down by 1GHz
- the voltage is down by 0.16V
- all the silly things that chaotically overclock and downclock the CPU without any regard for CPUfreq governor settings in the kernel, or what the reported temperatures are, speaking mostly of Performance Boost and Core Boost, are turned off
There’s a historic reason why I insist on fully passive cooling from the ground up and I do not intend on giving this up. I hope this explains. Fast RAM is still much appreciated because the kinds of workloads I do (ab)use the RAMdisk a lot - it’s either RAMdisk or SSD, and SSDs are not that durable.
OK, that partially explains it… But does the system actually crash? The CPU should throttle and not crash. Possibly some other components (motherboard/ram/…) are overheating still with zero airflow.
I would still ask, which voltages exactly did you adjust? And how did you do the downclock? What are your memory settings exactly?
- VSOC is the memory controller’s voltage and it can for sure affect memory training.
- Did you put in a static downclock or limits to the clocks?
- If the memory speed is at auto, what does the bios select? 3600/4800?
I have to admit I’m still puzzled. You should probably focus on getting your system stable first and then worry about post times. Odds are post times are fixed ‘automatically’ by getting the system stable. When I was tuning my memory longer post/training times were already a sign my system was not stable.
The voltage I’ve adjusted is of course the VCORE. Easily the most obvious and reliable way to downclock a CPU. As to how, I’m surprised myself because back in the day we used to have all fields in the BIOS respond to the user press Enter. On MSI Tomahawk X670E, not all fields do that. Some respond only to + or -, and these are usually the ones that have to do with overclocking. The memory settings are stock.
- Didn’t touch VSOC, idk what that is
- Static CPU downclock
- 3600 because it’s a quartet of 32GB units, nevermind they are capable of running at 6000MT CL30
It is stable now: Passive Ryzen 7900: test and testimonial
At the moment I’m wondering how can I change all the “[Auto]” to something that “[Auto]” gets resolved into by the BIOS, so that I can ultimately get rid of the entire retraining process. But bearing that in mind, I don’t think I’ll buy DDR5 any time soon.
I tried this setup with Gentoo and Fedora and I would expect that Fedora would throttle, but it doesn’t. There are very trivial ways to overheat the CPU:
- Animated stickers can overheat the CPU · Issue #27837 · telegramdesktop/tdesktop · GitHub
- emerge something heavier than LibreOffice, like Telegram Desktop
The reason why I thought Fedora had a better chance is because I may have misconfigured my kernel on Gentoo because for the longest time I’ve been on the k10temp driver, which believes everything made after FX-8350 has a temperature threshold of 200C according to that driver, which obviously halfway through will shutdown because that’s where the real threshold is.
@greatnull uploaded it here https://sucs.org/~grepwood/pix/bootchart.png
Thanks, original was resized/downsampled way to much for labels to readable.
I am bit at loss what the hell happening during your boot time, I haven’t seen it this bad since spinning rust AND timing out network manager.
But I also haven’t ever used luks and openrc, went straight from sysvinit to systemd. Ditto on that.
I am guessing there are parts of login process that require explicit user input of secrets, hence resulting stalls at:
- 7s-45s (luks password input?, system reports nothing)
- 49-64s
Bootchart does not perform critical chain analysis, so its hard to say what is the cause of other stalls.
I would expect system of you calibre to be resting at desktop login screen <15s max barring network hiccups if netfs is in play.
Maybe try deploying systemd for comparison? I faintly remember that while openrc was much better at parallelizing system start than sysvinit, it was still way behind systemd.
EDIT: Verify following config values:
/etc/rc.conf
rc_parallel="YES" ← no service parallelization without that set
Without it set, difference is stark
Also in this dicussion are some basic reference tips for optimizing you boot time. Kernel compression, shell choice, static optimized kernel build etc…
And finally for systemd amazing things are possible with lightweight setup, not that dissimilar to yours ( i.e 1-2s post uefi boot time).
https://freedesktop.org/wiki/Software/systemd/Optimizations/
Link contains explicit optimization steps, if you at loss what to try, its pretty exhaustive.
This is possible:
http://git.fenrus.org/tmp/bootchart-20120512-1036.svg
If that’s the case I don’t think there’s anything you or we can do to fix it really. There must be an issue with your motherboard or CPU that causes POST to take that long.
Before applying these settings, when you first put it together, did it take 10 to 20 minutes to get into the BIOS? Are you able to hook up a speaker to the motherboard to get some codes as the system boots? I noticed that AMD, in general, might have troubles POSTing when voltage and clocks are too low.
